Using hyperthreading on 2 Proc Xeon cluster nodes

Patrick Geoffray patrick at
Fri Jun 7 16:57:21 EDT 2002

Hi Craig,

Craig Tierney wrote:
> Has anyone seen this behavior?  Is anyone running a cluster

Yes, exactely. Nothing is done in the Linux scheduler to care about 
allocating the 2 heavy processes on 2 virtual processors mapped on 2 
real processors. So it may be possible that 2 HPL processes run 
effectively on the same CPU.

Worse, the scheduler assume that there is 4 independant CPUs,
so processes may be reassigned to different virtual processors
at each quantum, depending of the context. In short, processes
can be balanced over the 2 real CPUs at one time, and then they
can share one, and so on.

HyperThreading is worth only when there is much more threads/processes 
than processors, blocking often on IO for example (webserver, etc.)

BTW, the 2 virtual processors share the same FPU, so not interesting for 


|   Patrick Geoffray, Ph.D.      patrick at
|   Myricom, Inc.      
|   Cell:  865-389-8852          685 Emory Valley Rd (B)
|   Phone: 865-425-0978          Oak Ridge, TN 37830

Beowulf mailing list, Beowulf at
To change your subscription (digest mode or unsubscribe) visit

More information about the Beowulf mailing list