View Single Post
Posts: 131 | Thanked: 184 times | Joined on Dec 2011
#10
I'm getting the impression this is a great feature which needs some tweaking to make it work well.

Firstly, by sampling CPU usage, we could tell compcache to stop compressing when CPU usage is high.

Secondly, with some stats, we could profile which programs' data weren't worth compressing and exclude them.

Originally Posted by Hurrian View Post
I stopped using ramzswap on the N900 - even if I used the IO Improvement tweaks, once you fill up the swapspace, everything grinds to a halt.
Shouldn't the compressed ramdisk be paged out to flash swap (without decompressing) when it's full?

It doesn't help that Maemo likes spiking CPU usage for no reason at all, especially when your CPU is hammered compressing/decompressing while swaps are thrashed for infinity.
Bug that can be fixed?
 

The Following 2 Users Say Thank You to _David_ For This Useful Post: