1
0
Fork 0
tuned/profiles
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
..
atomic-guest atomic: increase number of inotify watches 2016-03-29 23:48:49 +02:00
atomic-host atomic: increase number of inotify watches 2016-03-29 23:48:49 +02:00
balanced Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
cpu-partitioning cpu-partitioning: used tuned instead of tuna for cores isolation 2017-04-28 16:26:12 +02:00
default Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
desktop desktop: fixed typo in profile summary 2017-03-30 17:00:26 +02:00
desktop-powersave profiles: consolidated summaries 2017-04-03 22:52:18 +02:00
enterprise-storage profiles: consolidated summaries 2017-04-03 22:52:18 +02:00
laptop-ac-powersave Use ${i:PROFILE_DIR} in our profiles 2017-03-13 09:50:26 +01:00
laptop-battery-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
latency-performance Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
network-latency Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
network-throughput profiles: consolidated summaries 2017-04-03 22:52:18 +02:00
oracle Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
powersave Use ${i:PROFILE_DIR} in our profiles 2017-03-13 09:50:26 +01:00
realtime realtime: use skew_tick=1 in kernel cmdline 2017-05-29 17:30:17 +02:00
realtime-virtual-guest realtime-virtual-guest: re-assign kernel thread priorities 2017-05-29 17:40:02 +02:00
realtime-virtual-host realtime-virtual-host/guest: added suffix to cmdline 2017-05-29 17:34:42 +02:00
sap-hana sap-hana: explicitly setting kernel.numa_balancing = 0 for better performance 2016-07-12 16:49:10 +02:00
sap-hana-vmware Use ${i:PROFILE_DIR} in our profiles 2017-03-13 09:50:26 +01:00
sap-netweaver Use ${i:PROFILE_DIR} in our profiles 2017-03-13 09:50:26 +01:00
server-powersave Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
spindown-disk Use ${i:PROFILE_DIR} in our profiles 2017-03-13 09:50:26 +01:00
throughput-performance profiles: consolidated summaries 2017-04-03 22:52:18 +02:00
virtual-guest profiles: consolidated summaries 2017-04-03 22:52:18 +02:00
virtual-host Added support for 'summary' and 'description' of profiles 2016-01-05 11:28:25 +01:00
functions profiles/functions: introduce kvm modprobe file helpers 2017-01-10 13:47:50 +01:00