Bugzilla – Bug 171
discontinuous cpulist unsupported by numa_node
Last modified: 2011-12-29 02:04:54 MST
You need to
before you can comment on or make changes to this bug.
Now TORQUE uses struct numa_node.cpu_offset and numa_node.num_cpus to describe
cpuIDs, which precondition the cpu list is continuous, the same as mems.
However, according to cpuset interface, cpu list like cpus=1,5-6,7-9,13 is
valid. At lease the layout topology of my server reads
So I make a patch which uses numa_node.cpu_list and numa_node.mem_list to
describe discontinuous cpulist and memlist.
The best struct to describe cpulist is bitmap instead of int array, which can
avoid duplicate cpuIDs.
Created an attachment (id=100) [details]
patch to fix discontinuous cpulist