View Single Post
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#35
Originally Posted by evan View Post
insmod /lib/modules/current/ramzswap.ko disksize_kb=131072
wait a minute. does the n900 have 131mb free even after boot?
and then we momentarily swapoff the default partition,so 131mb have to be real ram. very risky operations.
are you sure with the above disksize we are not adding double that? is'nt the disksize the ram we are asking and not the target?
"disksize_kb is upper limit on uncompressed worth of data given device can hold. While, memlimit_kb is upper limit on compressed worth of data given device can hold.

I understand that specifying disksize_kb value as upper limit on uncompressed data size seems bit counter-intuitive but this is how it is... We need to present a "fixed-size" disk to kernel." (from the author of compcache).
 

The Following 4 Users Say Thank You to 412b For This Useful Post: