Commit | Line | Data |
---|---|---|
faca2ef7 DM |
1 | config ZCACHE2 |
2 | bool "Dynamic compression of swap pages and clean pagecache pages" | |
3 | depends on CRYPTO=y && SWAP=y && CLEANCACHE && FRONTSWAP && !ZCACHE | |
4 | select CRYPTO_LZO | |
5 | default n | |
6 | help | |
7 | Zcache2 doubles RAM efficiency while providing a significant | |
8 | performance boosts on many workloads. Zcache2 uses | |
9 | compression and an in-kernel implementation of transcendent | |
10 | memory to store clean page cache pages and swap in RAM, | |
11 | providing a noticeable reduction in disk I/O. Zcache2 | |
12 | is a complete rewrite of the older zcache; it was intended to | |
13 | be a merge but that has been blocked due to political and | |
14 | technical disagreements. It is intended that they will merge | |
15 | again in the future. Until then, zcache2 is a single-node | |
16 | version of ramster. | |
14c9fda5 DM |
17 | |
18 | config RAMSTER | |
19 | bool "Cross-machine RAM capacity sharing, aka peer-to-peer tmem" | |
20 | depends on CONFIGFS_FS=y && SYSFS=y && !HIGHMEM && ZCACHE2=y | |
21 | # must ensure struct page is 8-byte aligned | |
22 | select HAVE_ALIGNED_STRUCT_PAGE if !64_BIT | |
23 | default n | |
24 | help | |
25 | RAMster allows RAM on other machines in a cluster to be utilized | |
26 | dynamically and symmetrically instead of swapping to a local swap | |
27 | disk, thus improving performance on memory-constrained workloads | |
28 | while minimizing total RAM across the cluster. RAMster, like | |
29 | zcache2, compresses swap pages into local RAM, but then remotifies | |
30 | the compressed pages to another node in the RAMster cluster. |