From 8fd6b5e2206e4c0571ad64fbe74a1fec7f847de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 28 May 2020 15:24:00 +0200 Subject: [PATCH] Added new profile optimize-serial-console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Profile which tunes down I/O activity to the serial console by reducing the printk value. This should make the serial console more responsive. This profile is intended to be used as an overlay on other profiles (e.g. throughput-performance profile), example: # tuned-adm profile throughput-performance optimize-serial-console Also minor fixes to the man page quoting. Resolves: rhbz#1840689 Signed-off-by: Jaroslav Škarvada --- man/tuned-profiles.7 | 12 ++++++++++-- profiles/optimize-serial-console/tuned.conf | 11 +++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 profiles/optimize-serial-console/tuned.conf diff --git a/man/tuned-profiles.7 b/man/tuned-profiles.7 index 8e536c2..9a59a1f 100644 --- a/man/tuned-profiles.7 +++ b/man/tuned-profiles.7 @@ -122,11 +122,19 @@ Profile optimized for virtual hosts based on throughput\-performance profile. It additionally enables more aggressive writeback of dirty pages. .TP -.BI "intel-sst" +.BI "intel\-sst" Profile optimized for systems with user-defined Intel Speed Select Technology configurations. This profile is intended to be used as an overlay on other profiles (e.g. cpu\-partitioning profile), example: -.B tuned\-adm profile cpu\-partitioning intel-sst +.B tuned\-adm profile cpu\-partitioning intel\-sst + +.TP +.BI "optimize\-serial\-console" +Profile which tunes down I/O activity to the serial console by reducing the +printk value. This should make the serial console more responsive. +This profile is intended to be used as an overlay on other +profiles (e.g. throughput\-performance profile), example: +.B tuned\-adm profile throughput\-performance optimize\-serial\-console .SH "FILES" .nf diff --git a/profiles/optimize-serial-console/tuned.conf b/profiles/optimize-serial-console/tuned.conf new file mode 100644 index 0000000..c3c927d --- /dev/null +++ b/profiles/optimize-serial-console/tuned.conf @@ -0,0 +1,11 @@ +# +# tuned configuration +# +# This tuned configuration optimizes for serial console performance at the +# expense of reduced debug information to the console. + +[main] +summary=Optimize for serial console use. + +[sysctl] +kernel.printk="4 4 1 7"