From 7a06e158f1f6185c015b3c6a87da1c4ea5129839 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 6 Jan 2020 00:30:04 -0800 Subject: [PATCH] Add docs for sysctl tuning parameters (#8749) --- docs/deployment/kernel-tuning/README.md | 2 + docs/deployment/kernel-tuning/disk-tuning.sh | 0 docs/deployment/kernel-tuning/sysctl.sh | 91 ++++++++++++++++++++ 3 files changed, 93 insertions(+) mode change 100644 => 100755 docs/deployment/kernel-tuning/disk-tuning.sh create mode 100755 docs/deployment/kernel-tuning/sysctl.sh diff --git a/docs/deployment/kernel-tuning/README.md b/docs/deployment/kernel-tuning/README.md index 69bb27c54..8a66adf53 100644 --- a/docs/deployment/kernel-tuning/README.md +++ b/docs/deployment/kernel-tuning/README.md @@ -58,6 +58,8 @@ echo madvise | sudo tee /sys/kernel/mm/transparent_hugepage/enabled Also, set `transparent_hugepage=madvise` on your kernel command line (e.g. in /etc/default/grub) to persistently set this value. +All these system level tunings are conveniently packaged in [shell script](https://github.com/minio/minio/blob/master/docs/deployment/kernel-tuning/sysctl.sh). Please review the shell script for our recommendations. + ## Tuning Scheduler Proper scheduler configuration makes sure MinIO process gets adequate CPU time. Here are the recommended scheduler settings diff --git a/docs/deployment/kernel-tuning/disk-tuning.sh b/docs/deployment/kernel-tuning/disk-tuning.sh old mode 100644 new mode 100755 diff --git a/docs/deployment/kernel-tuning/sysctl.sh b/docs/deployment/kernel-tuning/sysctl.sh new file mode 100755 index 000000000..eb2914969 --- /dev/null +++ b/docs/deployment/kernel-tuning/sysctl.sh @@ -0,0 +1,91 @@ +#!/bin/bash + +cat > sysctl.conf