1
0
Fork 0
Commit graph

496 commits

Author SHA1 Message Date
Jaroslav Škarvada
bd732feccb plugin_net: added nf_conntrack_hashsize parameter
It maps to /sys/module/nf_conntrack/parameters/hashsize.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-27 13:55:05 +02:00
Jaroslav Škarvada
9287258047 plugins: added selinux plugin
So far only the avc_cache_threshold is supported, but more options
may be added in the future as needed.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-26 17:40:52 +02:00
Jaroslav Škarvada
4619163d86 plugin_script: fixed typo in comment
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-26 15:58:53 +02:00
Jaroslav Škarvada
555abc2153 spec: packaged sap profile into tuned-profiles-sap subpackage
It's optional and there may be more SAP profiles in the future,
hus it's better to have special subpackage for it.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-26 15:03:10 +02:00
Hase, Jin
b2897d9c1c balanced: used conservative CPU governor
In my testing, balanced profile's efficiency is almost as same(*1) as
powersave profile on my server using Xeon-E5.

I think tuned should make difference between balanced profile and powersave
profile. IOW, balanced profile should show better performance and worse power
consumption than powersave profile.

One of root causes is that detailed settings of P-State and C-State are
almost same between balanced profile and powersave profile.

This patch proposes that making "balanced"'s CPU governer to be conservative.
This will make difference between balanced and powersave(*2).

[Measurement result]
 - Load testing tool
   JdbcRunner(Database Model)

 - Hardware
   12core(Xeon E5-2650L 1.80GHz)/8GB Memory/SSD 100GB/1Gbit Network
   (But I limit the number of core to "4" by BIOS because of adjusting
    CPU load)

 - Software
   kernel-3.10.0-123.el7.x86_64, tuned-2.3.0-11.el7.noarch

 - Throughput, latency and power consumption
   (power consumption is measured by ipmitool sensor)

                | Throughput |   Latency   | Power Consumption
     Profile    |   (tpm)    |   (msec)    | on Server (Watt)
 --------------------------------------------------------------
 (*1)powersave  |   8,495    |       28    |      111.2
 --------------------------------------------------------------
 (*1)balanced   |   8,340    |       29    |      111.6
 --------------------------------------------------------------
 (*2)This patch |   9,284    |       25    |      118.8
 --------------------------------------------------------------
 throughput-    |  10,464    |       25    |      128.0
 performance    |            |             |
 --------------------------------------------------------------
 latency-       |  10,911    |       23    |      133.2
 performance    |            |             |
 --------------------------------------------------------------

 - P-State and C-State(measured by turbostat)
             | CPU freq|               C-State
   Profile   |  (GHz)  | (%C0) | (%C1) | (%C3) | (%C6) | (%C7)
 --------------------------------------------------------------
 powersave   |  1.31   | 59.45 | 28.55 |  1.72 |    0  | 10.25
 --------------------------------------------------------------
 balanced    |  1.38   | 61.63 | 30.02 |  0.77 |    0  |  7.56
 --------------------------------------------------------------
 This patch  |  1.81   | 51.27 | 39.91 |  1.78 |    0  |  7.04
 --------------------------------------------------------------
 throughput- |  2.25   | 46.14 | 52.44 |  0.43 |    0  |  0.97
 performance |         |       |       |       |       |
 --------------------------------------------------------------
 latency-    |  2.30   | 48.36 | 51.64 |     0 |    0  |    0
 performance |         |       |       |       |       |
 --------------------------------------------------------------

 - CPU utilization(measured by sar)
   Profile   |  %user |  %sys  | %iowait |  %idle
 ---------------------------------------------------
 powersave   |  36.69 |  13.32 |  5.25   |  44.74
 ---------------------------------------------------
 balanced    |  38.94 |  13.88 |  4.07   |  43.12
 ---------------------------------------------------
 This patch  |  42.78 |  14.53 |  5.97   |  36.72
 ---------------------------------------------------
 throughput- |  33.51 |  12.29 |  7.14   |  47.06
 performance |        |        |         |
 ---------------------------------------------------
 latency-    |  34.58 |  11.71 |  7.89   |  45.82
 performance |        |        |         |
 ---------------------------------------------------

Signed-off-by: Jin Hase <hase.jin@jp.fujitsu.com>

