Commit 6a05e39f authored by Hrvoje Ribicic's avatar Hrvoje Ribicic

Modify the pinning design doc

... to document the reason for the affinity-psutil change.
Signed-off-by: default avatarHrvoje Ribicic <>
Reviewed-by: default avatarKlaus Aehlig <>
parent 319f71e3
......@@ -202,10 +202,13 @@ details.
For example, to run a specific thread-id on CPUs 1 or 3 the mask is
We will control process and thread affinity using the python affinity
package ( This package is a Python
wrapper around the two affinity system calls, and has no other
As of 2.12, the psutil python package
( will be used to control process
and thread affinity. The affinity python package
( was used before, but it was not
invoking the two underlying system calls appropriately, using a cast
instead of the CPU_SET macro, causing failures for masks referencing
more than 63 CPUs.
Alternative Design Options
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment