File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 1414class VMPlugin (base .Plugin ):
1515 """
1616 Tunes selected sysctl options in `/proc/sys/vm`, currently
17- [option]`dirty_ratio`, [option]`dirty_background_ratio`,
1817 [option]`dirty_bytes`, and [option]`dirty_background_bytes`.
1918 See https://docs.kernel.org/admin-guide/sysctl/vm.html for detailed
2019 documentation of these options.
2120
22- Additionaly enables or disables transparent huge pages depending on
21+ .Set dirty bytes to 64 MiB
22+ ====
23+ ----
24+ [vm]
25+ dirty_bytes=67108864
26+ ----
27+ ====
28+
29+ .Set dirty bytes to 10% of total available memory
30+ ====
31+ Note that this updates the `/proc/sys/vm/dirty_ratio` sysctl option.
32+ ----
33+ [vm]
34+ dirty_bytes=10%
35+ ----
36+ ====
37+
38+ Additionally enables or disables transparent huge pages depending on
2339 the value of the [option]`transparent_hugepages` option. The option
2440 can have one of three possible values: `always`, `madvise` and `never`.
2541
You can’t perform that action at this time.
0 commit comments