Skip to main content
Welcome guest. | Register | Login | Post

USB sticks as RAM?

6 replies [Last post]
libervisco's picture
Offline
Joined: 2006-05-04

I've seen this idea somewhere before and am wondering how well would it work. I bet it'd be possible to use USB sticks, flash drives or whatever (I'm really a newbie to those kinds of storage devices) as RAM or at the very least as a spare swap partition.

I've never tried it, but I'm curious. What do you think?

dylunio's picture
Offline
Joined: 2005-12-20
I could see it used as

I could see it used as swap, which would be quite nice since flash doesn't have any moving parts. One thing I would worry about is the quality of flash, as it degrades after a number of reads/writes, though I have no idea of the figures.

libervisco's picture
Offline
Joined: 2006-05-04
Yeah someone did mention

Yeah someone did mention the read/writes issue last night on IRC when I mentioned this idea... If it would really degrade the flash drive permanently then I'd probably rather not use it as swap. It's better to last longer for its real purpose.

Has anyone tried this?

AndrewB's picture
Offline
Joined: 2005-12-18
USB has slower access times

USB has slower access times than IDE/ATA/SATA, it would only slow your system up more. Also as dylunio and chaddy pointed out.. they are not ment for such a heavy task.

tbuitenh's picture
Offline
Joined: 2005-12-21
This only makes sense in a

This only makes sense in a diskless computer (using flash instead of a disk). You see, a 1GB flash stick is at least about 5$, while a disk can be 1$/GB, doesn't wear as fast, and is much faster.

If you are thinking about building a diskless computer, I recommend that you put LOTS of RAM in it because you will want to put parts of the file tree that are changed a lot in RAMdisks, to make the flash last longer.

libervisco's picture
Offline
Joined: 2006-05-04
I'm not thinking of

I'm not thinking of building a diskless computer.. Anyway, I guess I wont try this then.

Thanks

Offline
Joined: 2007-04-14
This can be used kinda in

This can be used kinda in Windows Vista...I love Vista though! It is called SuperFetch from what I remember...check it out here at Wikipedia...and yes I know Wikipedia is edited and is becoming more and more efficient...but I still love it - http://en.wikipedia.org/wiki/Superfetch

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.