maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Switch /rootfs and /swap (https://talk.maemo.org/showthread.php?t=57043)

Ayle 2010-06-24 21:38

Switch /rootfs and /swap
 
Hello guys. How do I go about doing that? The oneNAND is much faster than the eMMC so I want to put my /swap there as I'm tired of having my device slow down to a crawl whenever something has to move between the ram and the /swap partition on the eMMC.

noipv4 2010-06-24 21:47

Re: Switch /rootfs and /swap
 
I was also thinking on those terms. Repartition UBIFS, make a 64MB swap space. And add it with swapon to the existing swap space.
Adding the oneNAND in parallel to the eMMC should allow 2x read write throughput to swap.

What I have figured out that when the swap size reaches ~200MB thats when things come to a grinding halt.

noipv4 2010-06-24 22:06

Re: Switch /rootfs and /swap
 
[1|root@Nokia-N900|~]cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "bootloader"
mtd1: 00060000 00020000 "config"
mtd2: 00040000 00020000 "log"
mtd3: 00200000 00020000 "kernel"
mtd4: 00200000 00020000 "initfs"
mtd5: 0fb40000 00020000 "rootfs"


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8