From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 21:11:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D1C016A4CE for ; Mon, 29 Mar 2004 21:11:36 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C2D443D41 for ; Mon, 29 Mar 2004 21:11:36 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (d9ffb28bf3ab215442cf980a3857bf99@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i2U5AQS5027729; Mon, 29 Mar 2004 21:10:27 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7C31D51A72; Mon, 29 Mar 2004 21:11:32 -0800 (PST) Date: Mon, 29 Mar 2004 21:11:32 -0800 From: Kris Kennaway To: Peter G Message-ID: <20040330051132.GB27334@xor.obsecurity.org> References: <20040328033638.GA34446@xor.obsecurity.org> <20040330050641.27159.qmail@web9707.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <20040330050641.27159.qmail@web9707.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: PAE, mem available to user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 05:11:36 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 29, 2004 at 09:06:41PM -0800, Peter G wrote: > Thank you for your response >=20 > What i'd like to be able to do on this 5.2.1 machine > is run a user job that may take up 1.5GB of mem, i'd > like it to start swapping which it doesn't do, nor > does it panic, nor does it lock up. It stays > responsive. >=20 > Taking what U said i recompiled the kernel as a non > PAE build and included=20 >=20 > options maxusers 512 > options MAXDSIZ=3D"(1664*1024*1024)" > options DFLDSIZ=3D"(1664*1024*1024)" >=20 > and i am now able to start the job and watch it go to > about 1.2GB, actually 1.18GB, then either job stops or > job coredumps, machine stays nice and responsive and > stable. >=20 > I have it configured w/ 2 large swap files on 2 > diffrent spindles but the machine does not start > swapping. How are your processes allocating memory? > The only error messages in the logs or dmesg is that > this user job core dumped. >=20 > What tunable parameters can i put into the next kernel > build configuration to help me here?=20 > KVA_PAGES? setting maxusers to something else? > I have a very small kernel requirement i want to > maximize my user available space for this job..? If you only have 1.5GB total on the machine then you can't allocate 1.5GB of physical RAM to user space, because that would leave the kernel with 0. Kris --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAaQGEWry0BWjoQKURAnKqAJ4yfGGQYUrxD41NPbg/RI32bIX3aQCePRru +ZvdADhgLIdOJ1H8qKhWaMI= =RYdz -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--