Sd Card Swap Space?


L33F3R

Still Fresh
Joined
Oct 30, 2007
Messages
12
Im just throwing this out der, this has prolly already been thought of but what about a swap partition on an sd card. Im sure it could cause serious hell on cheap sd cards but for those with higher speed cards would it be plausable? :unsure:
 
Been done before for GPE, and yes it makes a significant speed difference. It doesn't really cause too much damage to an SD card (though it will speed up it's death, by the time it does die, a similar sized card will almost certainly be very cheap). All SD transfers are slow on the GP2X however, so super fast cards won't be any better than .
 
EDIT: Ah crap... Orkie beat me to it. He knows what he is talking about...
 
sd cards are becoming cheap as dirt nowdays. Exactly how much faster would one die and how would somone go implementing the swap partition to the sd card. Partitioning tools? but would it just work or would the firmware need to be changed.
 
dd if=/dev/zero of=/mnt/sd/swap.img bs=512 count=xxxM
mkswap swap.img
swapon swap.img

done

I have actually done this while testing stuff and for qtopia, but only for short times.
It wont give you a speed boost in normal apps, but it helps a lot with qt.
 
Back
Top