Portable Linux Processor Affinity 1.1 (Default branch) |
|
|
PLPA is an attempt to solve the problem of
multiple API's for processor affinity within
Linux. Specifically, the functions
sched_setaffinity() and sched_getaffinity() have
numbers and types of parameters depending on your
Linux vendor and/or version of GLibc. This is
quite problematic for applications attempting to
use processor affinity in Linux for compile-time,
link-time, and run-time reasons. The PLPA provides
a single processor affinity API that developers
can write to in order to get both consistent
behavior and binary compatibility across different
Linux installations (assuming that you have an
executable that is otherwise binary Linux portable).
License: BSD License (revised)
Changes:
The ability to understand (socket,core) tuples for
specific process placement was added, as opposed
to just specifying Linux virtual processor IDs.
The plpa-taskset executable was also added, which
understands the same command line syntax as the
"taskset" command, but also understands
(core@socket) nomenclature.
|