Is it possible to use a flash drive as extra RAM in Linux? Is there a program out there for that?
Is it possible to use a flash drive as extra RAM in Linux? Is there a program out there for that?
It's possible if you could program it, but it would be pointless, because USB is much much much slower than DDR2/DDR3 memory.
Native Linux Gamer
Penumbra | Quake IV | Doom 3 | Quake Wars | Regnum Online | Savage 2 | Warsow | Prey
Ubuntu Game Night
You'd be better off setting up a swap partition on a physical harddisk rather than using USB media.
Aside from that, it is possible, but I'm not sure how.
Format your USB flash drive as a swap partition by going to System-->Administration-->Partition Editor. However, as previously mentionned, you should either upgrade RAM or create a swap partition on your physical hard drive.
Apps for Ubuntu (outdated) ---> http://cid-23a283fc1010a1bb.skydrive...%20Wine|6?uc=1
Use Mnemosyne to Study for School!
Regards, David.
Please use the Forum search and Wiki search for immediate help
Please mark your thread as Solved when appropriate
New to technical forums?: How To Ask Questions The Smart Way
I have 512MB DDR1 RAM on my laptop. If I use two 1GB USB flash drives, how much faster would it make my laptop? Would it feel like 2.5 GB RAM?
Never, ram is so much faster than usb drives. It might make your computer slower
http://superuser.com/questions/14619...asible-concept
As fast as it's now, and much slower if the system at some point actually runs out of RAM and starts using the USB drives.
Flash memory and hard drives have nowhere near the transfer speeds of RAM memory. They can be used to store data that doesn't fit into RAM, but that's simply to allow the computer to do tasks that it couldn't do otherwise, not to improve performance. (The process is caled "swapping" ans it's something you really, really want to avoid if possible. It makes things horribly slow.)
RAM access time is measured in nanoseconds.
USB flash drive access time is measured in milliseconds.
If I remember correctly there's 1,000 nanoseconds in a millisecond.
Does that give you an idea of the difference? And why swapping is slow, particulary thrashing?
AFAIK virtual memory is never a direct replacement for physical memory, the information still has to end up in physical memory to be used by the processor, so the ram "swaps" some of it's information and grabs the information in virtual memory.
As an aside the only reason Windows does this I believe is to get the page file off the c drive, your primary drive. This minimizes fragmentation and the fact that swap is on a separate device ought to speed things up a notch.
Last edited by jerome1232; March 21st, 2011 at 08:47 AM.
"You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"
"Don't let your mind wander -- it's too little to be let out alone."
Bookmarks