John Andersen schreef op 26-04-2016 23:15:
To that I would add, that my system seldom uses swap. My swap is there mostly for suspend to disk.
I don't have any noticeable non-responsive incidents that are disk related.
If you have no swap and you have plenty of buffers, that makes sense. Swap is designed for systems that are low on memory.
Wiki says https://en.wikipedia.org/wiki/Swappiness 60 is the default and that value is specifically designed for desktop systems.
It actually doesn't say that that value is specifically designed for desktop systems (even if it is). It says that putting it to 0 (or in the direction of 0) improves responsiveness while putting it to 100 (or in the direction of 100) improves overall (average) performance. That's all it says there.
Setting it lower make it more resistant to swapping, which means releasing buffers when space is needed. Of course this only make sense if you have excess memory such that you essentially never need to swap at all.
No it makes sense if immediate responsiveness is more important to you than overall disk performance. If you are okay with slightly longer load times, but a more responsive system when you need it, then you can lower the value. But I will just respond to Carlos instead ;-).
I might play with other values and see if there are any improvements.
Won't help you if you don't have swap or your system doesn't use it :p. I mean... :-/. It's gotta be me right. Anyway. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org