1 file changed, 1 insertion(+), 1 deletion(-)
2014-07-22 12:08:28 +02:00
Jaroslav Škarvada
f600567dd0 tuned: handle root block devices
Resolves: rhbz#1033251

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-05-09 12:38:33 +02:00
Jaroslav Škarvada
c39fe688f7 tuned: fixed logging related to assignment modifiers
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-05-07 17:56:01 +02:00
Jaroslav Škarvada
1d1c3a389c tuned: Added support for >, < assignment modifiers in tuned.conf
These modifiers can specify when to assign new value considering
the old value.

E.g.:
readahead=>4096

means assign readahead 4096 only if the current value of readahaed
is lower than 4096 (i.e. the readahaed will be at least 4096).

Similarly for the < operator, it will assign the value only
if the current value is higher.

The modifiers are part of the value, not part of the equality
operator, thus the following is correct:
readahead= >4096

But the following isn't correct, but will probably also work
due to the nature how the value is parsed:
readahead=> 4096

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-05-07 17:02:59 +02:00
Jaroslav Škarvada
adffbb0ca1 balanced: used medium_power ALPM policy
This policy sets the link to the second lowest power
state (PARTIAL) when there is no I/O on the disk. This
mode is designed to allow transitions in link power states
(for example during times of intermittent heavy I/O and
idle I/O) with as small impact on performance as possible.

This may save significant amount of power in idle periods
of the link, especially on laptops. E.g. on x240 the average
AC power consumption dropped from approx. 5 W to only 2.5 W.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-04-28 14:29:06 +02:00
Jaroslav Škarvada
fb8536e12c Makefile: added compatibility for non RPM systems
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-04-25 13:46:52 +02:00
Per Øyvind Karlsen (proyvind)
393708d974 fix install locations of tmpfiles & bash-completion
Signed-off-by: Per Øyvind Karlsen (proyvind) <proyvind@moondrake.org>
2014-04-25 13:35:32 +02:00
Jaroslav Škarvada
284041dc14 systemd: added cpupower.service conflict
Resolves: rhbz#1073392

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-06 17:22:09 +01:00
Jaroslav Škarvada
4335059206 spec: added kernel-tools requirement
Resolves: rhbz#1073008

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-06 10:48:57 +01:00
Jaroslav Škarvada
ae421ec877 recommend: fixed config file
Resolves: rhbz#1069123

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-03 15:48:52 +01:00
Jaroslav Škarvada
0833850da8 man: fixed typo
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-03 15:48:16 +01:00
Jaroslav Škarvada
153afc6c9f network-throughput: added new profile
Resolves: rhbz#1052421

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-02-14 13:31:21 +01:00
Jaroslav Škarvada
a195fc06fe network-latency: added new profile
Resolves: rhbz#1052418

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-02-14 13:13:14 +01:00
Jaroslav Škarvada
c43574437d tuned: used throughput-performance profile on server by default
Resolves: rhbz#1063481

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-02-14 12:48:05 +01:00
Jaroslav Škarvada
640e100341 latency-performance: leaving THP on its default
Resolves: rhbz#1064510

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-02-14 12:41:59 +01:00
Jaroslav Škarvada
d5aea87c0b throughput-performance: altered dirty ratios for better performance
Resolves: rhbz#1043533

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-01-07 15:38:26 +01:00
Jaroslav Škarvada
d233fd7c31 misc: bumped year in copyright to 2013
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-27 09:30:07 +01:00
Jaroslav Škarvada
a47b0e1be7 spindown-disk: removed useless find, probably typo
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-12 14:57:01 +01:00
Jaroslav Škarvada
1cbd8a9e2c tuned: preset the sleep_interval in the tuned-main.conf
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-11 11:55:24 +01:00
Jaroslav Škarvada
c31fdd5e03 tuned: timing improvements
This improves responsiveness of Tuned in Python 2 interpreter with applied
patch for rhbz#917709. There is new global config parameter "sleep_interval"
which can control the polling. By default it is set to 1 second which is
still much better than 50 ms (on unpatched intepreter). Also the overhead
of the main thread was lowered if the dynamic tuning is disabled. The
dynamic tuning update interval is still controlled by the "update_interval"
global config parameter, but it has to be multiply of the "sleep_interval".

Resolves: rhbz#1028122

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-08 17:06:48 +01:00
Jaroslav Škarvada
17a6609e2a daemon: fixed race in start/stop
Resolves: rhbz#1028119

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-07 23:51:59 +01:00
Jaroslav Škarvada
b31830d709 enterprise-storage: removed readahead
The readahaed is already included from the throughput-performance
profile.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-07 16:44:35 +01:00
Jaroslav Škarvada
c55e4385c3 powertop2tuned: fixed traceback if rewriting file instead of dir
Resolves: rhbz#963441

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 18:43:20 +01:00
Jaroslav Škarvada
7608f2dc2b daemon: do not log traceback if profile cannot be loaded
Related: rhbz#953128
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 18:04:02 +01:00
Jaroslav Škarvada
d3e708019b Makefile: use non versioned directory for docs
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 17:02:42 +01:00
Jaroslav Škarvada
52ba438c5e new release (2.3.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 13:11:11 +01:00
Jaroslav Škarvada
d3160b8a33 tuned: lowered CPU usage due to python bug
Resolves: rhbz#917587

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 12:07:43 +01:00
Jaroslav Škarvada
35a3eb2398 profiles: added sap profile
fixes #38

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 11:51:50 +01:00
Jaroslav Škarvada
ef339e1b17 profiles: various updates according to feedback from performance team
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 10:39:01 +01:00
Jaroslav Škarvada
1e910ae940 virtual-host: fixed kernel.sched_migration_cost_ns parameter
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 10:14:28 +01:00
Jaroslav Škarvada
5cf4e8e63d tuned-adm: implemented non DBus fallback control
fixes #32

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 09:21:01 +01:00
Jaroslav Škarvada
bdcdb3072f profiles: added desktop profile
Currently it only enables autogroup scheduling:

kernel.sched_autogroup_enabled = 1

Resolves: rhbz#996723

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 23:27:10 +01:00
Jaroslav Škarvada
93803c074e profiles: switched from multiplies to hardcoded values
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 23:20:12 +01:00
Jaroslav Škarvada
f26e5f58f3 profiles: not disabling barriers
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 23:16:16 +01:00
Jaroslav Škarvada
94e383a5ed plugin_cpu: added support for intel_pstate
The following intel_pstate parameters are now supported:
  min_perf_pct
  max_perf_pct
  no_turbo

Resolves: rhbz#996722

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 22:55:38 +01:00
Jaroslav Škarvada
5d306833bd dbus: fixed KeyboardInterrupt handling
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 16:55:36 +01:00
Jaroslav Škarvada
adbdb8f4b2 plugin_cpu: consolidated some log messages
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-23 11:07:22 +02:00
Jaroslav Škarvada
59e259a3ce plugin_cpu: added support for x86_energy_perf_policy
This feature is controlled by the energy_perf_bias cpu plugin
option.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-23 10:44:24 +02:00
Jaroslav Škarvada
13bfaf38af tuned: added global option update_interval
It allows setting update interval for dynamic tuning in global config.
By default it is 10 seconds.

fixes #6

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 16:43:03 +02:00
Jaroslav Škarvada
09bebf7d83 tuned: fixed path to global configuration file
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 15:24:08 +02:00
Jaroslav Škarvada
f070213c64 utils: fixed packaging of pmqos-static
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 14:34:00 +02:00
Jaroslav Škarvada
7eb0ad5cdc throughput-performance: added readahead_multiply=4
Also removed this settings from the dependant profiles
where it is no more needed and updated the manual page.

Resolves: rhbz#987570

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 11:20:59 +02:00
Jaroslav Škarvada
1e0416fbf4 utils: added pmqos-static script for debug purposes
resolves: rhbz#1015676

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 11:06:42 +02:00
Jaroslav Škarvada
f8d89a78c0 refs #40, daemon: added global config for dynamic_tuning
Added initial global config (/etc/tuned/tuned-main.conf) and
possibility to globally enable / disable dynamic tunings.

resolves: rhbz#1006427

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-15 15:34:55 +02:00
Jaroslav Škarvada
15ec06ae14 tuned: switched to lightweighted pygobject3-base
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-07-25 18:37:59 +02:00
Jaroslav Škarvada
9be76a7fa0 functions: fixed typo and bluetooth handling
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-07-24 17:50:22 +02:00