You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have pu-step and pu-offset to control the placement of threads onto cores.
This is very flexible and can be used in most cases.
However once the complexity of the hardware topology increases these options are cumbersome to use. Instead a command line with easy descriptive names should be used.
Examples for already existing solutions are hwloc-bind and likwid-pin
The text was updated successfully, but these errors were encountered:
These command line options should allow specifying what processing units should threads should be bound to. Generally threads can be bound based on socket, numanode, core, or pu (processing unit). The format to specify processing units for a thread should be:
mappings:
mapping(;mapping)*
mapping:
thread-spec=pu-specs
thread-spec:
thread:int
thread:int-int
thread:all
pu-specs:
pu-spec(.pu-spec)*
pu-spec:
type:range-specs
~pu-spec
range-specs:
range-spec(,range-spec)*
range-spec:
int
int-int
all
type:
socket | numanode
core
pu
All literals (like thread, socket, etc.) can be abbreviated.
For example:
thread:0=socket:0 binds thread 0 to the processing units of the first socket
thread:4=socket:2.pu:1 binds thread 5 to the second pu of the thrid socket
thread:3=core:all.pu:0 binds thread 4 to the first pus of all cores
t:0-3=c:0-3.p:0 binds thread 1-4 to the first pus of the first 4 cores
thread:1,3,5=core:all.pu:1 binds threads 1, 3, and 5 to the second pus of all cores
Currently we have pu-step and pu-offset to control the placement of threads onto cores.
This is very flexible and can be used in most cases.
However once the complexity of the hardware topology increases these options are cumbersome to use. Instead a command line with easy descriptive names should be used.
Examples for already existing solutions are hwloc-bind and likwid-pin
The text was updated successfully, but these errors were encountered: