swapless in Toronto

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Tue Feb 8 00:10:46 UTC 2005


On Monday 07 February 2005 12:46, Lennart Sorensen wrote:

> dd if=/dev/zero of=/swapfile bs=1M count=512
> mkswap /swapfile
> add swapfile to fstab the same way you would a partition for swap.  The
> performance difference is minimal as far as I know.

I expect DP is using a journalled file system (ext3 or reiserfs).  I expect 
that if he got into heavy swap usage, journalling the swapfile might slow 
things down even more.  Odds are that he won't run into that though.

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list