mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
doc: match code on sysctl -w vm.swappiness=1 (#8894)
This commit is contained in:
parent
0cbebf0f57
commit
0414f01b6e
@ -35,7 +35,7 @@ Recommended virtual memory settings are as follows.
|
||||
- *`swappiness`* : This parameter controls the relative weight given to swapping out runtime memory, as opposed to dropping pages from the system page cache. It takes values from 0 to 100, both inclusive. We recommend setting it to 10.
|
||||
|
||||
```sh
|
||||
sysctl -w vm.swappiness=10
|
||||
sysctl -w vm.swappiness=1
|
||||
```
|
||||
|
||||
- *`dirty_background_ratio`*: This is the percentage of system memory that can be filled with `dirty` pages, i.e. memory pages that still need to be written to disk. We recommend writing the data to the disk as soon as possible. To do this, set the `dirty_background_ratio` to 1.
|
||||
|
Loading…
Reference in New Issue
Block a user