Re: Using Cpusets with HyperThreads

From: Zoltan Menyhart <>
Date: 2005-09-27 23:46:40
> do we need to accommodate a more generic specification? e.g how about
> a system with K sockets per node, L cores per socket and M threads per
> core?  And if that's not complicated enough, how about a really large
> system where K, L and/or M are not necessarily constant?

I think it is a good idea to be able to handle the general case.

The appropriate shift and mask values could be dynamically established
at the boot time.
This could allow us to maintain a single kernel for machines with
different (generations of) processors.

Obviously, having more choice than just between the A and B sides,
we need some more rich set of options for the CPUsets, like:

- I need N out of M cores of the sockets x...y
  + I want to prevent the other applications from using the rest of
    the cores
- I need the max. number of CPUs which are not farer from each
  other than X
  + Use as many cores, as the HW can provide with Y memory bandwidth
    for each 

I think we should add the "locality information" into




For compatibility reason we can keep the entries like:



Zoltan Menyhart
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Sep 27 23:47:53 2005

This archive was generated by hypermail 2.1.8 : 2005-09-27 23:48:20 EST