> In message <[EMAIL PROTECTED]>, Kris Kennaway writes: > >Yes, that's because (as discussed in the archives) the kernel treats > >it like an extra, completely decoupled physical CPU and schedules > >processes on it without further consideration. This is presumably the > >cause of the slowdown, because it's only efficient to use the virtual > >CPU under certain workload patterns. HTT is not magic performance > >beans. > > Try also setting the sysctl variable "machdep.cpu_idle_hlt" to 1, as > it doesn't help to have the idle logical CPUs spinning.
I did and it solved the problem (-j1 is as fast on hyperthreading kernel as on singlethreading kernel). It should be default setting on hyperthreading system (or at least there should be comment around option HTT that people must set it), because otherwise performance is really terrible --- the idle thread is spinning, taking half of the CPU. Mikulas _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"