1
0
Fork 0
tuned/profiles
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
..
balanced balanced: used conservative CPU governor 2014-07-22 12:08:28 +02:00
default profiles: added profiles converted from tuned 1.0 2012-03-28 15:42:56 +02:00
desktop profiles: added desktop profile 2013-11-05 23:27:10 +01:00
desktop-powersave functions removal: ported some profiles (not all) 2012-10-10 22:36:49 +02:00
enterprise-storage enterprise-storage: removed readahead 2013-11-07 16:44:35 +01:00
laptop-ac-powersave profiles: called action handler from scripts 2012-03-28 16:54:18 +02:00
laptop-battery-powersave profiles: added profiles converted from tuned 1.0 2012-03-28 15:42:56 +02:00
latency-performance latency-performance: leaving THP on its default 2014-02-14 12:41:59 +01:00
network-latency network-latency: added new profile 2014-02-14 13:13:14 +01:00
network-throughput network-throughput: added new profile 2014-02-14 13:31:21 +01:00
powersave plugin_cpu: added support for x86_energy_perf_policy 2013-10-23 10:44:24 +02:00
sap profiles: added sap profile 2013-11-06 11:51:50 +01:00
server-powersave functions removal: ported some profiles (not all) 2012-10-10 22:36:49 +02:00
spindown-disk spindown-disk: removed useless find, probably typo 2013-11-12 14:57:01 +01:00
throughput-performance tuned: Added support for >, < assignment modifiers in tuned.conf 2014-05-07 17:02:59 +02:00
virtual-guest profiles: various updates according to feedback from performance team 2013-11-06 10:39:01 +01:00
virtual-host profiles: various updates according to feedback from performance team 2013-11-06 10:39:01 +01:00
functions profiles: added sap profile 2013-11-06 11:51:50 +01:00