-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ZCACHE, CLEANCACHE, FRONTSWAP (thanks to @faux123) with some fixes
- Loading branch information
1 parent
9034ae5
commit 48e3ec0
Showing
28 changed files
with
3,602 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
config ZCACHE | ||
tristate "Dynamic compression of swap pages and clean pagecache pages" | ||
depends on CLEANCACHE || FRONTSWAP | ||
select XVMALLOC | ||
select LZO_COMPRESS | ||
select LZO_DECOMPRESS | ||
default n | ||
help | ||
Zcache doubles RAM efficiency while providing a significant | ||
performance boosts on many workloads. Zcache uses lzo1x | ||
compression and an in-kernel implementation of transcendent | ||
memory to store clean page cache pages and swap in RAM, | ||
providing a noticeable reduction in disk I/O. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
zcache-y := zcache-main.o tmem.o | ||
|
||
obj-$(CONFIG_ZCACHE) += zcache.o |
Oops, something went wrong.