On Sun, 2005-01-30 at 08:52 -0700, Jared Moore wrote:
> On Sat, 29 Jan 2005 19:27:00 -0800, edzaid Mendez <[EMAIL PROTECTED]> wrote:
> >  I hope I don't get flamed for this question.
> >  What is the recommeded size for the swap partition ?
> 
> I agree with Richard on the swap file size. Over the years I have
> watched my own swap file usage and it has been quite low, most of the
> time it's less than 32 mb used at any given time. Typically, I have a
> swap file of 128mb/256mb, and that has servered my needs quite well.
> 
> I suggest you monitor your swap file usage using are program like top,
> or using cat to display /proc/meminfo from time to time determine
> exactly how much swap you are using. There's nothing like creating
> 1.5GB of swap just for it to sit unused.

Yes but all it takes is opening several large pictures in the Gimp and
your swap will start to be used (even with 1 gig of ram).  I agree that
the old rule about the swap being twice the size of the RAM really
doesn't apply in most of situations anymore, but having even a little
swap available is sometimes quite important.

Another point to consider is that having some swap can in fact speed up
linux, even if you have plenty of RAM.  The reason for this is that
Linux can aggressively swap out pages that are not in a program's
working set and use that RAM for caches and buffers, improving file i/o.

> 
> Jared
> 
> --------------------
> BYU Unix Users Group 
> http://uug.byu.edu/ 
> 
> The opinions expressed in this message are the responsibility of their
> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael Torrie <[EMAIL PROTECTED]>

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to