1
0
Fork 0
Commit graph

902 commits

Author SHA1 Message Date
Ondřej Lysoněk
55c7128d1c modules: Fix a log message
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-10 10:36:51 +02:00
Ondřej Lysoněk
0b40ca1161 modules: Fix a comment in modules.conf
Fix syntax for forcing a module reload in a comment in modules.conf.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-10 10:21:55 +02:00
Jaroslav Škarvada
f498a0322e Merge pull request #55 from felixsch/fix-desktopfile-category
Change desktop menu category for tuned-gui from System to Settings;HardwareSettings
2017-07-07 20:07:07 +02:00
Felix Schnizlein
ab0797ae27 Change desktop menu category for tuned-gui
Change from not sufficient category 'System' to well known category
'Settings;HardwareSettings'.
2017-07-07 18:57:14 +02:00
Ondřej Lysoněk
8c55968fda Fix an inconsistency in a log message
Log the global config file name which will in fact be loaded,
not the default.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-07 10:09:05 +02:00
Jaroslav Škarvada
0484c6c258 Merge pull request #54 from olysonek/master
Mark a comment in recommend.conf
2017-07-04 16:00:00 +02:00
Ondřej Lysoněk
fed1e4d1f6 Mark a comment in recommend.conf
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-04 15:39:44 +02:00
Jaroslav Škarvada
e143f76ccb Merge pull request #53 from olysonek/master
logs: Fix syntax error
2017-07-04 12:12:29 +02:00
Ondřej Lysoněk
90395d1a15 logs: Fix syntax error
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-04 10:57:33 +02:00
Jaroslav Škarvada
1c2ce2b607
logger: correctly remove all logging handlers
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-06-23 18:30:23 +02:00
Jaroslav Škarvada
5a2ea01f71
recommend: added support for matching of processes
E.g.:

[myprofile]
process=myprocess1
process2=myprocess2.*

The myprofile will be recommended if there are 'myprocess1' and
'myprocess2.*' (e.g. myprocess2, myprocess21, myprocess2_whatever)
running.

Resolves: rhbz#1461838

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-06-15 17:59:58 +02:00
Jaroslav Škarvada
c315f6228c
realtime: fixed typos in cmdline add
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-06-14 16:46:02 +02:00
Jaroslav Škarvada
f068a031a8
bootloader: split string for removal from cmdline
Resolves: rhbz#1461279

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-06-14 16:41:07 +02:00
Luiz Capitulino
1ab378cc4a realtime-virtual-guest: re-assign kernel thread priorities
From 63e5ebfe0c71c5e6d0613c4d8327b2a6f3fba7ba Mon Sep 17 00:00:00 2001
From: Luiz Capitulino <lcapitulino@redhat.com>
Date: Fri, 19 May 2017 14:42:06 -0400
Subject:

The realtime guest profile uses the RT kernel default priority
assignment for the ksoftird, rcuc, and ktimersoftd kernel threads,
which is:

    17  FF   2  [rcuc/1] *
    19  FF   1  [ktimersoftd/1] *
    20  TS   -  [ksoftirqd/1] *

This doesn't allow running a PMD thread with fifo:1 in the
guest, since this will starve ktimersoftd and ksoftirqd if
those threads ever become runnable.

The solution is to use the same priority assigment we use
in the host where we've been running PMD threads with
fifo:1 priorities without problems. This assignment is:

   151  FF   4  [rcuc/15] *
   153  FF   3  [ktimersoftd/15] *
   154  FF   2  [ksoftirqd/15] *

This patch just copies the [scheduler] section from the
host profile.

Resolves: rhbz#1452357

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-05-29 17:40:02 +02:00
Jaroslav Škarvada
4483641602
realtime-virtual-host/guest: added suffix to cmdline
This is a workaround how to overcame the internal parser / merger limitation.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-05-29 17:34:42 +02:00
Luiz Capitulino
9bc020df37 realtime: use skew_tick=1 in kernel cmdline
By default the timer tick will fire at the same time on all
CPUs. This causes the jiffies_lock to get contended in the
real-time kernel, as it's a raw spinlock. skew_tick=1 causes
the timer tick to fire at different times on all CPUs,
fixing the contention.

Note skew_tick=1 usage is going to be propagated to the
NFV profiles as well.

Resolves: rhbz#1447938

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-05-29 17:30:17 +02:00
Luiz Capitulino
fdff5f15b9 realtime: drop unhelpful comment
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-05-29 17:30:15 +02:00
Luiz Capitulino
283a2b9aa2 nfv-host: inherit kernel cmdline from realtime profile
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-05-29 17:30:09 +02:00
Luiz Capitulino
6cf54b6315 nfv-guest: inherit kernel cmdline from realtime profile
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-05-29 17:30:04 +02:00
Jaroslav Škarvada
44bc197feb
spec: conditionalized qemu-kvm-tools-rhev dependency
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-05-29 13:55:39 +02:00
Jaroslav Škarvada
9fae7ebecc
Makefile: switched to gz from bz2 due to google releases
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-05-29 11:33:20 +02:00
Jaroslav Škarvada
3eca5def91 Merge pull request #51 from krsacme/cpulist_negation_support
Add negation support for cpulist_upack function
2017-05-17 14:45:41 +02:00
Saravanan KR
709b059afc Add negation support for cpulist_upack function
cpulist_unpack supports range, it would be good add negation
support via ^ or !, inorder to exclude cpus from the specified
range.
Fixes #49
2017-05-15 11:42:54 +05:30
Jaroslav Škarvada
ae487729a4
service: dropped syslog.target and added reference to other man pages
Thanks to gustavo panizzo.

Fixes #47

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-05-12 16:15:40 +02:00
gustavo panizzo
c139e6e01e fix lintian warnings on desktop file 2017-05-12 14:17:02 +02:00
Jaroslav Škarvada
595a6e2ca7 Merge pull request #50 from voxadam/patch-1
Updated help outputs
2017-05-12 14:10:19 +02:00
Jaroslav Škarvada
423bc9efb8 Merge pull request #48 from evgeni/spelling
more spelling fixes found by lintian
2017-05-12 14:09:16 +02:00
Adam Hunt
3009a7a28b Updated help outputs
Added note about restarting tuned using 'systemclt' in addition to the existing reference to 'service'.
2017-05-10 04:26:02 -07:00
Jaroslav Škarvada
8af58432af
inventory: added workaround for pyudev < 0.18
This is needed for e.g. RHEL-7.4.

Related: rhbz#1251240

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-05-05 13:51:05 +02:00
Evgeni Golov
6e8d0b591f more spelling fixes found by lintian 2017-04-30 11:02:44 +02:00
Jaroslav Škarvada
4be4754646
nvf-guest: qemu-kvm-tools-rhev made weak dependency
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-04-28 16:39:55 +02:00
Jaroslav Škarvada
af56ac35ed
cpu-partitioning: used tuned instead of tuna for cores isolation
Resolves: rhbz#1442229

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-04-28 16:26:12 +02:00
Jaroslav Škarvada
cbaceef1ad Merge pull request #44 from evgeni/move-to-github
change Source in spec file to github
2017-04-26 20:15:50 +02:00
Evgeni Golov
de1a6ab536 change Source in spec file to github 2017-04-26 18:45:06 +02:00
Jaroslav Škarvada
68ca252841 Merge pull request #36 from evgeni/test-fixes
profile units are OrderedDicts, not lists
2017-04-26 18:22:55 +02:00
Jaroslav Škarvada
d661dc36b2 Merge pull request #34 from evgeni/pkg-config
try to get unitdir and tmpdir from pkg-config
2017-04-26 18:17:13 +02:00
Jaroslav Škarvada
320a704232 Merge pull request #37 from olysonek/plugin_net_pr
plugin_net: Implement setting 'pause' and 'ring' parameters
2017-04-26 18:15:29 +02:00
Jaroslav Škarvada
c322cd25c1 Merge pull request #39 from olysonek/tuned_adm
List available profiles on 'tuned-adm profile'
2017-04-26 17:56:23 +02:00
Jaroslav Škarvada
0e37280609 Merge pull request #40 from evgeni/manpages
fix NF/FI macros in manpages
2017-04-26 17:05:06 +02:00
Jaroslav Škarvada
12b4e8174f Merge pull request #41 from evgeni/spelling
fix a few spelling errors in the manpages
2017-04-26 17:02:50 +02:00
Jaroslav Škarvada
23654b0e75 Merge pull request #42 from evgeni/desktop-file
drop the encoding keyword from the desktop file
2017-04-26 17:00:57 +02:00
Jaroslav Škarvada
584f2d5c03 Merge pull request #43 from evgeni/systemd-unit-doc
add Documentation entry to tuned.service
2017-04-26 16:59:34 +02:00
Jaroslav Škarvada
de880346fa
new release (2.8.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-04-26 16:55:04 +02:00
Evgeni Golov
9683aae7a4 add Documentation entry to tuned.service 2017-04-22 15:50:01 +02:00
Evgeni Golov
0a2cfd4b4d drop the encoding keyword from the desktop file
it's deprecated:
 https://specifications.freedesktop.org/desktop-entry-spec/1.0/apc.html
2017-04-22 15:09:21 +02:00
Evgeni Golov
77e4ccb1b6 fix a few spelling errors in the manpages
spotted by Debian's lintian tool
2017-04-22 15:06:41 +02:00
Evgeni Golov
1353a22ca2 fix NF/FI macros in manpages
the macros are called .nf and .fi, not .NF and .FI

Test:
    % LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80  man --warnings \
      -E UTF-8 -l -Tutf8 -Z <file> >/dev/null
    <standard input>:53: warning: macro `NF' not defined
    <standard input>:74: warning: macro `FI' not defined

Spotted by rpmlint and lintian.
2017-04-22 10:12:03 +02:00
Ondřej Lysoněk
82997069b4 List available profiles on 'tuned-adm profile'
List available profiles when 'tuned-adm profile' is run
without a profile name.

Resolves: rhbz#988433

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-04-21 16:43:55 +02:00
Ondřej Lysoněk
2d83889c7b plugin_net: Implement setting 'ring' parameters
Plugin_net instances can now be given a new 'ring' option with
the following values (see ethtool(8) for their meaning):
rx N
rx-mini N
rx-jumbo N
tx N

The syntax is the same as the syntax for 'coalesce' and 'features'
parameters introduced in commit bc5d7acca8.

Example:
[net]
ring=rx 1024 tx 512

Resolves: https://github.com/redhat-performance/tuned/issues/2

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-04-18 13:56:36 +02:00
Ondřej Lysoněk
2d9a445d44 plugin_net: Implement setting 'pause' parameters
Plugin_net instances can now be given a new 'pause' option with
the following values (see ethtool(8) for their meaning):
autoneg on|off
rx on|off
tx on|off

The syntax is the same as the syntax for 'coalesce' and 'features'
parameters introduced in commit bc5d7acca8.

Example:
[net]
pause=autoneg off rx off

Resolves: https://github.com/redhat-performance/tuned/issues/2

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-04-18 13:56:36 +02:00