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. | |
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 | + | Before installation your micro SD card needs setting up with linux-swap on two partitions. |
- | If you have not | + | For Flopswap to function it requires the following partitions to be of linux-swap type |
+ | |||
+ | '''/dev/mmcblk0p3 /dev/mmcblk1p2 /dev/mmcblk1p3''' | ||
+ | |||
+ | If you have not modified the partitions on your device the first "0p3" space, will already be working and in the correct location for FlopSwap. | ||
===Fragmentation=== | ===Fragmentation=== | ||
Line 21: | Line 25: | ||
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 " | + | 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 42: | ||
==Installation== | ==Installation== | ||
- | + | 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 actions:-'' | |
*Fresh Swap | *Fresh Swap | ||
Line 51: | Line 55: | ||
*Show Current | *Show Current | ||
- | Shows currently active swap | + | Shows currently active swap (cat /proc/swaps) |
*Check Usage | *Check Usage | ||
- | Shows current fresh swap usage percentage via hildon banner and recommends fresh swap at | + | Shows current fresh swap usage percentage via hildon banner and recommends fresh swap at 94% via hildon dialog. |
- | |||
- | + | '''IMPORTANT:-''' | |
- | + | ||
- | + | ||
- | + | '''''Swaps HAVE to be in the following locations.''''' | |
- | + | ||
+ | '''/dev/mmcblk0p3 /dev/mmcblk1p2 /dev/mmcblk1p3''' | ||
==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 82: | ||
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 | + | These partitions should be located after the first FAT partition. |
- | The card will then have a FAT part ( | + | The card will then have a FAT part (mmcblk1p1) swap1 (mmcblk1p2) and swap2 (mmcblk1p3). |
Line 87: | Line 90: | ||
'''Question''' | '''Question''' | ||
- | ''Can we make | + | ''Can we make FlopSwap run on a timer?'' |
'''Answer''' | '''Answer''' | ||
- | Yes, you can call the | + | 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''' | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
==License/Disclaimer== | ==License/Disclaimer== | ||
Line 132: | Line 110: | ||
==Changelog== | ==Changelog== | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | '''0.0.6''' | + | '''0.0.6'' (Current Devel)''''' |
* Fix bug on Settings page stopping upstart file being created. | * Fix bug on Settings page stopping upstart file being created. | ||
Line 203: | Line 135: | ||
==Wiki Update== | ==Wiki Update== | ||
- | |||
- | + | :sixwheeledbeast - 03 Apr 2013 17:32 UTC | |
- | + |
Learn more about Contributing to the wiki.