1
0
Fork 0
tuned/profiles/cpu-partitioning
Jaroslav Škarvada ac78f90c77
scheduler: added support for cores isolation
Plugin scheduler now can do cores isolation on its own, Tuna is
not needed for it, e.g.:

[scheduler]
isolated_cores=2-4
ps_blacklist=.*pmd.*;.*PMD.*;^DPDK;.*qemu-kvm.*

It will isolate cores 2-4, it will ignore processes which matched
ps_blacklist regexes. Multiple regexes can be separated by ';'.
Quoted semicolon, i.e. '\;' is taken literally.

It also supports 'ps_whitelist' which is by default set to '.*'.

It takes all processes which matches ps_whitelist than it removes
those which matches ps_blacklist and move them out of the
isolated_cores. When the profile is unloaded it allows all matching
processes to run on all cores.

It changes processes affinities, threads affinities, IRQs affinities
and it sets default_smp_affinity for IRQs.

Also cpu-partitioning profile has been switched from Tuna to this
mechanism.

Resolves: rhbz#1403309

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-04-07 17:46:32 +02:00
..
00-tuned-pre-udev.sh cpu-partitioning: minor indentation fix 2017-03-07 17:37:25 +01:00
cpu-partitioning-variables.conf profiles: added new profile cpu-partitioning 2016-10-07 11:56:57 +02:00
script.sh scheduler: added support for cores isolation 2017-04-07 17:46:32 +02:00
tuned.conf scheduler: added support for cores isolation 2017-04-07 17:46:32 +02:00