LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Thoughts on USB as swap space

[ILUG] Thoughts on USB as swap space

Colm Buckley colm at tuatha.org
Tue Jan 1 12:25:40 GMT 2008


On 1/1/08, Frank Murphy <frankly3d.weblists at gmail.com> wrote:
>
> Thinking on the other crowds MaleSheepSpeederUpper idea,
> during install could a usb stick be designated as swap?
> If so can you use up say the full 4gb or whatever size is involved?


Theoretically, yes, but I'd be inclined to think of this as a bad idea in
practice - most flash memory has a limited number of write cycles it can
handle before effectively "wearing out".  The limit has been increasing
rapidly recently, especially on SSD devices which are intended to replace
hard drives, but the cheaper flash memory you tend to find in USB drives
will usually only cope with a few tens of thousands of writes to each block
before that block becomes unusable.  Some drives have "hardware write
levelling", which uses an indirection table to evenly distribute the write
across the blocks of the device; this helps but doesn't fix the problem
entirely.  In general, swap would probably be the least suitable use for
flash devices, unless it's very lightly-used.

Colm


-- 
Colm Buckley / colm at tuatha.org / +353 87 2469146



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell