Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 10:48:08 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Cc:        Michael Schuh <michael.schuh@gmail.com>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Maximum Swapsize
Message-ID:  <200604111048.09905.doconnor@gsoft.com.au>
In-Reply-To: <20060410161713.GA48094@xor.obsecurity.org>
References:  <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com> <20060410161713.GA48094@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5667936.3hy3GKSOHh
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 11 April 2006 01:47, Kris Kennaway wrote:
> On Mon, Apr 10, 2006 at 06:13:07PM +0200, Michael Schuh wrote:
> > Hello @all,
> >
> > last weekend i have setted up an new Machine with
> > 6.1-Beta4. By Installation i have made an Swappartition
> > with the size of 4GB after install in runtime in top
> > it sseems to me that the maximum swap-size is
> > limitied to 2GB or better to INT_MAX ?
>
> It's limited to 16GB on i386 (or maybe 16GB per swap device, I
> forget).  You need a patch if you want to use this much, to avoid
> deadlocks - but nothing limits it out of the box.

Of course if you actually use this much swap your machine will be incompara=
bly=20
slow..

The old "swap size =3D 2x RAM" rule is no longer applicable unless you have=
 a=20
very special application.

IMO if you end up using more than 512MB of swap you need more RAM, or less=
=20
applications :)

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart5667936.3hy3GKSOHh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEOwPR5ZPcIHs/zowRAg8VAJ92mRR6zfN3XxUfNZXLHND8WevoLQCeOGpG
ChBPqM9osXSWSa/go1AjimU=
=g6Xi
-----END PGP SIGNATURE-----

--nextPart5667936.3hy3GKSOHh--



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