Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recommend using swap together with zswap, and increase swappiness. Zswap is available in mainline kernel. It keeps compressed "swapped-out" pages in memory (so they are accessible quickly on page fault) and only uncompressible pages go to disk. Usually most of memory is compressible and overhead is small, so it is suitable for many workloads. See https://wiki.archlinux.org/index.php/Zswap .


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: