Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 05:25:06 -0700
From:      David Greenman <dg@root.com>
To:        "Francisco Reyes" <reyesf@newsguy.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>, "Greg Lehey" <grog@lemis.com>
Subject:   Re: Swap size recommnedations? 
Message-ID:  <199808141225.FAA23834@implode.root.com>
In-Reply-To: Your message of "Fri, 14 Aug 1998 07:26:08 EDT." <199808141126.EAA25159@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>On Fri, 14 Aug 1998 18:53:00 +0930, Greg Lehey wrote:
>
>>the only thing you might want to consider is to add a second swap
>>partition.  FreeBSD is getting quite swap-hungry (it's a performance
>>tradeoff, a reasonable on in my eyes), and you should aim to have at
>>least 256 MB of swap.
>
>How does one determine Swap? Is it based on memory?

   It's a common mistake for people to think that swap space should be
reserved as a function of the amount of main memory. It's really not related
to that except perhaps to suggest a minimum (you should always have at
least as much swap as RAM). The basic rule is that you need enough swap
space for your applications to run and not run out. These days for desktop
systems and many server systems, this figure seems to be around 250-300MB,
but could be more or less depending on what you're trying to do.

>How has the swap requirement changed from previous versions?

   It hasn't changed much. There's a natural tendency, however, for
applications to get larger over time as new features are added, etc., so
you should plan for this.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808141225.FAA23834>