@@ -25,9 +25,6 @@ files can be found in mm/swap.c.
2525Currently, these files are in /proc/sys/vm:
2626
2727- admin_reserve_kbytes
28- - anon_min_ratio
29- - clean_low_ratio
30- - clean_min_ratio
3128- compact_memory
3229- compaction_proactiveness
3330- compact_unevictable_allowed
@@ -109,67 +106,6 @@ On x86_64 this is about 128MB.
109106Changing this takes effect whenever an application requests memory.
110107
111108
112- anon_min_ratio
113- ==============
114-
115- This knob provides *hard * protection of anonymous pages. The anonymous pages
116- on the current node won't be reclaimed under any conditions when their amount
117- is below vm.anon_min_ratio.
118-
119- This knob may be used to prevent excessive swap thrashing when anonymous
120- memory is low (for example, when memory is going to be overfilled by
121- compressed data of zram module).
122-
123- Setting this value too high (close to 100) can result in inability to
124- swap and can lead to early OOM under memory pressure.
125-
126- The unit of measurement is the percentage of the total memory of the node.
127-
128- The default value is 15.
129-
130-
131- clean_low_ratio
132- ================
133-
134- This knob provides *best-effort * protection of clean file pages. The file pages
135- on the current node won't be reclaimed under memory pressure when the amount of
136- clean file pages is below vm.clean_low_ratio *unless * we threaten to OOM.
137-
138- Protection of clean file pages using this knob may be used when swapping is
139- still possible to
140- - prevent disk I/O thrashing under memory pressure;
141- - improve performance in disk cache-bound tasks under memory pressure.
142-
143- Setting it to a high value may result in a early eviction of anonymous pages
144- into the swap space by attempting to hold the protected amount of clean file
145- pages in memory.
146-
147- The unit of measurement is the percentage of the total memory of the node.
148-
149- The default value is 0.
150-
151-
152- clean_min_ratio
153- ================
154-
155- This knob provides *hard * protection of clean file pages. The file pages on the
156- current node won't be reclaimed under memory pressure when the amount of clean
157- file pages is below vm.clean_min_ratio.
158-
159- Hard protection of clean file pages using this knob may be used to
160- - prevent disk I/O thrashing under memory pressure even with no free swap space;
161- - improve performance in disk cache-bound tasks under memory pressure;
162- - avoid high latency and prevent livelock in near-OOM conditions.
163-
164- Setting it to a high value may result in a early out-of-memory condition due to
165- the inability to reclaim the protected amount of clean file pages when other
166- types of pages cannot be reclaimed.
167-
168- The unit of measurement is the percentage of the total memory of the node.
169-
170- The default value is 15.
171-
172-
173109compact_memory
174110==============
175111
@@ -974,14 +910,6 @@ be 133 (x + 2x = 200, 2x = 133.33).
974910At 0, the kernel will not initiate swap until the amount of free and
975911file-backed pages is less than the high watermark in a zone.
976912
977- This knob has no effect if the amount of clean file pages on the current
978- node is below vm.clean_low_ratio or vm.clean_min_ratio. In this case,
979- only anonymous pages can be reclaimed.
980-
981- If the number of anonymous pages on the current node is below
982- vm.anon_min_ratio, then only file pages can be reclaimed with
983- any vm.swappiness value.
984-
985913
986914unprivileged_userfaultfd
987915========================
0 commit comments