[Bug 470424] Review Request: libtopology - Libtopology is a library for discovering the hardware topology on Linux systems

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 11 23:55:35 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=470424





--- Comment #6 from Tony Breeds <tony at bakeyournoodle.com>  2008-11-11 18:55:35 EDT ---
(In reply to comment #5)
> How does this compare to libbitmask and libcpuset from
> http://oss.sgi.com/projects/cpusets/?

I could be wrong but my reading of the code for libcpuset indicates it's
primarily about creating (nestable) groups of CPUS for dealing with process
affinity.  It considers threads lightly, and mostly to work around a in kernel
bug to do with
set allocation.

Libtopology's focus is discovery of CPU topology.  It will export information
about socket/package, core and thread configuration, along with (numa) memory
placement.  libtopology is "destined" to be used by tools such as taskset and
numactl for "optimum" placement of CPU resources.  for example "run 4 copies of
$this on the "best" only on primary threads".  To the best of my knowledge this
isn't available in any other similar library.

Certainly there is overlap with PLPA and cpuset but it is not complete and the
libraries can be used to complement each other.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list