mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
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.
This commit is contained in:
parent
6afbd502e8
commit
108decfa76
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user