![]() |
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.
|
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. |
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