Ondřej Lysoněk
a484c644c5
man: Use ${i:PROFILE_DIR} in the example profile
...
Since commit cd4943bdbf , it is recommended to use ${i:PROFILE_DIR}
in paths to scripts, in order to make the paths absolute. It's not
required (yet) though.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-03-05 10:16:44 +01:00
Jaroslav Škarvada
18118c2814
s2kb: fixed to be compatible with python3
...
Resolves: rhbz#1684122
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-02-28 14:42:00 +01:00
Jaroslav Škarvada
7332a0917f
Merge pull request #153 from nealepetrillo/master
...
Added profile for HPC compute workloads
2019-02-28 10:00:42 +01:00
Petrillo, Neale Angelo
8f6433336d
Removed superfluous sched_migration_cost_ns declaration
...
kernel.sched_migration_cost_ns=5000000 was being defined here even though it was defined in the included latency-performance profile. Removed to eliminate redundancy.
2019-02-22 12:52:51 -05:00
Jaroslav Škarvada
95cf27ae35
Merge pull request #159 from olysonek/lint
...
Makefile: Drop a workaround for a pylint bug and run pylint on tests too
2019-02-19 18:03:29 +01:00
Ondřej Lysoněk
afa6611f39
Makefile: Run pylint on the tests too
...
The tests are now in a good shape, so we can now run pylint on them
without getting a huge list of errors. In fact, we should lint them
to decrease the likelihood they'll go stale again.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-02-19 16:26:27 +01:00
Ondřej Lysoněk
32666498ba
tests: Fix import of Mapping
...
Since python3.3, Mapping has been moved to collections.abc and starting
with python3.8, it will no longer be available as collections.Mapping.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-02-19 16:26:27 +01:00
Ondřej Lysoněk
a5c39d83f3
Makefile: Drop a workaround for a pylint bug
...
The bug is no longer reproducible with
python3-pylint-2.1.1-2.fc29.noarch.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-02-19 16:26:27 +01:00
Jaroslav Škarvada
2441fe6384
Merge pull request #156 from TomasKorbar/tuned-gui-2.0
...
Remove obsolete policy and unnecessary import from tuned gui
2019-02-19 10:27:06 +01:00
Jaroslav Škarvada
b35f4a97cd
Merge pull request #157 from olysonek/master
...
Increase max log file size in the default config file
2019-02-19 10:25:36 +01:00
Ondřej Lysoněk
9574a63e50
Increase max log file size in the default config file
...
100KB is not a lot, it can fill up quickly.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-02-08 14:34:30 +01:00
Tomas Korbar
0c7ec6e358
Remove unnecessary import from tuned-gui.py
...
Signed-off-by: Tomas Korbar <tkorbar@redhat.com>
2019-02-04 11:04:52 +01:00
Tomas Korbar
adcb160b97
Remove obsolete polkit policy for tuned-gui
...
Tuned gui does not need root privileges for it to work now
For more information see #138
Signed-off-by: Tomas Korbar <tkorbar@redhat.com>
2019-02-04 11:04:52 +01:00
Jaroslav Škarvada
506cf930fa
Merge pull request #154 from olysonek/dco
...
Add contribution guidelines
2019-01-31 18:42:55 +01:00
Jaroslav Škarvada
218c68bebb
Merge pull request #152 from redhatrises/tuned_gui_typo
...
Fix typo in tuned-gui
2019-01-31 18:39:53 +01:00
Jaroslav Škarvada
2d7b5a1d73
Merge pull request #151 from watologo1/intel_amd_ppc_differing
...
Differ archs and x86 CPU vendors in plugin_cpu
2019-01-31 18:38:58 +01:00
Jaroslav Škarvada
7a05a07b0c
Merge pull request #147 from mrksu/documentation
...
Documentation
2019-01-31 18:20:37 +01:00
Jaroslav Škarvada
17c44cca27
Merge pull request #143 from TomasKorbar/rhbz1631744
...
Reload profile configuration on SIGHUP
2019-01-31 16:43:47 +01:00
Jaroslav Škarvada
778576af60
Merge pull request #155 from redhat-performance/revert-140-rhbz1592743
...
Revert "Make copy of instance's devices before executing changes to system"
2019-01-31 16:35:29 +01:00
Jaroslav Škarvada
55078cbd0c
Revert "Make copy of instance's devices before executing changes to system"
2019-01-31 16:32:16 +01:00
Jaroslav Škarvada
f79c6292b6
Merge pull request #142 from TomasKorbar/rhbz1613379
...
Fix unit configuration reading
2019-01-31 16:15:21 +01:00
Jaroslav Škarvada
f5493aea57
Merge pull request #141 from TomasKorbar/rhbz1595156
...
fix disk plugin/plugout problem
2019-01-31 16:14:06 +01:00
Jaroslav Škarvada
265152ab00
Merge pull request #140 from TomasKorbar/rhbz1592743
...
Make copy of instance's devices before executing changes to system
2019-01-31 16:11:42 +01:00
Jaroslav Škarvada
8f82779a7f
Merge pull request #138 from TomasKorbar/tuned-gui-2.0
...
Add support for config options hints and fix running under normal user
2019-01-31 16:08:01 +01:00
Ondřej Lysoněk
86abd82ced
Add contribution guidelines
...
This is an attempt to formalize the process of contributing to Tuned
and formulate what is expected from contributors. From now on, all
contributors are expected to follow the guidelines.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-01-31 11:19:16 +01:00
Neale Petrillo
da6a2925af
Update tuned.conf
2019-01-30 14:41:11 -05:00
Neale Petrillo
6c8c9ce837
Update tuned.conf
2019-01-30 14:30:39 -05:00
Tomas Korbar
941fc6e2ea
Fix check in add and remove device methods of Monitor class
...
Contribution to f563c7d
2019-01-29 12:36:49 +01:00
Tomas Korbar
a2219675f2
fix disk plugin/plugout problem
...
when udev sends remove event it does not send any device
attributes with it so _device_is_supported check must be omitted
Resolves: rhbz#1595156
2019-01-28 16:05:03 +01:00
Gabe
d24cb4e58c
Fix typo in tuned-gui
...
- Fix typos for tuned daemon not running prompt
2019-01-28 04:36:14 -07:00
Petrillo, Neale Angelo
550a3f1d1e
Initial commit of HPC compute profile
2019-01-25 21:13:54 -05:00
Thomas Renninger
29022a0edf
Differ archs and x86 CPU vendors in plugin_cpu
...
This avoids wrong warning about a missing intel tool (x86_energy_perf_bias)
Remember arch and x86 CPU vendor to allow arch/vendor specific CPU tunings
in the future
2019-01-25 12:19:26 +01:00
Ondřej Lysoněk
2cc3d74798
plugin_disk: Fix checking the 'removable' attribute on python3
...
The 'removable' attribute is a bytestring, so it will never be equal to
"0" in python3. Check equality with b"0" instead.
The patch was originally written by Tomáš Korbař.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-01-24 16:33:02 +01:00
Jaroslav Škarvada
668bf7448d
Minor readme update
...
Mentioned web page.
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-01-19 18:54:27 +01:00
Jaroslav Škarvada
98c3707851
log: initialize maxBytes, backupCount in RotatingFileHandler explicitly with int
...
Fixes : #148
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-01-12 10:07:07 +01:00
Tomas Korbar
2b543b0a5a
Fix unit configuration reading
...
Append "1" to Unit configuration check for
enabled and replace values
Resolves: rhbz#1613379
2019-01-09 15:46:06 +01:00
Jaroslav Škarvada
26db89de18
mssql: updated tuning
...
Added vm plugin option 'transparent_hugepage.defrag'.
Resolves: rhbz#1660178
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-01-08 15:07:03 +01:00
Marek Suchánek
b63d10e24c
Removed unnecessary internal comments
2019-01-07 18:38:09 +01:00
Tomas Korbar
078dea195e
Make copy of instance's devices before executing changes to system
...
these changes will protect tuned's execution thread from errors
caused by changes of instance's devices list while execution
thread iterates over them
fix problem with bad recognition of disk caused
by use of python3
Resolves: rhbz#1592743
2019-01-07 16:41:49 +01:00
Tomas Korbar
3fe792ed17
Reload profile configuration on SIGHUP
...
tuned will now on reload of daemon read again configuration
files
Resolves: rhbz#1631744
2019-01-07 15:50:12 +01:00
Marek Suchánek
de099c1556
Added a readme for documentation
2019-01-04 18:20:14 +01:00
Marek Suchánek
1a2e13e44f
Added user-facing documentation: initial commit
2019-01-04 18:08:28 +01:00
Jaroslav Škarvada
9d8234d559
Merge pull request #144 from olysonek/master
...
scheduler: Keep polling file objects alive long enough
2018-12-14 17:47:25 +01:00
Ondřej Lysoněk
a54b35c3b0
scheduler: Keep polling file objects alive long enough
...
Make sure the file objects returned by evlist.get_pollfd()
don't go out of scope and get destroyed too soon. This is
a workaround for python3-perf rhbz#1659445.
Resolves: rhbz#1659140
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-12-14 13:16:02 +01:00
Jaroslav Škarvada
ead1890889
Merge pull request #139 from mgerstner/log_random_source
...
logs: actually use SystemRandom source for generating a random string
2018-12-11 21:16:18 +01:00
Matthias Gerstner
444aceefa5
logs: actually use SystemRandom source for generating a random string
...
The returned string was only pseudo random. It is only used for the
log_capture_start() mechanism at the moment. Therefore an attacker might
be able to guess the tokens of other users. Since this data it publicly
available anyways it should not be a big issue, however.
2018-12-11 11:06:01 +01:00
Jaroslav Škarvada
41b38ab6e7
Added workaround for zipl (s390x) not supporting multiple initrds
...
This workaround can be removed once implemented upstream, ticket:
https://github.com/ibm-s390-tools/s390-tools/issues/49
RHEL bugzilla:
rhbz#1576435
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-12-10 17:49:54 +01:00
Jaroslav Škarvada
8aa9fcfc5f
Added support for Boot loader specification (BLS)
...
Resolves: rhbz#1576435
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-12-09 20:16:50 +01:00
Tomas Korbar
e320c70d3d
Move plugin and hint listing functionality into dbus
2018-12-05 12:18:48 +01:00
Jaroslav Škarvada
c4a0aef63d
functions: reworked setup_kvm_mod_low_latency to count with kernel changes
...
It updates the KVM modprobe file if its content differs from what's
supported on the current system. It may look a bit over-engineered, but
it's done this way to lower the possibility of race condition.
Resolves: rhbz#1649408
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2018-11-22 17:38:12 +01:00