maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   compressing a few dbs = phone feels like after a fresh reboot? (https://talk.maemo.org/showthread.php?t=81249)

droll 2012-01-03 00:16

Re: compressing a few dbs = phone feels like after a fresh reboot?
 
now that i think about it, maybe i should set the microsd swap as having a higher priority first? so that the when i remove this swap location temporarily after monitoring the threshold with iostat, i can re-enable it again and the phone will have a fresh swap location to work with?

[edit]flawed logic. having both with same priority is still ok. i can simply swapon / swapoff both swap locations one after another to achieve an almost fresh state.

ivgalvez 2012-01-03 09:02

Re: compressing a few dbs = phone feels like after a fresh reboot?
 
Please move the discussion around swap to the appropriate thread to avoid polluting this one. Thanks

reinob 2012-01-03 09:30

Re: compressing a few dbs = phone feels like after a fresh reboot?
 
Quote:

Originally Posted by Estel (Post 1144404)
I hope it is not off-topic here, as it is mean to increase uptime without lags - using swap on microSD (even class 2) and re-enabling it after total amount of data written to swap partition exceeds 600 (*not* data currently on swap, but data written totally, check iostat), result in absolutely 0 negative effects of long uptime.

"600" what? According to iostat I have mmcblk1p2 (swap) with blk_wrtn = 1455752 (blocks) = 710MB. Do you mean 600MB?

Quote:

Using the above (re-swapping by semi-automatic script that I've based on shadowjk's work) I used to get uptimes like 30 days (sic!) without any negative effect on performance (used, because now I'm installing/tweaking etc. things, that many times require reboot to take effect).
My current uptime is 24 days. No sign of any lags. Swap is only on 768MB partition on sd card. Currently 140MB are being used.

I once tried recycling the swap (changing to mmcblk0 and then back to mmcblk1) but didn't notice any improvement. I sort of expected that the swap would be (almost) cleared, but it actually grew up.. after some time it sort of fell back to the previous usage (= before recycling), so I stopped thinking about it.

I suppose you're experience is different.. but in any case with my light usage I guess I'm fine..

Add: ivgalvez: sorry for continuing the off-topic!

Estel 2012-01-03 09:50

Re: compressing a few dbs = phone feels like after a fresh reboot?
 
Moving reply to:
http://talk.maemo.org/showthread.php...ght=swap+micro
...as requested. Sorry for OT.


All times are GMT. The time now is 01:53.

vBulletin® Version 3.8.8