blob: 3ed2c8f656a52d8ce46eae00e6ff908314a507fa [file] [log] [blame]
Dan Magenheimer66308892011-02-06 19:27:09 -08001config ZCACHE
Seth Jenningsbec25df2012-03-05 10:46:38 -06002 bool "Dynamic compression of swap pages and clean pagecache pages"
Seth Jennings0cbb6132012-02-13 08:47:49 -06003 # X86 dependency is because zsmalloc uses non-portable pte/tlb
4 # functions
5 depends on (CLEANCACHE || FRONTSWAP) && CRYPTO && X86
Seth Jenningsa49aeb12012-02-09 12:25:03 -06006 select ZSMALLOC
Seth Jennings17dd9f82012-01-03 16:31:34 -06007 select CRYPTO_LZO
Dan Magenheimer66308892011-02-06 19:27:09 -08008 default n
9 help
10 Zcache doubles RAM efficiency while providing a significant
Seth Jennings17dd9f82012-01-03 16:31:34 -060011 performance boosts on many workloads. Zcache uses
Dan Magenheimer66308892011-02-06 19:27:09 -080012 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.