From owner-freebsd-stable@FreeBSD.ORG Sun Sep 14 09:25:16 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3D6616A4C0 for ; Sun, 14 Sep 2003 09:25:16 -0700 (PDT) Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E28B43FBF for ; Sun, 14 Sep 2003 09:25:15 -0700 (PDT) (envelope-from akruijff@kruij557.speed.planet.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp03.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HL700IUIPDPL4@smtp03.wxs.nl> for freebsd-stable@freebsd.org; Sun, 14 Sep 2003 18:20:14 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h8EGLGbC089273;akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h8EGLEMB089272; Sun, 14 Sep 2003 18:21:14 +0200 (CEST envelope-from akruijff) Date: Sun, 14 Sep 2003 18:21:14 +0200 From: Alex de Kruijff In-reply-to: <20030913104821.GG40128@nexus.dglawrence.com> To: "David G. Lawrence" Message-id: <20030914162113.GA89177@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <20030913092804.S46465@fling.sanbi.ac.za> <20030913123257.C51554@fling.sanbi.ac.za> <20030913104821.GG40128@nexus.dglawrence.com> cc: freebsd-stable@freebsd.org Subject: Re: Large memory issues on 4-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 16:25:17 -0000 On Sat, Sep 13, 2003 at 03:48:21AM -0700, David G. Lawrence wrote: > > David Lawrence said: > > > Sorry, due to design issues, it isn't possible to have virtual sizes > > >larger than about 3GB on FreeBSD. This is because the kernel is mapped in > > >the upper part of the virtual address space. Of course you can use all of > > >your 4GB of RAM - just not all of it at the same time in one process. > > > > OK, fair enough. Is this going to be any different in FreeBSD with PAE > > (Intel's scheme for 32bit stuff using > 4GB RAM)? > > No, this has nothing to do with the size of physical memory. It is a limit > on the size of a process's virtual address space. > > > Should I try 5.1? Or isn't 4.9 going to have PAE support anyway? > > All versions of FreeBSD have this limitation. > > > Given what David says though, why do I have a problem with MySQL getting > > thread errors with MAXDSIZ 2048 or greater? > > > > Why does tcsh's "limit" report datasize unlimited when MAXDSIZ is over > > 2048? > > Probably a signed arithmetic problem. 2048MB is 2^31 bits, which is the > largest number that can be represented in a 32 bit signed int. Sorry but 2^31 is the lowest number availible in a 32 bit signed int and 2^31-1 is the largest number. The 32th bit indicates the number is negitive. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/