swappiness, SSD health, SWAP, common missunderstanding, change in the algo

24 views
Skip to first unread message

Nikolai Safronov

unread,
Mar 20, 2023, 6:32:23 AM3/20/23
to Errors in Easylinuxtipsproject
Hey! Love your work.
You might want to go down the swappiness value rabbit hole:
https://bbs.archlinux.org/viewtopic.php?id=271192
https://chrisdown.name/2018/01/02/in-defence-of-swap.html

Two main takeaways:
- "The best practice for SSD is having swappiness around 100."
- SSD is impossible to "shield" from swap writes - even with a zero swap, as in a crunch the pages would be written to disk anyway.

Best, Nick

Beheerder Computertip

unread,
Mar 22, 2023, 7:19:28 AM3/22/23
to Errors in Easylinuxtipsproject
Hi Nikolai,

Well, opinions differ. As do use cases. For the time being, I think my current advice (swappiness of 25) is the best compromise....

Regards, Pjotr.

Op maandag 20 maart 2023 om 11:32:23 UTC+1 schreef Nikolai Safronov:
Reply all
Reply to author
Forward
0 new messages