Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 20:21:53 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        John Baldwin <jhb@freebsd.org>
Cc:        "Brad L. Chisholm" <blc@bsdwins.com>, freebsd-hackers@freebsd.org
Subject:   Re: Kernel hang on 6.x
Message-ID:  <20070111092153.GG833@turion.vk2pj.dyndns.org>
In-Reply-To: <200701102211.39412.jhb@freebsd.org>
References:  <20070110215207.GA85834@bsdone.bsdwins.com> <200701101753.24716.jhb@freebsd.org> <20070111001534.GA319@bsdone.bsdwins.com> <200701102211.39412.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--yVhtmJPUSI46BTXb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, 2007-Jan-10 22:11:38 -0500, John Baldwin wrote:
>64 / 14.  That gives a result of 153405586.  However, you really want to
>round this up to a multiple of 288 (because the kernel rounds it down to
>a multiple of 288), so I'd use a value of at least 153405792.

Looking at the code, it seems that each SWAPMETA object manages 16 pages.

>  And yes,
>that means you are setting aside a little over 146 MB of wired, physical
>RAM just to hold metadata for your swap. :)

Given a system with 16GB RAM, this probably isn't a serious issue.

--=20
Peter Jeremy

--yVhtmJPUSI46BTXb
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFFpgGx/opHv/APuIcRAgMmAKC50wAPAHlnwpcF+OQCLqe+hk72aACgty4J
PZ7yscipmY+K+k9xbSl75UM=
=tCnE
-----END PGP SIGNATURE-----

--yVhtmJPUSI46BTXb--



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