- don't set pid_max by default, as it can be highly dependent on cpu
count (and architecture, to some extent)
- add commented out vm.dirty_background_ratio param, which we may or may
not set sometime in the future, but its also there now for people to
enable w/relative ease.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Added verifications, whether tuned cpu supports scaling.
Previous governor settings are saved and reverted separately for each
CPU.
If 'cpuspeed' is installed, CPU governor is set by changing it's
settings. If not, governor is set directly through sysfs and a message
suggesting installation of 'cpuspeed' is shown.
Updated profiles:
- laptop-batery-powersave
- latency-performance
- throughput-performance
Per discussion with the perf team:
- Set performance cpuspeed governor
- Set deadline io scheduler
- Set kernel.sched_min_granularity_ns = 10000000
- Set kernel.sched_wakeup_granularity_ns = 15000000
- Set vm.dirty_ratio = 40
Signed-off-by: Jarod Wilson <jarod@redhat.com>