1
0
Fork 0
Commit graph

178 commits

Author SHA1 Message Date
Jan Vcelak
66fcc79706 udev: fix rules permissions 2011-01-08 18:56:39 +01:00
Jan Vcelak
9fae405df2 udev: specfile changes 2011-01-07 17:08:40 +01:00
Jan Vcelak
12307a5132 udev: add related files into Makefile 2011-01-07 17:08:26 +01:00
Jan Vcelak
35b44f0b7f udev: add rules for scheduler tuning 2011-01-07 17:07:52 +01:00
Jan Vcelak
4e9b48112d set_disk_readahead -> multiply_disk_readahead
Resolves: #658843
2011-01-04 18:18:52 +01:00
Jan Vcelak
54b1caece5 profiles: disable debugging in 'functions' script
forgotten 'set -x' removed
2011-01-04 18:00:58 +01:00
Jan Vcelak
3393817863 initiscript: don't start tuned daemon on s390/s390x
cpu and disk tuning doesn't work, net tuning makes no sense

Resolves: #624494
2011-01-04 17:41:20 +01:00
Jan Vcelak
572c9d6d16 initiscript: localization of insufficient privilege error 2011-01-04 17:39:10 +01:00
Jan Vcelak
1f60e8f952 fix: initscript - invalid pidfile check
Resolves: #621122
2011-01-04 15:32:39 +01:00
Jan Vcelak
93ad579f69 all ktune.sh updated to use common functions file 2010-12-23 11:04:39 +01:00
Jan Vcelak
436f4d234b consolidated ktune scripts functions 2010-12-23 11:04:35 +01:00
Jan Vcelak
732e072dc0 reduced FSB support on EEE PCs with Intel Atom
profile: laptop-battery-powersave
2010-11-29 19:06:56 +01:00
Jan Vcelak
58a2c0093d version bump 2010-11-29 12:06:16 +01:00
Jan Vcelak
ec9e9ae10f tmpfiles.d config to autocreate runtime directory on F15 2010-11-29 11:37:21 +01:00
Jan Vcelak
594d652b4b fix hal-disable-polling if no CD drives present 2010-11-18 15:02:34 +01:00
Jan Vcelak
d7169cf0b2 another change of changelog
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.
2010-10-06 10:35:37 +02:00
Jan Vcelak
6a24f54c24 changelog, new version 2010-10-06 10:29:01 +02:00
Jan Vcelak
6a64e3d0c6 sync specfile with Fedora 2010-10-06 10:22:17 +02:00
Jan Vcelak
cee19fbf00 profiles: workaround hal-disable-polling bug
Workarounds: #554886
2010-09-30 11:34:11 +02:00
Jan Vcelak
e78494e1c5 profiles: apply IO scheduler changes to dm devices
Resolves: #636548
2010-09-29 09:12:05 +02:00
Jarod Wilson
d7bf3c1d10 Merge branch 'master' of ssh://git.fedorahosted.org/git/tuned 2010-08-18 10:00:03 -04:00
Jarod Wilson
a0222d7fcb enterprise-storage: fix setting read_ahead_kb
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2010-08-18 09:59:54 -04:00
Jan Vcelak
b90ba21fd2 throughput-performance: s390x sysctl settings
bz #619377 kernel: Process scheduler tuning recommendation for s390
2010-08-18 12:37:25 +02:00
Jan Vcelak
3bcac3095c architecture specific configuration files support
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'.
2010-08-18 12:35:04 +02:00
Jarod Wilson
bdce7eb69d add new enterprise-storage profile
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>
2010-08-17 14:04:57 -04:00
Jarod Wilson
bdd933246b throughput-performance: don't twiddle cpufreq or hugepages if not supported
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2010-08-17 13:16:58 -04:00
Phil Knirsch
1f017e33b5 - Forgot to bump version and added a changelog. 2010-08-03 12:09:37 +02:00
Phil Knirsch
64edcee9a7 - Fixed problem with network cards that provide unparsable supported network modes
Resolves: #620686
2010-08-03 11:44:15 +02:00
Jarod Wilson
927529c1cc further throughput-performance profile tweaks
- 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>
2010-07-14 11:21:30 -04:00
Jan Vcelak
53442a48af changelog, new version 2010-07-13 20:15:26 +02:00
Jan Vcelak
3be9255472 governors: prefer cpuspeed, restore for each CPU
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
2010-07-13 19:55:29 +02:00
Jan Vcelak
01230c06e2 tuned: added /var/run/tuned into specfile 2010-07-13 15:50:52 +02:00
Jan Vcelak
34cd670b21 laptop-battery-powersave: enable ondemand governor 2010-07-13 15:50:45 +02:00
Jan Vcelak
1d32fcb0e7 latency-performance: enable performance governor 2010-07-13 15:50:41 +02:00
Jan Vcelak
34a8129ea8 tune-profiles: added missing VAR_SUBSYS_KTUNE
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
2010-07-13 15:50:35 +02:00
Jan Vcelak
347a24aa21 throughput-performance: updated save paths
All save files will be in /var/run/tuned directory.
This is being done to comply with SELinux policy.
2010-07-13 15:50:28 +02:00
Jan Vcelak
d8fa2ca16b tuned: pid file moved to /var/run/tuned/tuned.pid
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.
2010-07-13 15:50:24 +02:00
Jan Vcelak
e12dc4fb78 tuned-adm: fixed disabling tuned
Services tuned and ktune have to be stopped before removing configration
files. The ktune.sh script may need to do some stop operations.
2010-07-13 15:50:15 +02:00
Jan Vcelak
02c585de00 tuned-adm: replaced tuned-adm.conf
/etc/tune-profiles/active-profile is generated from Makefile
2010-07-13 15:48:59 +02:00
Jan Vcelak
5d9f0c6b0c tuned-adm: displaying services status
'tuned-adm active' newly shows tuned and ktune services status as
enabled/disabled, running/stopped.
2010-07-12 17:46:09 +02:00
Jan Vcelak
4fff679322 latency-performance: removed sysctl 'net' bits 2010-07-12 17:09:17 +02:00
Jan Vcelak
335edca35d added license text into tuned-utils subpackage
File COPYING was added into tuned-utils subpackage to meet new Fedora
Licensing Guidelines.
2010-07-12 17:09:00 +02:00
Jan Vcelak
12968c1f26 fixed symlinks to configuration files
After fresh installation, configuration files will be symbolic links to
appropriate files in 'default' profile.
2010-07-12 17:07:23 +02:00
Jan Vcelak
acad0bbd7a tuned-adm: better active profile displaying 2010-07-12 15:21:36 +02:00
Jan Vcelak
c62252bb0c throughput-performance: removed SYSCTL option
/etc/sysctl.ktune is no longer used, sysctl.ktune from profile
is loaded through /etc/ktune.d/tunedadm.conf
2010-07-12 15:08:11 +02:00
Jarod Wilson
6982c57e8c ktune: increase pid_max in throughtput-performance profile
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2010-07-09 17:06:09 -04:00
Jarod Wilson
d88e88579f ktune: update throughput-performance profile for rhel6
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>
2010-07-08 17:38:32 -04:00
Jarod Wilson
88ed6a3138 ktune: fix service ktune status w/no sysctl changes applied
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>
2010-07-08 17:20:49 -04:00
Jan Vcelak
7a639e4c3f tuned.spec: fixed unowned /etc/bash_completion.d 2010-06-04 14:17:07 +02:00
Jan Vcelak
ccabfd8cd6 changelog, new version 2010-06-04 14:01:52 +02:00