Skip to content

Add sysctl parameters #28

Open
zarpon wants to merge 4 commits into
V10lator:masterfrom
zarpon:master
Open

Add sysctl parameters #28
zarpon wants to merge 4 commits into
V10lator:masterfrom
zarpon:master

Conversation

@zarpon
Copy link
Copy Markdown
Contributor

@zarpon zarpon commented May 30, 2026

Set some sysctl parameters to fix trashing under heavy memory pressure #25

Comment thread 99-charcoal-sysctl.conf
@@ -0,0 +1,2 @@
vm.kcompressd=256
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Under heavy memory pressure kcompressd stops doing async swap.Increasing the fifo size to its max value givesmore room to manage memory.

Comment thread 99-charcoal-sysctl.conf
@@ -0,0 +1,2 @@
vm.kcompressd=256
vm.vfs_cache_pressure=125
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Increasing vm.vfs_cache_pressure make the system more susceptible to free cache when when the system needs memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant