Skip to content

Commit

Permalink
ZEN: Tune default CLEAN_LOW/MIN_KBYTES values
Browse files Browse the repository at this point in the history
Use safe default values so the le9 patch set.  Systems with more memory
will may want a more aggressive tune.

Signed-off-by: kernelOfTruth <kerneloftruth@gmail.com>
  • Loading branch information
damentz authored and kernelOfTruth committed Jul 18, 2021
1 parent 324f7bd commit fc7ee7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ config SPARSEMEM_VMEMMAP
config CLEAN_LOW_KBYTES
int "Default value for vm.clean_low_kbytes"
depends on SYSCTL
default "0"
default "262144"
help
The vm.clean_low_kbytes sysctl knob provides *best-effort*
protection of clean file pages. The clean file pages on the current
Expand All @@ -142,7 +142,7 @@ config CLEAN_LOW_KBYTES
config CLEAN_MIN_KBYTES
int "Default value for vm.clean_min_kbytes"
depends on SYSCTL
default "0"
default "65536"
help
The vm.clean_min_kbytes sysctl knob provides *hard* protection
of clean file pages. The clean file pages on the current node won't be
Expand Down

0 comments on commit fc7ee7a

Please sign in to comment.