1
0
Fork 0
tuned/profiles/realtime
Jaroslav Škarvada 39e6d14bdf
builtin functions: added calc_isolated_cores function
The calc_isolated_cores function expands to the list of cores to
isolate. It accepts optional argument which specifies how many cores
from each socket reserve for housekeeping. If not specified, one core
from each socket is reserved for housekeeping.

Example:
Machine with 2 sockets, each 4 cores, using the following user variable
configuration file, e.g. /etc/tuned/realtime-variables.conf:
isolated_cores=${f:calc_isolated_cores:2}

It will expand to:
isolated_cores=2, 3, 6, 7

I.e. cores 0, 1 and 4, 5 will be used for housekeeping.

Also updated the TuneD profiles to use this builtin function for
isolated_cores preset.

Resolves: rhbz#2093847

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-08-09 13:51:45 +02:00
..
realtime-variables.conf builtin functions: added calc_isolated_cores function 2022-08-09 13:51:45 +02:00
script.sh profiles: improve realtime verify functions 2021-05-13 15:21:48 +05:30
tuned.conf realtime: Set tsc as 'reliable' 2022-03-29 18:45:21 +02:00