Skip to content

Commit

Permalink
Document new vm plugin options
Browse files Browse the repository at this point in the history
  • Loading branch information
zacikpa committed Sep 18, 2024
1 parent 15ef839 commit 4c724c2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ Sets autosuspend timeout of USB devices to the value specified by the [option]`a
The value `0` means that autosuspend is disabled.

`vm`::
Enables or disables transparent huge pages depending on the Boolean value of the [option]`transparent_hugepages` option.
Tunes selected sysctl options in `/proc/sys/vm`, currently
[option]`dirty_ratio`, [option]`dirty_background_ratio`,
[option]`dirty_bytes`, and [option]`dirty_background_bytes`.
For details of these options, see link:https://docs.kernel.org/admin-guide/sysctl/vm.html[docs.kernel.org].
+
Additionaly enables or disables transparent huge pages depending on
the value of the [option]`transparent_hugepages` option.
+
Valid values of the [option]`transparent_hugepages` option are:
+
Expand Down
12 changes: 9 additions & 3 deletions tuned/plugins/plugin_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ class VMPlugin(base.Plugin):
"""
`vm`::
Enables or disables transparent huge pages depending on value of the
[option]`transparent_hugepages` option. The option can have one of three
possible values `always`, `madvise` and `never`.
Tunes selected sysctl options in `/proc/sys/vm`, currently
[option]`dirty_ratio`, [option]`dirty_background_ratio`,
[option]`dirty_bytes`, and [option]`dirty_background_bytes`.
See https://docs.kernel.org/admin-guide/sysctl/vm.html for detailed
documentation of these options.
+
Additionaly enables or disables transparent huge pages depending on
the value of the [option]`transparent_hugepages` option. The option
can have one of three possible values: `always`, `madvise` and `never`.
+
.Disable transparent hugepages
====
Expand Down

0 comments on commit 4c724c2

Please sign in to comment.