View Single Post
Posts: 370 | Thanked: 443 times | Joined on Jan 2006 @ Italy
#279
Originally Posted by peterleinchen View Post
I did not mean running SD swap with lower priority (would make no sense).
Your conf is OK. But using compcache caused lots of huge lags/freezes/reboots, so I do not use it at all anymore.
For me, compcache works and I feel the speed/occasional lags tradeoff OK

Originally Posted by peterleinchen View Post
Usage of eMMC swap is due to startup usage, depending on how you start it (as early as possible with hacked rcS-late? or just as I do with an own event.d job?).
Currently I've swapset installed, so I think it sets swaps after start of Hildon-desktop

Originally Posted by peterleinchen View Post
What do you mean by "move data between swaps"?
I mean:
If data used 'often' are swapped in compcache, we could try to swap out 'old' data from compcache to 'real' swap in order to keep most used data in ram. I did not found any mechanism like that - and at a second glance it looks like it won't make sense in a desktop system where we don't have so many constraints and compressed file systems. I am currently using two smaller eMMC swaps instead of a big one, and it feels more laggy but with shorter lags. It is really hard to tell if there are differences without a test suite and with so many use cases.