From 446596ebdc29bbbf2f6afee12f998a35d5b8156c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 16 Jun 2015 11:14:51 +0200 Subject: [PATCH] profiles: added oracle profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: rhbz#1196298 Signed-off-by: Jaroslav Škarvada --- man/tuned-profiles.7 | 6 ++++++ profiles/oracle/tuned.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 profiles/oracle/tuned.conf diff --git a/man/tuned-profiles.7 b/man/tuned-profiles.7 index 792f1a7..505ddac 100644 --- a/man/tuned-profiles.7 +++ b/man/tuned-profiles.7 @@ -111,6 +111,12 @@ settings. Profile optimized for virtual hosts based on throughput\-performance profile. It additionally enables more aggresive writeback of dirty pages. +.TP +.BI "oracle" +Profile optimized for Oracle databases based on throughput\-performance profile. +It additionaly disables transparent huge pages and modifies some other +performance related kernel parameters. + .SH "FILES" .NF .I /etc/tuned/* diff --git a/profiles/oracle/tuned.conf b/profiles/oracle/tuned.conf new file mode 100644 index 0000000..e047fa1 --- /dev/null +++ b/profiles/oracle/tuned.conf @@ -0,0 +1,28 @@ +# +# tuned configuration +# + +[main] +include=throughput-performance + +[sysctl] +vm.swappiness = 1 +vm.dirty_background_ratio = 3 +vm.dirty_ratio = 80 +vm.dirty_expire_centisecs = 500 +vm.dirty_writeback_centisecs = 100 +kernel.shmmax = 4398046511104 +kernel.shmall = 1073741824 +kernel.shmmni = 4096 +kernel.sem = 250 32000 100 128 +fs.file-max = 6815744 +fs.aio-max-nr = 1048576 +net.ipv4.ip_local_port_range = 9000 65500 +net.core.rmem_default = 262144 +net.core.rmem_max = 4194304 +net.core.wmem_default = 262144 +net.core.wmem_max = 1048576 +kernel.panic_on_oops = 1 + +[vm] +transparent_hugepages=never