View Full Version : 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.
06-24-2010, 05:47 PM
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.
06-24-2010, 06:06 PM
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"
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.