I was wondering about the stability of hyperthreading on 2.6. Is this considered a very stable feature at this point? Redhat seems to claim their backported 2.6 code in their Enteprise server still has advantages over what resides in the 2.6 kernel today and just wondering if there is any validity to that.
thanks
kernelman99
Works fine with a 2.4c@3.2 on
Works fine with a 2.4c@3.2 on an Abit IS7 over here.
Hyperthread scheduler
Enabling SMP gets you most of the hyperthread benefits anyway, but you can improve things further with a hyperthread-aware scheduler. Only the recent -mm kernels treat hyperthread cpus specially.
hyperthread scheduler
Is this hyperthread scheduler slated to be put into the stable kernel at any time or only in the -mm branch?
Anyone know of any benchmarks of the -mm kernel on a hyperthreaded machine versus a 2.6.4 kernel with SMP enabled just to see if there is truly a worthwhile advantage?
thanks
kernelman99
Benchmarks
This scheduler will almost certainly be put into mainline. There are plenty of benchmarks on the linux kernel mailing list. Basically the benefit gets larger the more HT cpus you are running. However if you are running on a home desktop single HT processor and run things at different "nice" levels you will derive great benefit from this because it includes my SMT nice optimisation (see this website for details).
.config options
Do you need to set MPENTIUM4=y in order to see these added benefits on a HT system?
SCHED_SMT
To get the added benefits you need to enable the
[*] Symmetric multi-processing support
[*] SMT (Hyperthreading) scheduler support (NEW)
Setting mpentium4=y gives other minor benefits too, separate from these. I don't think they've been extensively measured but some preliminary measurements show this definitely helps too.
SMT ?
hmm. i dont seem to see [*] SMT (Hyperthreading) anywhere in the 2.6.4 config file. Is it under Processer Type And Features ?
Extra patches
No, as I said earlier to get this extra support you need to be using a non mainline kernel as this isn't merged into mainline yet. -mm, -ck and -wolk have it.
It is in 2.6.6-bk1 at least,
It is in 2.6.6-bk1 at least, 'cause I just did make oldconfig and was asked about this one...
2.6.6 kernel scheduler
does it imply the same answer of my question about HT aware scheduler @
http://kerneltrap.org/node/view/3504
Activating HT
Enable "Symmetric multi-processing support (SMP)" and you will see it...