From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 06:51:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C39437B401 for ; Wed, 25 Jun 2003 06:51:07 -0700 (PDT) Received: from ztxmail05.ztx.compaq.com (ztxmail05.ztx.compaq.com [161.114.1.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8452543FE0 for ; Wed, 25 Jun 2003 06:51:06 -0700 (PDT) (envelope-from john.cagle@hp.com) Received: from cceexg13.americas.cpqcorp.net (cceexg13.americas.cpqcorp.net [16.110.250.119]) by ztxmail05.ztx.compaq.com (Postfix) with ESMTP id CC5E5CA8E; Wed, 25 Jun 2003 08:51:05 -0500 (CDT) Received: from cceexc19.americas.cpqcorp.net ([16.110.250.85]) by cceexg13.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6673); Wed, 25 Jun 2003 08:51:05 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Jun 2003 08:50:55 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Best way to get max KVA setting? Thread-Index: AcM687nrDLW/B23bTdOFLexiLidebwALGxMg From: "Cagle, John (ISS-Houston)" To: "Terry Lambert" , "Mike Silbersack" X-OriginalArrivalTime: 25 Jun 2003 13:51:05.0569 (UTC) FILETIME=[D2A77D10:01C33B20] cc: current@freebsd.org Subject: RE: Best way to get max KVA setting? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 13:51:07 -0000 I'm that guy who was running PAE on an 8GB machine... BTW, it turns out the problem was _not_ the autotuning, it was simply an overflow of a 32-bit variable in the kernel. It's been fixed in -current, checked in 2 weeks ago. -----Original Message----- From: Terry Lambert [mailto:tlambert2@mindspring.com]=20 Sent: Wednesday, June 25, 2003 3:26 AM To: Mike Silbersack Cc: current@freebsd.org Subject: Re: Best way to get max KVA setting? Mike Silbersack wrote: > I could probably grep for this, but what's the best way to get a hold=20 > of the # of pages (or MB of ram) that max KVA is set to? I'm adding=20 > another autosize option, and I want to base it on min (KVA, ram) so=20 > that it doesn't balloon on boxes where ram >> KVA. I posted a patch about a month ago that did exactly this. It was for a guy who was was running with PAE enabled on an 8G machine, and the autotuning was shooting him in the foot when it tried to grab enough memory to create kmem_map entries for the 8G of RAM in his 2G KVA space, and its head exploded. Let me know if you can't find it in the -current archives, and I can dig it out for you, if you're willing to wait a day or two. -- Terry