News for hackers. Stuff that matters.
Re:The ~200 Line Linux Kernel Patch That Does Wonders by Jach on Tuesday November 16, 2010 @09:38PM (#1912672)
Gentoo recommends -jN+1 where N is the number of physical and virtual cores.
Re:The ~200 Line Linux Kernel Patch That Does Wonders by c00ki3s on Wednesday November 17, 2010 @05:10AM (#1913703)
Say I have a quadcore with hyperthreading, does this mean 4 + 8 + 1? Or is it either the physical or the logical cores (whichever is higher)?
Re:The ~200 Line Linux Kernel Patch That Does Wonders by ars on Wednesday November 17, 2010 @05:38AM (#1913762)
How do you get 4 + 8? But anyway, it's logical cores, not physical ones.

The kernel can multi-task processes, but each process still gets exclusive use of the CPU when it runs. So if it doesn't need an adder, that adder sits idle.

With hyperthreading you can run two processes at once and the CPU merges them at the instruction level making maximum use of the components on the CPU.