Dan Magenheimer | 6630889 | 2011-02-06 19:27:09 -0800 | [diff] [blame] | 1 | config ZCACHE |
Seth Jennings | bec25df | 2012-03-05 10:46:38 -0600 | [diff] [blame] | 2 | bool "Dynamic compression of swap pages and clean pagecache pages" |
Seth Jennings | 0cbb613 | 2012-02-13 08:47:49 -0600 | [diff] [blame] | 3 | # X86 dependency is because zsmalloc uses non-portable pte/tlb |
| 4 | # functions |
Seth Jennings | 349ae79 | 2012-04-23 20:33:50 -0500 | [diff] [blame] | 5 | depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 |
Seth Jennings | a49aeb1 | 2012-02-09 12:25:03 -0600 | [diff] [blame] | 6 | select ZSMALLOC |
Seth Jennings | 17dd9f8 | 2012-01-03 16:31:34 -0600 | [diff] [blame] | 7 | select CRYPTO_LZO |
Dan Magenheimer | 6630889 | 2011-02-06 19:27:09 -0800 | [diff] [blame] | 8 | default n |
| 9 | help |
| 10 | Zcache doubles RAM efficiency while providing a significant |
Seth Jennings | 17dd9f8 | 2012-01-03 16:31:34 -0600 | [diff] [blame] | 11 | performance boosts on many workloads. Zcache uses |
Dan Magenheimer | 6630889 | 2011-02-06 19:27:09 -0800 | [diff] [blame] | 12 | compression and an in-kernel implementation of transcendent |
| 13 | memory to store clean page cache pages and swap in RAM, |
| 14 | providing a noticeable reduction in disk I/O. |