1
0
Fork 0
Commit graph

158 commits

Author SHA1 Message Date
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
Jan Vcelak
00e2281db3 bash completion for tuned and tuned-adm 2010-06-01 19:03:04 +02:00
Jan Vcelak
0483497c7f tuned-adm: removed '-p' option 2010-06-01 18:00:53 +02:00
Jan Vcelak
3b370c5c2e tuned_adm: fixed active profile displaying 2010-06-01 10:18:47 +02:00
Jan Vcelak
7e9001fdb2 tuned: fixed error message when invalid arguments 2010-06-01 10:12:15 +02:00
Jan Vcelak
4a4023fc19 tuned_adm: profile validity check and code cleanup 2010-06-01 09:44:55 +02:00
Jan Vcelak
0a746648df changelog, new version 2010-05-04 15:30:27 +02:00
Jan Vcelak
eb14144643 removing global /etc/sysctl.ktune 2010-05-04 15:28:47 +02:00
Thomas Woerner
9e5a9880a0 - use "sysctl -e -p" to apply settings from SYSCTL_POST (/etc/sysctl.conf) to
be consistent with /etc/rc.sysinit (rhbz#577971)
2010-05-04 11:46:06 +02:00
Jan Vcelak
6e17f8c329 tuned: added superuser permissions check
Running on foreground without superuser permissions emits warning.
Running as daemon without superuser permissions causes graceful crash.
2010-04-12 14:40:25 +02:00
Jan Vcelak
9e1c4960b8 logging: handlers initialization by need 2010-04-12 14:40:06 +02:00
Jan Vcelak
7e8fc881d0 changelog, new version 2010-03-30 14:37:08 +02:00
Jan Vcelak
ce20fa296e bug fix - rhbz #577983
tuned: AttributeError: Nettool instance has no attribute 'interface'
2010-03-30 10:22:21 +02:00
Jan Vcelak
e2736a96f2 changelog update 2010-03-23 13:49:38 +01:00
Philip Knirsch
89da4e25e1 Merge branch 'master' of ssh://git.fedorahosted.org/git/tuned 2010-03-23 12:43:01 +01:00
Philip Knirsch
62cd55141d - Added missing tuned-adm.conf file 2010-03-23 12:42:27 +01:00
Jan Vcelak
4c89a3865e minor changes, changelog update 2010-03-23 11:59:21 +01:00
Philip Knirsch
cad3726c32 - Added support for display of currently active profile
- Fix missing help command
2010-03-22 19:14:34 +01:00
Philip Knirsch
16cad923e0 - Large update to documentation and manpages
- Updated several of the profiles
2010-03-19 17:38:41 +01:00
Philip Knirsch
db9c8a8203 - Updated ALPM powersave code in the various powersave profiles
- Disabled USB autosuspend in laptop-battery-powersave for now
2010-03-18 14:28:48 +01:00
Jan Vcelak
4bfefca84e changelog update 2010-02-03 18:17:31 +01:00