View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#42
Originally Posted by Estel View Post
For most, (me including), ramzswap works OK, but doesn't offer any noticeable benefits.

As for ereswap, of course, it provides benefits - after all, "virtual" swap is a gain of only half of ramzswap size (so, for 64 MB ramzswap, You "gain" 32 MB at cost of CPU power), so fragmentation of "real" swap is only delayed.
Hm, curious... on my N810 the difference between swap on MMC/SD vs ramzswap is like night and day. Also the gain is typically more like 2x the amount of RAM used (OrigDataSize/ComprDataSize tends to hover around 3), see sample stats (when really pushing it) here.

Anyway, I was basically wondering whether fragmentation is a significant issue on RAM and whether ereswap-like recycling would make sense in that context. I practically never hit "real" swap (even though I've left it enabled just in case with a lower priority) so that's not a real concern.
 

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