View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#268
Originally Posted by malfunctioning View Post
Thank you for your work, sixwheeledbeast.
No, thank you for the feedback.

Originally Posted by malfunctioning View Post
When I look in Check Status, I'm getting 7Mb out of 770Mb used. However, the free command reports almost 70Mb of swap space used (a factor of 10 larger).

Is this known?
free is not equal to flopswap's values.
You see flopswap is measuring the fresh (clean) swap that has been written not the amount in use.

To make this clear in an example, when flopswap hits 100% it doesn't mean you have no swap left, it means you have no "fresh" swap left and you may now see the slowing effect of swap fragmentation.

Originally Posted by malfunctioning View Post
would it affect when the swap switch takes place, since it is set to kick in at a specific percentage of swap use?
Swap switching is not done automatically. You maybe in the middle of a task when you reach your switching threshold. You don't want flopswap to be memory thrashing then This would also require having a daemon running all the time, which I didn't want.
To refresh your swap manually you need to press the Fresh Swap button.

For automatic switching I recommend setting up a cronjob early in the morning while your asleep.
See the wiki page for more details on this.
http://wiki.maemo.org/Flopswap


Originally Posted by malfunctioning View Post
Does the geometry/block size of the swap partition affect these calculations?
Flopswap knows how large your current uSD swap space is and uses this value for the percentage. This is why two equal size uSD swaps is recommended.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2014-10-21 at 14:39.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post: