Portable Linux Processor Affinity 1.0.2 review

Download
by rbytes.net on

The Portable Linux Processor Affinity (PLPA) library does the following, regardless of your Linux distribution, kernel version, and G

License: BSD License
File size: 314K
Developer: Jeff Squyres
0 stars award from rbytes.net

The Portable Linux Processor Affinity (PLPA) library does the following, regardless of your Linux distribution, kernel version, and GLibc version:

- Provide consistent behavior
- Provide binary compatibility of processor affinity
- Provide a common API and set of abstractions

PLPA is an attempt to solve the problem that there are 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, of course).

Portable Linux Processor Affinity library was developed by the Open MPI team as a standalone project that can be used by the Linux community. Specifically: it is distributed independently of Open MPI and does not require any part of Open MPI for its compile-, link-, or run-time functionality.

What's New in This Release:
The return status of plpa_sched_[set|get]affinity() is now ensured to be zero upon success.

Portable Linux Processor Affinity 1.0.2 keywords