Active Topics

 


Reply
Thread Tools
Posts: 958 | Thanked: 483 times | Joined on May 2010
#11
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.

Last edited by droll; 2012-01-03 at 01:35.
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#12
Please move the discussion around swap to the appropriate thread to avoid polluting this one. Thanks
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#13
Originally Posted by Estel View Post
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?

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's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#14
Moving reply to:
http://talk.maemo.org/showthread.php...ght=swap+micro
...as requested. Sorry for OT.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

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


 
Forum Jump


All times are GMT. The time now is 19:31.