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