[torquedev] SGI libcpusets published (was Fwd: [Beowulf] Can one Infiniband net support MPI and a parallel filesystem?)

Chris Samuel csamuel at vpac.org
Thu Aug 14 02:10:35 MDT 2008

It looks like SGI has managed to get the libcpusets
and libbitmasks published which (I believe) support
the 2.6 kernel cpusets.

----- Forwarded Message -----
From: "Paul Jackson" <pj at sgi.com>
To: "Chris Samuel" <csamuel at vpac.org>
Cc: beowulf at beowulf.org
Sent: Thursday, 14 August, 2008 5:00:45 PM (GMT+1000) Auto-Detected
Subject: Re: [Beowulf] Can one Infiniband net support MPI and a parallel filesystem?

Chris wrote:
> creates a job cpuset which includes the specific cpus
> (vnodes) that have been allocated by the scheduler, and
> all the mems present (it currently makes no attempt to be
> clever about that).

I have recently open sourced a major user level C library, called
libcpusets, which includes routines to map cpus to their corresponding
memory nodes.  See further the "User library support for cpusets"
section, at the bottom of:


Right now, just RPM forms of libcpuset (and the related libbitmask
on which it depends) are on the above website.  As soon as I can
poke my webmaster, there should also be tarballs, as well as the key
documents directly web accessible.

See the libcpuset routine cpuset_localmems().  It maps a set of CPUs
to the set of matching Memory Nodes.

                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj at sgi.com> 1.940.382.4214

Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency

More information about the torquedev mailing list