blob: 7048e01f081714bf506c1c4f83f6e6740faacb7b [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
Seth Jennings349ae792012-04-23 20:33:50 -05005 depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && 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.