Hyperthreading slowdown

Kris Kennaway kris at obsecurity.org
Sat Oct 4 12:03:01 PDT 2003


On Sat, Oct 04, 2003 at 04:39:03PM +0200, Mikulas Patocka wrote:
> Hi
> 
> I installed FreeBSD 4.9RC1 on P4 3GHz with hyperthreading and I see
> drastic slowdown when kernel with hyperthreading is booted. For example
> program compilation took this time:
> 
> hyperthreading kernel,  make -j 1 --- 1:09
> hyperthreading kernel,  make -j 2 --- 0:42
> singlethreading kernel, make -j 1 --- 0:45
> singlethreading kernel, make -j 2 --- 0:41
> 
> Compilation does very few system calls so when I compile with only one
> process (-j 1), it should be as fast as with singlethreading kernel. Do
> you have any idea why is it so slow?

Do you realise that hyperthreading != a secret extra CPU in your system?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20031004/f3752648/attachment.bin


More information about the freebsd-hackers mailing list