Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] Maximum Swap Size
  • From: Bruce Marshall <bmarsh@xxxxxxxxxx>
  • Date: Mon, 7 Mar 2005 09:09:58 -0500
  • Message-id: <200503070909.58902.bmarsh@xxxxxxxxxx>
On Sunday 06 March 2005 09:17 pm, John Sowden wrote:
> Actually, I thought this was a great question that only one person came
> close to answering.  Is there a defined set of tradeoffs when expanding the
> swap size, in relation to RAM, taking into consideration CPU speed and
> possibly other variables that I am not aware of.  If, instead of using the
> 2X rule for sizing a swap partition, we went to a 4X or 6X size, would the
> paging overhead not justify the expanded swap size, in terms of increasing
> performance?

The best swap area you can have is one that doesn't get used. The size of the
swap area should be immaterial as long as it is large enough to handle all of
the swap. But if you are swapping a lot, you should look elsewhere for
performance gains. (as in increasing your RAM...)

< Previous Next >
Follow Ups
References