The Following User Says Thank You to droll For This Useful Post: | ||
![]() |
2012-01-01
, 13:20
|
Posts: 69 |
Thanked: 55 times |
Joined on Nov 2009
|
#2
|
![]() |
2012-01-01
, 18:49
|
Posts: 336 |
Thanked: 129 times |
Joined on Jan 2011
@ portugal
|
#3
|
![]() |
2012-01-01
, 23:07
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#4
|
![]() |
2012-01-02
, 02:39
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#5
|
![]() |
2012-01-02
, 03:01
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#6
|
![]() |
2012-01-02
, 07:45
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#7
|
The Following 2 Users Say Thank You to ivgalvez For This Useful Post: | ||
![]() |
2012-01-02
, 14:20
|
|
Posts: 139 |
Thanked: 181 times |
Joined on Nov 2011
@ Oulu, Finland
|
#8
|
The Following 2 Users Say Thank You to Raimu For This Useful Post: | ||
![]() |
2012-01-02
, 15:37
|
|
Posts: 139 |
Thanked: 181 times |
Joined on Nov 2011
@ Oulu, Finland
|
#9
|
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.
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).
The Following User Says Thank You to Raimu For This Useful Post: | ||
![]() |
2012-01-03
, 00:14
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#10
|
The Following User Says Thank You to droll For This Useful Post: | ||
i have this running in a script and scheduled using alarmed to run on a daily basis at 2am.
sqlite3 /home/user/.rtcom-eventlogger/el-v1.db 'VACUUM;'
sqlite3 /home/user/.rtcom-eventlogger/e1.db 'VACUUM;'
sqlite3 /home/user/.qmf/qmailstore.db 'VACUUM;'
sqlite3 /home/user/.calendar/calendardb 'VACUUM;'
sqlite3 /home/user/.config/hildon-desktop/notifications 'VACUUM;'
sqlite3 /home/user/.fmms/mms.db 'VACUUM;'
i have an uptime of 3 days now and it usually starts to lag noticeably (i use optimize n900). but the above seems to have made the phone quicker to respond. the fmms entry probably doesn't do anything for the phone overall but i just included it for fun.
here are some examples of phone being snappier:
1. microb is faster in opening multiple windows
2. launching xterm is faster
3. opening settings - there used to be a slight delay of about 2 to 3 seconds while the top of the window has a spinning icon. but it is now instant.
4. opening sms and email apps is much faster.
5. deleting smses is very much faster.
i don't understandm the effect of those dbs being compressed on overall performance and some of them don't seem related to e.g. microb or launching the settings app but this is what i observe.
anyway, just thought i'd share this and see if anyone else can benefit from it.
thanks.