![]() |
2013-03-21
, 10:00
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#2
|
![]() |
2013-03-21
, 10:23
|
|
Posts: 6,450 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#3
|
My N9 is fastest in every way when swap memory usage is lowest. Emails swipe faster, homescreens swipe faster, and I think that swap-related slowdown is one of the primary reasons N9 owners are rebooting all of the time--because rebooting resets the swap memory.
How can we reset the swap memory as if we had rebooted without actually rebooting? After looking and searching I have yet to find an answer.
swapoff -a swapon -a
The Following 3 Users Say Thank You to pichlo For This Useful Post: | ||
![]() |
2013-03-21
, 10:50
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#4
|
The Following User Says Thank You to Mikkosssss For This Useful Post: | ||
![]() |
2013-03-21
, 14:21
|
Posts: 32 |
Thanked: 22 times |
Joined on Jul 2012
@ Germany
|
#5
|
terminal command: aegis-exec /opt/dropcache-mdn/bin/dropcache.sh --3
The Following User Says Thank You to Lirion For This Useful Post: | ||
![]() |
2013-03-21
, 16:15
|
Posts: 359 |
Thanked: 322 times |
Joined on Jun 2010
|
#6
|
Well, I don't use OC, I don't use FasterN9, and still I find the performace good all the time regardless of uptimes...
(well it's only 7 days now because I did some boot stuff back then... but generally I only boot my device when I need to change to different kernel/OS...)
I do not think you need to boot your devices regularily to have good performance. If that's required, then you have misbehaving applications or you have yourself done some tuning of the device that has turned sour.
I thought the whole idea of swapping is to put the less used memory blocks out of the way but have them ready when needed. Resetting the swap would mean that the next time the memory block is needed, it will have to be reinitialized again which is slower than fetching it from the swap. It is true that the swap space may become fragmented in which case a reset may help a little but you will get a better performance boost by closing applications to reduce the absolute memory usage.
Have you found this?
http://talk.maemo.org/showthread.php?t=84007
You can reset the swap by running (as root)
I won't recommend it though. I don't have an N9, but on my N900 this takes a LONG time (minutes) and results in some background tasks forcibly closed as they can't allocate memory while the swap is off.Code:swapoff -a swapon -a
![]() |
2013-03-21
, 16:17
|
|
Posts: 2,021 |
Thanked: 1,060 times |
Joined on Apr 2010
@ Hong Kong
|
#7
|
The Following User Says Thank You to TMavica For This Useful Post: | ||
![]() |
2013-03-21
, 16:29
|
Posts: 359 |
Thanked: 322 times |
Joined on Jun 2010
|
#8
|
Swap memory cant be free up except booting, only way is to add more swap memory from 255 to 412
![]() |
2013-03-21
, 16:35
|
|
Posts: 2,021 |
Thanked: 1,060 times |
Joined on Apr 2010
@ Hong Kong
|
#9
|
The Following User Says Thank You to TMavica For This Useful Post: | ||
![]() |
2013-03-21
, 19:36
|
|
Posts: 6,450 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#10
|
Why? This seems so strange . . . Please help me understand. Is it a bug?
N900:~# free total used free shared buffers Mem: 235252 232012 3240 0 1784 -/+ buffers: 230228 5024 Swap: 786424 71540 714884
I have seen other threads that discuss complex (and admittedly risky) ways to add swap capacity to our N9s, but I have a much more simple question:
How can we reset the swap memory as if we had rebooted without actually rebooting? After looking and searching I have yet to find an answer. I imagine that there must be a command that could be put in Profilematic or simply entered from time to time that would do the job, but what is it?
This could be a game-changer for many users, since clean swap positively impacts my N9's speed performance as much as FasterN9 and light overclocking.
Thanks.
Hitting this thanks button will make you smile and feel good ----------------------------------------------------------------->