The Syncing Apple An Exploration of Technology and Devices

27Dec/056

Making Swap

In my quest to speed up the 770 (I think that by loading my bookmarks and RSS feeds I've crushed it- it's just so slow now that it's mostly unusable) I ran across a link in the comments here to a post on the users list about enabling swap on the MMC, and how that could help processes in the poor 770.

So here is my output, enabling 32Megs of swap on my 1G MMC, starting from a terminal on my Mac.
Note: you have to do this every time you reboot of course.

blinky:~ dillera$ ssh user@192.168.251.53

BusyBox v1.00 (Debian 2:20041102-11) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

processing andy mods
done
~ $ sudo gainroot
Root shell enabled

BusyBox v1.00 (Debian 2:20041102-11) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dd if=/dev/zero of=/media/mmc1/extraswap bs=1024 count=32768
32768+0 records in
32768+0 records out
/home/user # mkswap /media/mmc1/extraswap 32768
Setting up swapspace version 1, size = 33550336 bytes
/home/user # swapon /media/mmc1/extraswap

The 5 min result: swap seems to be helping, as I am now able to run a browser, the bookmarks app and the RSS reader and they are not making me wish I had a pocketpc.....

Filed under: Nokia 770 6 Comments