From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 21:06:10 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B6416FFF; Mon, 21 Jan 2013 21:06:10 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0A1D92; Mon, 21 Jan 2013 21:06:10 +0000 (UTC) Received: from localhost (unknown [86.188.145.194]) by mail.dawidek.net (Postfix) with ESMTPSA id B9CF875A; Mon, 21 Jan 2013 22:03:36 +0100 (CET) Date: Mon, 21 Jan 2013 22:06:45 +0100 From: Pawel Jakub Dawidek To: mdf@FreeBSD.org Subject: Re: kmem_map auto-sizing and size dependencies Message-ID: <20130121210645.GC1341@garage.freebsd.pl> References: <50F96A67.9080203@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers , freebsd-current@freebsd.org, Andre Oppermann X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 21:06:10 -0000 --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 18, 2013 at 08:26:04AM -0800, mdf@FreeBSD.org wrote: > > Should it be set to a larger initial value based on min(physical,KVM) = space > > available? >=20 > It needs to be smaller than the physical space, [...] Or larger, as the address space can get fragmented and you might not be able to allocate memory even if you have physical pages available. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --iFRdW5/EC4oqxDHL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD9reUACgkQForvXbEpPzRQuACgmpMuaWnlzrwGLDg8via2mpRB H/MAn0osPB9G8vejrumWSQaYnHc8khDu =hBju -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL--