LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2007, 04:51 PM   #1
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Rep: Reputation: 15
flash drive for/as RAM?


is there any way to make a flash drive to be extra RAM? I think there are ways with windows but if there is some way with linux i would love to find out how it's done (unless it requires a lot of time and, for whatever strange reason, extra space that i just don't have)
thanks even if there isn't anything, just thought i'd give it a try
 
Old 08-22-2007, 05:12 PM   #2
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
swapboost (i don't know if there are any others that are not just being tested right now)
 
Old 08-22-2007, 06:23 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Just for some information what distribution / version of linux are you running?
What are the hardware specs of your computer?
What problems are you currently having if any?
I assume you can not add more RAM to this machine?

Posting the output of the console command free will help. It will show how much swap you currently have and are using also. What applications are you running?

Using USB flash memory for swap will be much much slower then an IDE or SATA drive so I do not see any advantage using it as such. You can add a temp swap file to see of it improves performance. BTW swapboost is just a simple bash script to use your flash drive as additional swap space, nothing magical about it. Flash memory has a limited number of write/erase cycles. Even though the newer drives have wear limiting it will still probably shorten the drives lifespan.
 
Old 08-22-2007, 06:40 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Personally I think this is a bad idea.

The USB flash drive is bottle-necked at the USB port limited by its 480Mbit/s or 60Mb/s. In reality the reading speed is no more than half. The 4Gb flash drive I just bought states its reading and write speeds are 12 and 3.5Mb/s respectively.

My Sata disk reading speed is 80Mb/s. I cloning the hard drive I clocked on average 45 to 55 Mb/s. If the hard disk is an external USB device the speed is about 1/3. Thus an ordinary flash drive is at least 7 times slower than an internal Sata hard disk!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 01:28 PM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 03:18 PM
linux on flash drive, is this possible and flash writes, where?? lizzie_jianne Linux - General 1 01-04-2007 12:12 PM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration