Have to do this to have the same specfile in Fedora and here.
0.2.16-1 merged with 0.2.17-1, as the dates in previsous entries were
crossed. Sorry for doing this.
If arch specific configuration file is required, add .$arch before the
configuration file extension, e.g.:
In profile 'latency-performance' on s390x machines, special sysctl
tunning is required. Adding 'sysctl.s390x.ktune' file into profile will
cause loading of this file instead of 'sysctl.ktune'.
Starts out as a clone of throughput-performance profile, but takes the
additional steps to disable barriers on data volumes and increase
readahead values.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
- 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
Missing VAR_SUBSYS_KTUNE variable in ktune.sh scripts prevented these
scripts to run stop() when disabling profile.
Fixed in:
- desktop-powersave
- laptop-ac-powersave
- server-powersave
- spindown-disk
This is being done to comply with SELinux policy.
/var/run/tuned/ is intended to be a new home of any runtime files
created by tuned itself or tuned plugins.
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>
The default profile has no sysctl changes to it. If you try running
service ktune status after applying it, you get:
Current ktune sysctl settings:
awk: cmd. line:1: fatal: cannot open file `/var/run/ktune.save' for reading (No such file or directory)
After this patch:
Current ktune sysctl settings:
None
(Simply adds a check for $SAVE_FILE, and if not found, prints out NONE).
Signed-off-by: Jarod Wilson <jarod@redhat.com>