![]() |
2013-03-21
, 20:58
|
Posts: 152 |
Thanked: 70 times |
Joined on Aug 2012
@ India
|
#12
|
The Following User Says Thank You to kumary For This Useful Post: | ||
![]() |
2013-03-21
, 21:18
|
|
Posts: 6,450 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#13
|
(1) We all agree that when you reboot the N9, there is 255 MB of swap available out of a total swap size of 255 MB. In short, 100% of the swap memory is available immediately after reboot.
(2) I think we all agree that after using the device, the swap memory begins to be consumed, so after a bunch of multitasking, use of heavy apps, etc., the swap memory will drop to something like 200MB out of 255MB total. After more use, it may drop to 130 MB out of 255MB total. And ultimately can reach 0MB out of 255MB total.
(3) On my device, shutting down the heavy apps, multitasking windows, etc. does NOT restore the swap capacity, so the available swap memory tends only to go down.
free
top
![]() |
2013-03-21
, 22:12
|
Posts: 359 |
Thanked: 322 times |
Joined on Jun 2010
|
#14
|
The Following User Says Thank You to Hacker For This Useful Post: | ||
![]() |
2013-03-21
, 22:39
|
|
Posts: 6,450 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#15
|
Mem: 229072K used, 6180K free, 0K shrd, 43144K buff, 46060K cached CPU: 2.5% usr 5.3% sys 0.0% nic 89.4% idle 2.5% io 0.0% irq 0.0% sirq Load average: 0.09 0.08 0.07 1/205 4629 PID PPID USER STAT RSS %MEM %CPU COMMAND 4280 1191 user S 16624 7.0 0.4 /usr/bin/modest 4193 1461 user S 14756 6.2 0.0 /usr/sbin/browserd -s 4193 -n browseru 1029 703 root S < 11356 4.8 0.2 /usr/bin/Xorg -logfile /tmp/Xorg.0.log 1303 1191 user S 10564 4.4 0.7 /usr/bin/hildon-home 1805 1191 user S 9128 3.8 0.0 /usr/bin/browser 4434 1191 user S 9128 3.8 0.0 /usr/bin/osso-xterm
The Following User Says Thank You to pichlo For This Useful Post: | ||
![]() |
2013-03-22
, 00:36
|
Posts: 359 |
Thanked: 322 times |
Joined on Jun 2010
|
#16
|
Your 'free' output looks OK. Swap is barely used. I assume you are not experiencing any problems now, are you?
A more interesting of the 'top' output would be the following few lines, like this:
The answer to your question 5 is, "it depends". If the real problem is that all your virtual memory is used up, then resetting swap is not going to help. That's where 'free' comes in. If, OTOH, some runaway background task allocated a lot of memory that got swapped out in a hypothetical situation such as what I described, then we need to find the culprit. Hence 'top'.Code:Mem: 229072K used, 6180K free, 0K shrd, 43144K buff, 46060K cached CPU: 2.5% usr 5.3% sys 0.0% nic 89.4% idle 2.5% io 0.0% irq 0.0% sirq Load average: 0.09 0.08 0.07 1/205 4629 PID PPID USER STAT RSS %MEM %CPU COMMAND 4280 1191 user S 16624 7.0 0.4 /usr/bin/modest 4193 1461 user S 14756 6.2 0.0 /usr/sbin/browserd -s 4193 -n browseru 1029 703 root S < 11356 4.8 0.2 /usr/bin/Xorg -logfile /tmp/Xorg.0.log 1303 1191 user S 10564 4.4 0.7 /usr/bin/hildon-home 1805 1191 user S 9128 3.8 0.0 /usr/bin/browser 4434 1191 user S 9128 3.8 0.0 /usr/bin/osso-xterm
![]() |
2013-03-22
, 08:41
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#17
|
(1) We all agree that when you reboot the N9, there is 255 MB of swap available out of a total swap size of 255 MB. In short, 100% of the swap memory is available immediately after reboot.
(2) I think we all agree that after using the device, the swap memory begins to be consumed, so after a bunch of multitasking, use of heavy apps, etc., the swap memory will drop to something like 200MB out of 255MB total. After more use, it may drop to 130 MB out of 255MB total. And ultimately can reach 0MB out of 255MB total.
(3) On my device, shutting down the heavy apps, multitasking windows, etc. does NOT restore the swap capacity, so the available swap memory tends only to go down.
(4) I have noticed that slowdown both within apps like Fenix and while switching between the three homescreens, and in general other usage, is noticeable and irritating. The slowdown I experience is directly proportional to the degree that swap memory is utilized. Performance slows early on, though it is hardly noticeable, but then gets progressively worse until it absolutely cripples the device.
(5) MY QUESTION. Yes, we all know that rebooting the device will get us back to a snappy 255MB out of 255MB of swap available. BUT, how can this exact result be obtained without rebooting the device??? Something like a swap memory refresh script is what I'm looking for. Can you dig it?
![]() |
2013-03-22
, 09:12
|
Posts: 359 |
Thanked: 322 times |
Joined on Jun 2010
|
#18
|
![]() |
2013-03-22
, 10:17
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#19
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
![]() |
2013-03-22
, 12:50
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#20
|
I still find it strange that things are this way, but c'est la vie avec N9.
The Following 3 Users Say Thank You to reinob For This Useful Post: | ||
(1) We all agree that when you reboot the N9, there is 255 MB of swap available out of a total swap size of 255 MB. In short, 100% of the swap memory is available immediately after reboot.
(2) I think we all agree that after using the device, the swap memory begins to be consumed, so after a bunch of multitasking, use of heavy apps, etc., the swap memory will drop to something like 200MB out of 255MB total. After more use, it may drop to 130 MB out of 255MB total. And ultimately can reach 0MB out of 255MB total.
(3) On my device, shutting down the heavy apps, multitasking windows, etc. does NOT restore the swap capacity, so the available swap memory tends only to go down.
(4) I have noticed that slowdown both within apps like Fenix and while switching between the three homescreens, and in general other usage, is noticeable and irritating. The slowdown I experience is directly proportional to the degree that swap memory is utilized. Performance slows early on, though it is hardly noticeable, but then gets progressively worse until it absolutely cripples the device.
(5) MY QUESTION. Yes, we all know that rebooting the device will get us back to a snappy 255MB out of 255MB of swap available. BUT, how can this exact result be obtained without rebooting the device??? Something like a swap memory refresh script is what I'm looking for. Can you dig it?
Hitting this thanks button will make you smile and feel good ----------------------------------------------------------------->