View Single Post
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#319
Originally Posted by phedders View Post
Hi Titan

in case you couldnt guess... I still am very grateful for your work with the kernel and including so many useful patches and modules.

So I have one more request - any chance you could include the compcache / zram patches? I want to try using zram on the N900 - I think it could make quite a difference to avoid going to flash for swap.

I know it's already been requested - but

0.7 is even better - no need for a user mode util because it uses /sys/block/zramX/ files for config

and also - the zram module is still useful even without the swap_notify patch - that just makes it more efficient.
I don't get it, why would you use a ramdisk for swap? The whole reason the kernel even uses swap is to take inactive pages out of memory so there is room for active pages. By creating a ramdisk, you reduce the amount of RAM you can use for these active pages. Maybe to reduce wear on the flash device? I think this would ultimately reduce performance since your usable RAM size will be significantly reduced?