[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap partition vs swap file



On Wed, Nov 21, 2012 at 12:23:42PM -0800, David Guntner wrote:
> Hi all,
> 
> While still trying to figure out why Thunderbird isn't working so well
> with Dovecot, I figured I'd move onto another mystery; thought I'd seek
> out some opinions here. :-)
> 
> When setting up Linux systems, I've always set up a separate swap
> partition.  I was reading a few days ago that apparently there's a nifty
> way to do like Windows does (that alone should probably be good enough
> reason to *not* do it... :-) ) and set up a swap *file* instead.
> 
> So, anyone?  Pros & cons?  Is there any reason to prefer one over the other?
> 
> One thing to know about up front - my new Debian setup is on my home
> server.  It runs 24/7 and I *never* suspend/hibernate it.  So since it
> never has to resume from a swap partition, that particular item is moot. :-)
> 
> So, what is the common "best practice" (more-or-less) consensus on the
> subject these days?
> 
I use swap partitions on all my computers, but on a live USB stick I use
a swap file.  The reason for using the file is so I can easily change
the size of the swap space (for instance, if I run out of room for my
data).

-Rob


Reply to: