Files
mesh-catalog/modules/memory-pressure/files/sysctl.conf
T

10 lines
559 B
Plaintext

# Managed by the mesh (module memory-pressure). Replaced on every push; edit the catalogue instead.
#
# Swap-in reads one page, not eight: read-ahead exists to amortise a disk's seek, and compressed swap in
# RAM has none — the speculation only costs decompression and memory.
vm.page-cluster = 0
#
# vm.swappiness is deliberately left alone. The usual zram advice (150-180) holds only while the
# compressed swap has room; once it is full, a higher swappiness moves pages to the disk swap, the thing
# being avoided. Raise it only together with zram-size.