View Single Post
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#82
Originally Posted by bipinbn View Post
I think we need to update the wiki then:

http://wiki.maemo.org/Swap_on_microSD#Ereswap

I read the below there:

The microSD card must be split into at least 2 partitions. The first one should be FAT32 (vfat) formatted and the second one must be formatted for linux swap (type 82) and about 384 MB in size

Thats the reason I made a swap partion of ~400MB. Was my understanding wrong ?
The 384 MB recommendation is not for Ereswap, as I understand it. Ereswap is just pointed on that page as a possible solution for swap fragmentation. But The page describes a situation when you have:
  • 768 MB of internal storage (eMMC) swap
  • 384 MB of external storage (microSD) swap
active AT THE SAME TIME (concurrently) and system can use them both (I guess it can make swapping faster, as it reads/writes to two flash memories instead of one, but that's just a guess). Ereswap, however, uses only ONE SWAP PARTITION AT TIME and uses the second one only for reswapping (it moves all data from primary swap to secondary swap and back again to reduce fragmentation). Do you understand it a bit more now?
 

The Following 2 Users Say Thank You to misiak For This Useful Post: