1
0
Fork 0
tuned/profiles/spectrumscale-ece/tuned.conf
Jaroslav Škarvada a936fb8844
scheduler: abstract sched_ and numa_ knobs
New kernels (5.13 and newer) moved some sched_ and numa_ knobs from
the sysctl to the debugfs, thus add and abstract these knobs under the
scheduler plugin. With help of this abstraction it will write
the tuning to the correct place according to the kernel used.

Example:
[scheduler]
sched_migration_cost_ns = 500000

Will work on the old kernel the same way as:
[sysctl]
kernel.sched_migration_cost_ns = 500000

I.e. it will write '500000' to the:
/proc/sys/kernel/sched_migration_cost_ns

And on the new kernel it will write '500000' to the:
/sys/kernel/debug/sched/migration_cost_ns

Also updated TuneD profiles.

Resolves: rhbz#1952687

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-06-30 19:45:27 +02:00

36 lines
599 B
Text

#
# tuned configuration
#
[main]
summary=Optimized for Spectrum Scale Erasure Code Edition Servers
include=throughput-performance
[cpu]
governor=performance
energy_perf_bias=performance
min_perf_pct=100
[sysctl]
kernel.numa_balancing = 1
vm.dirty_ratio = 40
vm.dirty_background_ratio = 10
vm.swappiness=10
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
[scheduler]
sched_min_granularity_ns = 10000000
sched_wakeup_granularity_ns = 15000000
[disk-sas]
type=disk
devices = sd*
elevator = mq-deadline
readahead = 0
[disk-nvme]
type=disk
devices = nvme*
elevator = none
readahead = 0