Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2005 17:09:12 -0700 (PDT)
From:      Jon Dama <jd@ugcs.caltech.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        polachok@narod.ru, freebsd-current@freebsd.org
Subject:   Re: out of swap space
Message-ID:  <Pine.LNX.4.53.0507071705360.19319@spew.ugcs.caltech.edu>
In-Reply-To: <20050707235933.GA19467@xor.obsecurity.org>
References:  <42CD9728.000003.16936@colgate.yandex.ru> <5BFCCFD5-15C5-400D-8CA1-CF5E2802A3DD@mac.com> <Pine.LNX.4.53.0507071453280.19319@spew.ugcs.caltech.edu> <20050707235933.GA19467@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, well I assumed:

1) this was i386
2) he already had a lot of RAM and was hitting the wall

my point was primarily to point out that he shouldn't assume ram + swap
must be under 4GB.

Otherwise I agree.  Though, I typically have a large MFS /tmp directory.
Having lots of swaps helps make that configuration robust.

-Jon

On Thu, 7 Jul 2005, Kris Kennaway wrote:

> On Thu, Jul 07, 2005 at 02:57:01PM -0700, Jon Dama wrote:
> > It is also it is worthwhile to remember that on i386 you can use
> > roughly >20GB of swap space.  swap + ram need not sum to less than 4GB
> > common misunderstandings aside.
> >
> > If your memory load warrants larger swap allocations, you should just bump
> > that number up.
>
> Better to add more RAM or reduce or optimize the workload - as soon as
> you load your machine enough that it begins heavily using swap your
> machine performance will fall in the toilet.
>
> Kris
>



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