Comment

Comment by mrob

>While this seems an easy relationship to satisfy, more-complex models based on real-world performance parameters and access patterns indicate that it is, in reality, very difficult to obtain a performance boost with this method.

Now that improvements in CPU speed have outpaced improvements in storage speed, it's easier to benefit from compressed swap in ram. Linux includes "zswap"[0], which in my experience works well for postponing the severe performance degradation you otherwise get with heavy memory pressure on general desktop use. If you think you want to set "vm.swappiness=0" (which I ran for several years), you probably want to enable zswap instead. If you're running Debian, you can set it up by installing "zram-tools" (which can be configured with /etc/default/zramswap if you're not happy with the default).

[0] https://en.wikipedia.org/wiki/Zswap

parent mrob 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton