Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 1996 11:47:07 -0700
From:      Scott Blachowicz <scott@statsci.com>
To:        dwhite@resnet.uoregon.edu
Cc:        Eric Berenguier <Eric.Berenguier@sycomore.fr>, questions@freebsd.org
Subject:   Re: FreeBSD 2.1.0 CRASH! 
Message-ID:  <m0uwC7Q-000JTGC@main.statsci.com>
In-Reply-To: Your message of "Wed, 28 Aug 1996 18:35:45 -0700." <Pine.BSI.3.94.960828183501.233I-100000@gdi.uoregon.edu> 
References:  <Pine.BSI.3.94.960828183501.233I-100000@gdi.uoregon.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White <dwhite@gdi.uoregon.edu> wrote:

> Your swap is a bit small for your memory -- suggested is 2xmemory.
> Although running out of swap won't illicit a panic (usually), it would be
> something to consider.

I've never really quite figured out that recommendation...unless you're
assuming that the system has the "right" amount of RAM to reasonably run all
the applications you want to run on it. In that case, the "2 x RAM" amount
is really an indirect way of saying how much swap you need to run your
applications. The amount of swap space should be more related to how much
stuff you want to have in memory at one time, I would think.

The size of the recommendation should change depending on whether or not
the swap area is the total virtual address space or just an extension of
the RAM (i.e.

  sizeof(virtual addr space) == sizeof(RAM)+ sizeof(swap)

instead of just

  sizeof(virtual addr space) == sizeof(swap)

). If on a system doing the latter, 20Mb is definitely not enough swap for
16Mb of RAM.  I don't really know which category FreeBSD falls into (it
could be that any recent OS uses the former method...I don't know).

Scott Blachowicz  Ph: 206/283-8802x240   Mathsoft (Data Analysis Products Div)
                                         1700 Westlake Ave N #500
scott@statsci.com                        Seattle, WA USA   98109
Scott.Blachowicz@seaslug.org





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