Setting up an SD Card swap file for dummies.


kc187

Still Fresh
Joined
Feb 4, 2011
Messages
75
Hello,


I have been trying to set up an SD card to use as a swap file for my Pandora. However, everything I've read (on the forum or otherwise) is about five times above my knowledge level.


Could someone break it down for me, elementary grade style, on how to get this accomplished?


Thanks in advance. :)
 
Superzaxxon Hotfix 4 is out and that uses zram which is comparable to a swapfile


plus it turns it on and off as needed
 
http://www.gp32x.de..._1


The principles are still the same. However, if you're going as far as to set up SWAP I would suggest going all the way and installing the OS on the SD card too. There's a handy SD Installer on the repo that makes it real easy and includes an option to set up the SWAP space too.


Grab the latest beta of Super Zaxxon and hit it.


@Gotwake: It doesn't hurt to have both. Zram will kick in in low stress situations and full on disk swap will kick in when things get really heavy.
 
Last edited by a moderator:
Usually, a swap partition is a real partition of a real drive.


On the Pandora, you can also use a file. So you don't have to partition any drive:


http://pandorawiki.org/Extend_Utils


And the now-automatic zram, which is a swap partition compressed in the ram.
 
Last edited by a moderator:
http://www.gp32x.de..._1


The principles are still the same. However, if you're going as far as to set up SWAP I would suggest going all the way and installing the OS on the SD card too. There's a handy SD Installer on the repo that makes it real easy and includes an option to set up the SWAP space too.


Grab the latest beta of Super Zaxxon and hit it.


@Gotwake: It doesn't hurt to have both. Zram will kick in in low stress situations and full on disk swap will kick in when things get really heavy.

Which one yields better performance for the system? SD install or NAND install?


Also, I followed the guide on GP32X... the terminal command for making the swap file "sudo mkswap..." makes the terminal report "Device or resource busy." It shouldn't be busy. It's a blank SD card that I just put in, haha.


Linux. It defeats me. :p


EDIT: So I could have sworn I had Super Zaxxon Hotfix 4... apparently I had Super Zaxxon 2. I'm going to reflash and see what's what; it sounds like ZRAM is what I'm looking for.
 
Last edited by a moderator:
http://www.gp32x.de..._1


The principles are still the same. However, if you're going as far as to set up SWAP I would suggest going all the way and installing the OS on the SD card too. There's a handy SD Installer on the repo that makes it real easy and includes an option to set up the SWAP space too.


Grab the latest beta of Super Zaxxon and hit it.


@Gotwake: It doesn't hurt to have both. Zram will kick in in low stress situations and full on disk swap will kick in when things get really heavy.

Which one yields better performance for the system? SD install or NAND install?


Also, I followed the guide on GP32X... the terminal command for making the swap file "sudo mkswap..." makes the terminal report "Device or resource busy." It shouldn't be busy. It's a blank SD card that I just put in, haha.


Linux. It defeats me. :p


EDIT: So I could have sworn I had Super Zaxxon Hotfix 4... apparently I had Super Zaxxon 2. I'm going to reflash and see what's what; it sounds like ZRAM is what I'm looking for.

Alright... with SZ4, and ExtendUtils, I got it working. Once again, thanks to you guys for helping me out.
 
Last edited by a moderator:
Back
Top