View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#108
Originally Posted by tso View Post
So basically you have the whole ram set aside as compressed swap, lma?
No, only up to 32MiB (memlimit_kb option, actual usage reported as MemUsedTotal in /proc/ramzswap) which can hold up to 128MiB before compression (disksize_kb, actual size is what is reported by free or /proc/swaps).

In the above snapshot the tradeoff is 27904KiB physical RAM for 96608Kib virtual memory, ie a net gain of around 67MiB without having to use slow flash.

http://code.google.com/p/compcache/wiki/StatsExplained has some more details / discussion.
 

The Following User Says Thank You to lma For This Useful Post: