Skip to content

Commit b20616a

Browse files
committed
Revert to use memory pressure
1 parent 986ca9a commit b20616a

5 files changed

Lines changed: 619 additions & 397 deletions

File tree

include/swap-default.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ swap_mode=auto
5959

6060
## swapfile_enabled=1 # Enable swap file management
6161
## swapfile_path=/swapfile # Base path for swap files
62-
## swapfile_chunk_size=512M # Size of each swap file
62+
## swapfile_chunk_size=1G # Size of each swap file
6363
## swapfile_max_count=32 # Maximum number of swap files
64+
## swapfile_free_ram_perc=20 # Expand when free RAM < this %
65+
## swapfile_free_swap_perc=40 # Expand when free swap < this %
66+
## swapfile_remove_free_swap_perc=70 # Contract when free swap > this %
6467

6568
################################################################################
6669
# MGLRU Anti-Thrashing

0 commit comments

Comments
 (0)