Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
Originally Posted by TA-t3 View Post
Ah, thanks for the updated info. When swap-to-file was introduced it was an issue (and at least through the 2.2 series, not sure about 2.4 because I didn't use swap-to-file there).
did a search and it is 2.6 only
http://en.wikipedia.org/wiki/Paging#Swapping_in_Linux
Originally Posted by TA-t3 View Post
Do you know if this is still true with a FAT32 file system? In principle it should, because an application like the LILO loader does the same kind of mapping you describe. But in an earlier post skeezer reported that there was a noticable difference ("way faster").
Not sure about this but I think it doesn't require any fancy features from the filesystem. Any normal (i.e. block based) filesystem should allow this.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
BruceL's Avatar
Posts: 305 | Thanked: 154 times | Joined on Aug 2006 @ Colorado
#12
Could the "way faster" be because of the 1gb of swap space?
 
Posts: 123 | Thanked: 20 times | Joined on Jul 2008
#13
Originally Posted by gnexus View Post
Just one little observation:

Holy @#%$^ it's a lot faster faster

Update:
Even with 20-30 apps and videos and quake running in the background, and 10 mozilla windows open, the swap usage was only 50% of installed memory.
sorry for bumping an old thread but has anyone tried this with diablo? im interested in putting a dedicated 1 gig memory card solely for swap if the performance increase is significant.
 
Posts: 551 | Thanked: 46 times | Joined on Oct 2007
#14
I'm a newbie at swap and when I got a 32gb card several weeks ago I decided to add Diablo and dual boot from Penguinbait along with KDE. I decided to add swap feature from PB's list of options on dual boot menu. I put aside 1gb for swap. I did notice that speed of loading of apps and how many apps I could run at the same time was tremendous. I no longer have crashes on apps like Quiver. When I added Debian I put it on same card as swap and have been having trouble with loading apps int Debian. No such problems on Hildon side. Apps load fine and behave properly. It keeps telling me that I've run out of devise space. Anyone have any expertise or experience with this? My other question is do I need to use gnexus fix to use swap partition properly? Any help, guidance or advise would greatly be appreciated. TIA, Dan

Edit: Solution do not put Debian in a card that has swap partition. Major problems with Debian if you do.

Last edited by dan; 2008-07-31 at 03:12.
 
Posts: 47 | Thanked: 10 times | Joined on Jan 2008 @ UK
#15
Is there a way to add swap to a internal booting mmc clone with deablo if this will speed things up an stop the mem probs I would really like to know thanks
 
Posts: 66 | Thanked: 17 times | Joined on Dec 2007
#16
Originally Posted by dan View Post
I put aside 1gb for swap. When I added Debian I put it on same card as swap and have been having trouble with loading apps int Debian.
Edit: Solution do not put Debian in a card that has swap partition. Major problems with Debian if you do.
I'm not sure which "fix" of mine you are referring to. I simply set up swap as in a normal Linux install. I'm using Debian on a partition which is on the same card as the swap, and haven't had any problems, but I haven't had time to try and add any apps to it yet. Since having swap and data on the same interface can create data transfer bandwith bottlenecks your solution is a good one. I always put a swap partition on every SD card I use (as the first partition on the internal card, and the last partition on external card).

I have found that, unfortunately, flash-based devices seem unable to take good advantage of large amounts of swap memory. So currently I'm using 256MB. Unfortunately even that seems to be excessive, since I've never seen a flash-based device take advantage of anything over say 100MB.

But then again with the size of the new SD cards memory is cheap, so it never hurts to have way too much. 1GB, however, is probably way too excessive.

You must also remember that using swap will wear out the flash very quickly, so always have a backup of any data on your SD card. It would probably also be best to put the swap on a smaller and less expensive SD card, just in case it dies. . .
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:48.