usb flash drive as swap in linux

George Toft george at georgetoft.com
Thu Mar 16 07:31:07 MST 2006


Swap is virtual memory, which means it is an extension of your RAM. 
Typically, you want this to be the third fastest storage available 
(first being CPU cache, second being main RAM).  Flash can be even 
slower than your hard drive, making this a poor choice for performance 
reasons.

The flash memory we are using for our solid-state Linux boxes 
stores/retrieves data at 600 Kilobytes/sec, making it 4x faster than a 
1x CD-ROM.  The newer flash runs 10x faster, making it 1/2-1/4 as fast 
as a hard drive.

Cheers,

George Toft, CISSP, MSIS
My IT Department
www.myITdepartmentAZ.com
480-544-1067

In business, there are always problems.  It's how they are handled
that makes a difference.  Are you happy with your IT Manager?


Technomage wrote:
> ok,
> I have made the required changes to fstab in order to use a 128 meg USB 
> device.
> 
> only problem I seem to have is that even though the modules are loaded, it 
> will not initialize as swap space unless I issue a swapon -a from root after 
> startup.
> 
> some help would be greatly appreciated.
> 
> system is debian kernel 2.6.8-2-386 running on a compaq presario laptop.
> 
> HELP!!!
> 
> TMH
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> 


More information about the PLUG-discuss mailing list