From 108decfa76e32e0f47165bf0b2acc2ae69763307 Mon Sep 17 00:00:00 2001 From: Laurentiu Nicola Date: Thu, 3 Aug 2017 00:08:58 +0300 Subject: [PATCH] Fix sysctl proposed values (#4741) `sched_wakeup_granularity_ns` and `sched_wakeup_granularity_ns` are measured in `ns`, so a value of `10` or `15` is way too low. --- docs/deployment/kernel-tuning/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deployment/kernel-tuning/README.md b/docs/deployment/kernel-tuning/README.md index aa2730af3..85bc97811 100644 --- a/docs/deployment/kernel-tuning/README.md +++ b/docs/deployment/kernel-tuning/README.md @@ -57,13 +57,13 @@ Proper scheduler configuration makes sure Minio process gets adequate CPU time. - *`sched_min_granularity_ns`*: This parameter decides the minimum time a task will be be allowed to run on CPU before being pre-empted out. We recommend setting it to 10ms. ```sh -sysctl -w kernel.sched_min_granularity_ns=10 +sysctl -w kernel.sched_min_granularity_ns=10000000 ``` - *`sched_wakeup_granularity_ns`*: Lowering this parameter improves wake-up latency and throughput for latency critical tasks, particularly when a short duty cycle load component must compete with CPU bound components. ```sh -sysctl -w kernel.sched_wakeup_granularity_ns=15 +sysctl -w kernel.sched_wakeup_granularity_ns=15000000 ``` ## Tuning Disks