Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set vm.swappiness to 1? #1867

Open
christopherowen opened this issue Jun 24, 2024 · 0 comments
Open

Set vm.swappiness to 1? #1867

christopherowen opened this issue Jun 24, 2024 · 0 comments

Comments

@christopherowen
Copy link

I think it should be preferable to configure the kernel to avoid swapping unless necessary. For low memory machines like the raspberry Pi, this can have a positive impact on performance.

This is done by setting vm.swappiness = 1 in /etc/sysctl.conf

https://askubuntu.com/questions/103915/how-do-i-configure-swappiness

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

No branches or pull requests

1 participant