Jan Vcelak
ddd545b8be
daemon: use paths from tuned.consts
2013-01-11 15:14:54 +01:00
Jan Vcelak
f4cc64a3a9
plugins: tuning units are handled within plugin classes
...
This change moves a lot of logic into the plugins, namely
the enumeration, seizing, and releasing of the devices.
However it allows the plugins to control the process in
more detail. This will be also utilised when tuning the
devices, which were dynamically added into the system.
WATCH OUT: only cpu plugin has been updated
2013-01-11 15:14:54 +01:00
Jan Vcelak
68992725f2
spec: add python-udev requirement
2013-01-11 15:14:54 +01:00
Jan Vcelak
53636b4ba9
net plugin: use hardware enumeration
2013-01-11 15:13:57 +01:00
Jan Vcelak
148203c54a
disk plugin: use hardware enumeration
2013-01-11 15:13:57 +01:00
Jan Vcelak
ff6b179455
cpu plugin: use hardware enumeration
2013-01-11 15:13:56 +01:00
Jan Vcelak
74c8c2c0fe
plugin repository: use new hardware enumeration to obtain devices
2013-01-11 15:13:56 +01:00
Jan Vcelak
31b0128bbc
hardware: new submodule for hardware enumeration and watching
2013-01-11 15:13:56 +01:00
Jaroslav Škarvada
0f912ede9f
removed the nobarrier from the virtual-guest profile (data loss prevention)
...
resolves: rhbz#886956
- updated man page
- minor cosmetic fix to virtual-host profile
2013-01-03 16:54:39 +01:00
Jaroslav Škarvada
db5c361b3f
new release (2.1.2)
2013-01-02 16:45:15 +01:00
Jaroslav Škarvada
cf71606eaf
fixed fd leaks on subprocesses
...
resolves: rhbz#890435
Added "close on execute" to all external calls. This workaround could cause
trouble on Windows, but it is unlikely the Tuned will ever run there.
2013-01-02 16:09:56 +01:00
Jaroslav Škarvada
df933c4901
latency-performance: disabled THP
...
resolves: rhbz#887355
2012-12-19 14:46:31 +01:00
Jaroslav Škarvada
677458c174
switched to configobj parser
...
Patch by: Fabrice Bellet <fabrice@bellet.info>
Resolves: rhbz#885500
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2012-12-10 11:20:45 +01:00
Jan Vcelak
045e1ac5fb
systemtap {disk,net}devstat: fix typo in usage
2012-12-07 14:03:52 +01:00
Jan Vcelak
aba4392209
new release (2.1.1)
2012-12-06 11:09:56 +01:00
Jaroslav Škarvada
88270095c5
powertop2tuned: fixed dead whitespaces
2012-12-04 17:26:24 +01:00
Jaroslav Škarvada
bfe4499580
powertop2tuned: fixed case if the current profile cannot be read
2012-12-04 15:27:43 +01:00
Jan Vcelak
ce32245d6f
spec: claim ownership of /etc/tuned
2012-12-04 15:05:55 +01:00
Jaroslav Škarvada
cce6460d00
powertop2tuned: fixed powertop execution
2012-12-04 14:41:37 +01:00
Jan Vcelak
f0f0f933d7
release 2.1.0
2012-12-03 11:33:37 +01:00
Jaroslav Škarvada
a913da1d5d
plugins: slightly better handling of plugins with dynamic options
...
It is controlled by _has_dynamic_options. If set to true,
options are not checked whether they are defined in the plugin.
2012-12-02 21:46:24 +01:00
Jaroslav Škarvada
d85520db2e
plugin_sysfs: added simple check to sysfs path
2012-12-02 21:02:26 +01:00
Jaroslav Škarvada
6c36daaebf
profiles: converted remount with nobarriers from functions to tuned.conf
2012-11-30 17:43:07 +01:00
Jan Vcelak
1900dec483
mounts: modify semantics of disable_barriers=force
...
- mountpoint '/' and '/boot' removed from exceptions, where barriers
should not be disabled (we want this explicit in the profiles)
- 'force' cannot force the settings if the filesystem is unsupported
- therefore 'force' can force nobarriers only on devices with 'write
back' cache
2012-11-30 17:37:19 +01:00
Jan Vcelak
a3dd6721bd
mounts: add some comments
2012-11-30 17:29:14 +01:00
Jan Vcelak
badb1211a1
powertop2tuned: do not run powertop through shell
2012-11-30 17:13:49 +01:00
Jan Vcelak
e25bd14690
utils: don't run execute() through shell
2012-11-30 17:12:35 +01:00
Jan Vcelak
fbde16f16a
mounts: introduce new plugin for mountpoints tuning
...
- currently supports only barrier handling
2012-11-30 17:12:35 +01:00
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