Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 21:11:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter G <pg@eth1.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: PAE, mem available to user?
Message-ID:  <20040330051132.GB27334@xor.obsecurity.org>
In-Reply-To: <20040330050641.27159.qmail@web9707.mail.yahoo.com>
References:  <20040328033638.GA34446@xor.obsecurity.org> <20040330050641.27159.qmail@web9707.mail.yahoo.com>

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

--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--



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