| config ZCACHE | |
| bool "Dynamic compression of swap pages and clean pagecache pages" | |
| # X86 dependency is because zsmalloc uses non-portable pte/tlb | |
| # functions | |
| depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86 | |
| select ZSMALLOC | |
| select CRYPTO_LZO | |
| default n | |
| help | |
| Zcache doubles RAM efficiency while providing a significant | |
| performance boosts on many workloads. Zcache uses | |
| compression and an in-kernel implementation of transcendent | |
| memory to store clean page cache pages and swap in RAM, | |
| providing a noticeable reduction in disk I/O. |