From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 11 09:44:52 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3460016A47C; Thu, 11 Jan 2007 09:44:52 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id B744D13C459; Thu, 11 Jan 2007 09:44:51 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0B9LsQh002171; Thu, 11 Jan 2007 20:21:54 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0B9LrUf002170; Thu, 11 Jan 2007 20:21:53 +1100 (EST) (envelope-from peter) Date: Thu, 11 Jan 2007 20:21:53 +1100 From: Peter Jeremy To: John Baldwin Message-ID: <20070111092153.GG833@turion.vk2pj.dyndns.org> References: <20070110215207.GA85834@bsdone.bsdwins.com> <200701101753.24716.jhb@freebsd.org> <20070111001534.GA319@bsdone.bsdwins.com> <200701102211.39412.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yVhtmJPUSI46BTXb" Content-Disposition: inline In-Reply-To: <200701102211.39412.jhb@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: "Brad L. Chisholm" , freebsd-hackers@freebsd.org Subject: Re: Kernel hang on 6.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 09:44:52 -0000 --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--