From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 08:45:54 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5397616A40F for ; Wed, 13 Dec 2006 08:45:54 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52C7E43CB9 for ; Wed, 13 Dec 2006 08:43:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B1BF61A3C1C; Wed, 13 Dec 2006 00:45:07 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1BA075133A; Wed, 13 Dec 2006 03:45:07 -0500 (EST) Date: Wed, 13 Dec 2006 03:45:06 -0500 From: Kris Kennaway To: "Michael K. Smith - Adhost" Message-ID: <20061213084506.GA29889@xor.obsecurity.org> References: <20061211171506.97949c7e.wmoran@collaborativefusion.com> <17838240D9A5544AAA5FF95F8D5203160167353D@ad-exh01.adhost.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <17838240D9A5544AAA5FF95F8D5203160167353D@ad-exh01.adhost.lan> User-Agent: Mutt/1.4.2.2i Cc: questions@freebsd.org, Bill Moran Subject: Re: shmmax tops out at 2G? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 08:45:54 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2006 at 12:27:22AM -0800, Michael K. Smith - Adhost wrote: > Hello Bill: >=20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Bill Moran > Sent: Monday, December 11, 2006 2:15 PM > To: questions@freebsd.org > Subject: shmmax tops out at 2G? >=20 >=20 > uname -a > FreeBSD db00.lab00 6.2-BETA3 FreeBSD 6.2-BETA3 #1: Fri Dec 8 09:27:37 > EST 2006 root@db00.lab00:/usr/obj/usr/src/sys/DB-2850-amd64 amd64 >=20 > sysctl kern.ipc.shmmax=3D2200000000 > kern.ipc.shmmax: 2100000000 -> -2094967296 >=20 > Looks like an unsigned 32-bit int. That doesn't seem to scale as well > as > would be expected on 64-bit arch. >=20 > Is this a mistake, or intentional? I'm working with some big memory > systems, and I sure would like to allocate more than 2G for PostgreSQL > to use ... >=20 > --=20 > Bill Moran > Collaborative Fusion Inc. >=20 > --- >=20 > This may be a silly question but, have you compiled a PAE-enabled > kernel? If not, check out /sys/i386/conf/PAE. Yeah, it is ;-) PAE is a hack for legacy i386 systems which cannot run in full 64-bit (amd64) mode - it's not relevant to this problem. Bill's guess is probably right, so someone needs to go over the sysv ipc code and make it 64-bit capable. Kris --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFf72SWry0BWjoQKURAlXpAJ0TxYAb3emCrIPflewTtWf5/yZVRACffuU3 oRm63lNk6b/+yBmiQQI//UM= =t9zA -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--