1
0
Fork 0
Commit graph

339 commits

Author SHA1 Message Date
Jaroslav Škarvada
04e28bc088 profiles: converted some more options from scripts to tuned.conf 2012-11-30 15:55:26 +01:00
Jaroslav Škarvada
a1bca54f42 plugin_disk: fixed hdparm call 2012-11-30 15:05:47 +01:00
Jaroslav Škarvada
fc97d2b279 plugins: added sysfs plugin 2012-11-30 14:58:34 +01:00
Jaroslav Škarvada
075fc62ed6 powertop2tuned: fixed output formatting 2012-11-30 14:27:02 +01:00
Jaroslav Škarvada
cb02f1a0bb powertop2tuned: removed dynamic_tuning from plugins where unsupported 2012-11-30 14:24:10 +01:00
Jaroslav Škarvada
2c07b61a71 plugin_eeepc_she: various improvements 2012-11-30 12:24:41 +01:00
Jaroslav Škarvada
c58b798412 utils: added return code to write_to_file 2012-11-30 12:09:25 +01:00
Jaroslav Škarvada
3d57c489cc plugins: added plugin vm to tune virtual memory management
Currently only transparent hugepages settings is supported.
2012-11-30 11:42:30 +01:00
Jaroslav Škarvada
bc5538c16c moved parser for kernel radio options to tuned.utils.commands
It is for getting the active option from strings like:
[always] never
In this case active is 'always'.
2012-11-30 10:18:18 +01:00
Jaroslav Škarvada
1ef447fad3 manager: devices matching: reverted the previous fix, added comma support
Now it matches:
sd*,cciss*, dm-* vd*

So comma or whitespace can be used as delimiters.

Also the following works:
!sd*,!cciss*, !dm-* !vd*

It matches anything but the above list, e.g. the 'vg1' will match, but
'vd1' not.
2012-11-29 18:06:32 +01:00
Jaroslav Škarvada
074e7db59c manager: added support for matching list of devices
Now it is possible to specify the devices the following way:
devices=sd*,cciss*, dm-* ,vd*
2012-11-29 17:23:26 +01:00
Jaroslav Škarvada
e90f31ae04 plugin_sysctl: fixed to get the tunings applied 2012-11-29 16:49:22 +01:00
Jaroslav Škarvada
c6f7c28899 utils: exec commands through shell, unset locale
Fixes several problems on localized system, e.g. cpupower call
2012-11-29 16:32:44 +01:00
Jaroslav Škarvada
afefd7598e bash completion: added support for recommend 2012-11-29 16:21:28 +01:00
Jaroslav Škarvada
c83c7377f4 plugins: fixed plugin_script, merging and handling 2012-11-29 16:12:50 +01:00
Jaroslav Škarvada
c9fc7b2410 plugins: removed _load_path 2012-11-29 15:17:45 +01:00
Jaroslav Škarvada
23fb5038dc loader: log loaded profiles names 2012-11-29 14:29:56 +01:00
Jaroslav Škarvada
10c4976456 plugins: fixed eeepc_she, scripts, sysctl plugins to get started 2012-11-29 12:33:55 +01:00
Jaroslav Škarvada
7e7685ac9b spec: added virt-what requirement 2012-11-29 12:06:16 +01:00
Jaroslav Škarvada
7273992341 updated README to include tuned-adm recommend 2012-11-29 12:04:04 +01:00
Jaroslav Škarvada
3d95e77f78 implemented recommend profile functionality
resolves: rhbz#848935
2012-11-29 10:25:05 +01:00
Jaroslav Škarvada
ed287a393d fixed __license__ to match spec license 2012-11-28 23:38:27 +01:00
Jan Vcelak
33241b58e3 spec: change license to more precise GPLv2+ 2012-11-28 11:59:54 +01:00
Jan Vcelak
afaf1fc851 powertop2tuned: generate new profile without checking for the active one
fixes #31
2012-11-28 11:26:33 +01:00
Jaroslav Škarvada
c2888a700e powertop2tuned: fixed unicode handling
Resolves: rhbz#865655
2012-11-28 11:12:25 +01:00
Jaroslav Škarvada
6917d9760b refs #23, disk: hardcoded vendor specific value to get spindown
Hardcoded 253, AFAIK it is impossible to get the current value, there
is no such standard way to get it from IDE.
2012-11-28 09:33:25 +01:00
Jaroslav Škarvada
459af563d0 refs #22, disk: implemented get APM 2012-11-28 09:21:35 +01:00
Jan Vcelak
a19e116545 norefs, disk: reenable readahead_multiply as a custom command 2012-11-27 18:18:36 +01:00
Jan Vcelak
3991b19662 norefs, disk: implement support for custom commands 2012-11-27 18:18:00 +01:00
Jan Vcelak
0db01db9cc norefs, disk: write scheduler_quantum more safely 2012-11-27 17:37:38 +01:00
Jan Vcelak
ebcf7d2184 norefs, disk: fix static readahead setting 2012-11-27 17:34:20 +01:00
Jan Vcelak
10f723780a norefs, disk: fix spindown value setting 2012-11-27 17:26:01 +01:00
Jan Vcelak
0501e1461e refs #21, disk: fix scheduler reading and applying 2012-11-27 17:11:13 +01:00
Jaroslav Škarvada
ee34338cc2 powertop2tuned: fixed sysctl 2012-11-26 16:12:12 +01:00
Jaroslav Škarvada
f79aa754fe powertop2tuned: fixed parser to handle powertop-2.2 2012-11-26 16:08:59 +01:00
Jan Vcelak
451a4be740 write README, some base information about usage 2012-11-09 13:18:39 +01:00
Jan Vcelak
6201aa6632 tuned-adm: remove help from manpage 2012-11-09 12:35:15 +01:00
Jan Vcelak
a49f53e60f GPL headers only into executables and main module
GPL license does not require all files to have the copyright notice
and header. To save some space, I removed the headers from all files
except the executables and the main Python module.
2012-11-09 12:27:20 +01:00
Jan Vcelak
000e82f258 tuned: move daemon code into submodule, improve forking, signal handling, pidfile handling 2012-11-08 18:23:44 +01:00
Jan Vcelak
6f2c2ca6fd tuned: switch to argparse module 2012-11-08 14:26:51 +01:00
Jan Vcelak
3e98232fce tuned: create pidfile with secure permissions 2012-11-07 13:34:52 +01:00
Jan Vcelak
18d0c553fd tuned-adm bash completion: complete profiles from all default locations 2012-11-07 13:20:58 +01:00
Jan Vcelak
6deb6c9643 controller: list real profiles names instead of hardcoded test names 2012-11-07 11:26:04 +01:00
Jan Vcelak
a614c1b54b implement profiles locator class, used by profiles loader 2012-11-07 11:24:49 +01:00
Jan Vcelak
718a611a7f tuned-adm: switch completely to DBus 2012-11-05 17:02:52 +01:00
Jan Vcelak
14e183f93d tuned controller: allow state when no profile is enabled 2012-11-05 17:02:52 +01:00
Jaroslav Škarvada
7bccbc9a4e Replaced all getuid by geteuid 2012-10-31 11:00:23 +01:00
Jan Vcelak
5d5032c41a profiles loader: allow only safe names in profiles 2012-10-30 15:30:23 +01:00
Jan Vcelak
4e57882366 fix profile merging 2012-10-30 15:30:02 +01:00
Jan Vcelak
070a9a234a dbus: fix active profile 2012-10-30 14:21:58 +01:00