1
0
Fork 0
tuned/profiles
Luiz Capitulino 03449e60f9 tuned: disable KSM in KVM low-latency profiles
KSM is enabled by default when the qemu-kvm-common-rhev package is
installed. We don't want KSM to run in KVM-RT nor cpu-partitioning
hosts, as it can cause spikes or packet drops.

This series disables KSM in those profiles when they are activated.
Likewise, we re-enable KSM when the profile is de-activated in
case it's enabled by default in systemd.

Luiz Capitulino (3):
  profiles: functions: add functions to disable/enable KSM
  realtime-virtual-host: disable KSM
  cpu-partitioning: disable KSM

 profiles/cpu-partitioning/script.sh      |  2 ++
 profiles/functions                       | 37 ++++++++++++++++++++++++++++++++
 profiles/realtime-virtual-host/script.sh |  3 +++
 3 files changed, 42 insertions(+)

--
2.9.5
Return-Path: lcapitulino@redhat.com
Received: from zmta04.collab.prod.int.phx2.redhat.com (LHLO
 zmta04.collab.prod.int.phx2.redhat.com) (10.5.81.11) by
 zmail22.collab.prod.int.phx2.redhat.com with LMTP; Tue, 3 Oct 2017 15:54:02
 -0400 (EDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by zmta04.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 46F2FD0310
	for <jskarvad@mail.corp.redhat.com>; Tue,  3 Oct 2017 15:54:02 -0400 (EDT)
Received: by smtp.corp.redhat.com (Postfix)
	id 3FBC860F82; Tue,  3 Oct 2017 19:54:02 +0000 (UTC)
Delivered-To: jskarvad@redhat.com
Received: from localhost (ovpn-117-159.phx2.redhat.com [10.3.117.159])
	by smtp.corp.redhat.com (Postfix) with ESMTP id 3A51A60F81;
	Tue,  3 Oct 2017 19:53:59 +0000 (UTC)
From: Luiz Capitulino <lcapitulino@redhat.com>
To: jskarvad@redhat.com
Cc: kvm-rt@redhat.com
Subject: [PATCH 1/3] profiles: functions: add functions to disable/enable KSM
Date: Tue,  3 Oct 2017 15:53:50 -0400
Message-Id: <20171003195352.22910-2-lcapitulino@redhat.com>
In-Reply-To: <20171003195352.22910-1-lcapitulino@redhat.com>
References: <20171003195352.22910-1-lcapitulino@redhat.com>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12

They will be used by the next commits.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2017-10-10 14:00:28 +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 plugin_video: Prefix DPM states with 'dpm-' 2017-09-19 23:03:41 +02:00
cpu-partitioning tuned: disable KSM in KVM low-latency profiles 2017-10-10 14:00:28 +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 plugin_video: Prefix DPM states with 'dpm-' 2017-09-19 23:03:41 +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 network-latency: dropped spurious whitespace 2017-07-19 18:05:45 +02: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 plugin_video: Prefix DPM states with 'dpm-' 2017-09-19 23:03:41 +02:00
realtime network-latency: added skew_tick=1 kernel command line parameter 2017-07-19 13:46:56 +02:00
realtime-virtual-guest realtime profiles: dropped tuna invocation from host/guest 2017-07-19 18:35:17 +02:00
realtime-virtual-host tuned: disable KSM in KVM low-latency profiles 2017-10-10 14:00:28 +02:00
sap-hana sap-hana: fixed description of the sap-hana profiles 2017-08-21 13:40:22 +02:00
sap-hana-vmware profiles: Use net plugin to disable LRO in sap-hana-vmware 2017-09-19 16:38:15 +02: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 tuned: disable KSM in KVM low-latency profiles 2017-10-10 14:00:28 +02:00