Editing Flopswap

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
=Introduction=
=Introduction=
-
Flopswap is a Swap management Tool for N900.
+
FlopSwap is a Swap management Tool for N900.
It features as a GUI to refresh your devices Linux Swap to speed up your VM.
It features as a GUI to refresh your devices Linux Swap to speed up your VM.
Line 7: Line 7:
===Partition Requirements===
===Partition Requirements===
-
Before Flopswap will function your micro SD card needs setting up with two equally sized linux-swap partitions and one on the device (backup).
+
Before installation your micro SD card needs setting up with two equally sized linux-swap partitions and one on the device (backup).
If you have not removed the swap partition on your device the later will already be working.
If you have not removed the swap partition on your device the later will already be working.
Line 21: Line 21:
Flopswap does this by switching to a fresh swap space on every "reswap".
Flopswap does this by switching to a fresh swap space on every "reswap".
-
By doing this it saves moving swap to B and back again, hence "Flopswap".
+
By doing this it saves moving swap to B and back again, hence "FlopSwap".
===Main Swap Partition on Micro SD===
===Main Swap Partition on Micro SD===
Line 38: Line 38:
==Installation==
==Installation==
-
Flopswap can be found in the [[Extras]] repository and can be installed using the N900 Application Manager (HAM).
+
The latest versions can be found in the devel repository and can be installed using the N900 Application Manager (HAM).  
==Operation==
==Operation==
-
'''''There are four main operations:-'''''
+
''There are four main actions:-''
*Fresh Swap
*Fresh Swap
Line 54: Line 54:
*Check Usage
*Check Usage
-
Shows current fresh swap usage percentage via hildon banner and recommends fresh swap at your selected threshold via hildon dialog.
+
Shows current fresh swap usage percentage via hildon banner and recommends fresh swap at 94% via hildon dialog.
-
 
+
-
'''''Settings'''''
+
-
 
+
-
* Enable FlopSwap
+
-
This setting should be enabled to use FlopSwap.
+
-
It is provided to disable starting on uSD swap for whatever reason.
+
-
 
+
-
* Threshold for Swap Used Warning
+
-
This sets the Percentage of used Fresh Swap before the warning message is shown.
+
==Bugs==
==Bugs==
Please report bugs to the [http://talk.maemo.org/showthread.php?t=87985 talk.maemo.org thread] page.
Please report bugs to the [http://talk.maemo.org/showthread.php?t=87985 talk.maemo.org thread] page.
 +
===FAQ===
===FAQ===
Line 79: Line 71:
The easiest way is to use GParted on a desktop.
The easiest way is to use GParted on a desktop.
Then make two equally sized "linux-swap" partitions, 800MB is fine.
Then make two equally sized "linux-swap" partitions, 800MB is fine.
-
These partitions are best located after the first FAT partition.
+
These partitions should be located after the first FAT partition.
The card will then have a FAT part (partition 1) swap1 (partition 2) and swap2 (partition 3).
The card will then have a FAT part (partition 1) swap1 (partition 2) and swap2 (partition 3).
Line 87: Line 79:
'''Question'''
'''Question'''
-
''Can we make Flopswap run on a timer or schedule?''
+
''Can we make FlopSwap run on a timer?''
'''Answer'''
'''Answer'''
-
Yes, you can call the swap refresh script from a shell or cron/alarmed
+
Yes, you can call the refresh script from a shell or cron/alarmed
'''sudo /opt/flopswap/script/swapswitch.sh'''
'''sudo /opt/flopswap/script/swapswitch.sh'''
-
 
-
 
-
 
-
'''Question'''
 
-
 
-
''Flopswap shows a dialog message saying swap can no longer be calculated''
 
-
 
-
'''Answer'''
 
-
 
-
''Unfortunately you have reached the limit that the stock N900 shell can calculate.
 
-
Use the timer method listed above to grab a fresh swap, while you sleep"
 
Line 132: Line 113:
==Changelog==
==Changelog==
-
'''0.1.10'' (Extras-Devel)'''''
 
-
* Minor fixes to some scripts
 
-
* Switch to external swap on boot enabled as default
 
-
* Busy indication
 
-
* Check status on start option (thanks pichlo)
 
-
'''0.1.9'' (Extras)'''''
+
'''0.1.0'' (TBA)'''''
-
* Bugfix - int32 workround fixed
+
-
* Code cleanup
+
-
 
+
-
'''0.1.8'''
+
-
* Bugfix - Show Swap to Device banner once
+
-
 
+
-
'''0.1.7
+
-
* Update Instructions
+
-
* Disable Check Status GUI button on int32
+
-
 
+
-
'''0.1.6'''
+
-
* Fixes to int32 overrun message
+
-
* Add button icons
+
-
* Minor fix to control file
+
-
 
+
-
'''0.1.5'''
+
-
* Fix typos
+
-
 
+
-
'''0.1.4'''
+
-
* Added initial start help text
+
-
* Delete QSettings due to incorrect permissions
+
-
 
+
-
'''0.1.3'''
+
-
* Change how swap spaces are located to fix UUID issue
+
-
* Added extra banner message during refresh
+
-
 
+
-
'''0.1.2'''
+
-
* Small UI changes
+
-
* Set labels in source
+
-
 
+
-
'''0.1.1'''
+
-
* Added Spinbox and QSetting for Swap Used Warning threshold
+
-
 
+
-
'''0.1.0'''
+
* Big changes to backend, so new version number
* Big changes to backend, so new version number
* Change to get swap locations from blkid
* Change to get swap locations from blkid
* Change upstart file to use blkid
* Change upstart file to use blkid
* Support for CSSU upstart swap_sd in mount-ops-overwrite
* Support for CSSU upstart swap_sd in mount-ops-overwrite
-
* General clean up and small fixes
+
* General clean up of code
-
'''0.0.6'''
+
'''0.0.6'' (Current Testing)'''''
* Fix bug on Settings page stopping upstart file being created.
* Fix bug on Settings page stopping upstart file being created.
Line 203: Line 145:
==Wiki Update==
==Wiki Update==
-
[[User:sixwheeledbeast|sixwheeledbeast]] 23:45, 10 January 2014 (UTC)
+
 
 +
[[User:sixwheeledbeast|sixwheeledbeast]] 22:21, 21 September 2013 (UTC)
[[Category:Software]]
[[Category:Software]]
[[Category:Qt]]
[[Category:Qt]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)