diff options
| author | Bob Liu <bob.liu@oracle.com> | 2013-08-06 19:36:14 +0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:15:13 -0700 |
| commit | c3ca4b603e062b56119d3602cb99cc779e7d65f9 (patch) | |
| tree | d5448f263e495ecbcac62f6ff05114bf82aa8dd3 /mm/Kconfig | |
| parent | afbbca6a77b067bf612f593f084f0e54656565ec (diff) | |
mm: zcache: add core files
zcache is a backend for cleancache that takes file pages that are in the
process of being reclaimed and attempts to compress them and store them
in a RAM-based memory pool. This can result in a significant I/O reduction
if system is full with file pages and, in the case where decompressing
from RAM is faster than reading from the disk, can also improve workload
performance.
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Patch-mainline: linux-mm @ 2013-08-06 11:36:14
[vinmenon@codeaurora.org: trivial merge conflict fixes, checkpatch fixes]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Change-Id: Id05bcc1946eee22b94a83adeb0134a3f6e357ef8
Diffstat (limited to 'mm/Kconfig')
| -rw-r--r-- | mm/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index abfaf331c140..52b96793b9e0 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -619,6 +619,22 @@ config MAX_STACK_SIZE_MB A sane initial value is 80 MB. +config ZCACHE + bool "Compressed cache for file pages (EXPERIMENTAL)" + depends on CRYPTO && CLEANCACHE + select CRYPTO_LZO + select ZBUD + default n + help + A compressed cache for file pages. + It takes active file pages that are in the process of being reclaimed + and attempts to compress them into a dynamically allocated RAM-based + memory pool. + + If this process is successful, when those file pages needed again, the + I/O reading operation was avoided. This results in a significant performance + gains under memory pressure for systems full with file pages. + config BALANCE_ANON_FILE_RECLAIM bool "During reclaim treat anon and file backed pages equally" depends on SWAP |
