From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 16:53:43 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6BC916A405; Wed, 7 Mar 2007 16:53:43 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 93BBC13C4AA; Wed, 7 Mar 2007 16:53:43 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 07 Mar 2007 11:43:41 -0500 id 0005641C.45EEEBBD.00004F80 Date: Wed, 7 Mar 2007 11:43:38 -0500 From: Bill Moran To: "Eduardo Meyer" Message-Id: <20070307114338.344304f9.wmoran@collaborativefusion.com> In-Reply-To: References: Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org, current@freebsd.org Subject: Re: How PMAP_SHPGPERPROC relate to vm.v_free_min, vm.v_free_reserved and vm.v_free_target? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 16:53:44 -0000 In response to "Eduardo Meyer" : > Heavy Apache usage is demanding a higher PMAP_SHPGPERPROC kernel > option in my system. However I keep getting the NOTES-documented panic > at boot time, meaning I need to adequately do vm.v_free_min, > vm.v_free_reserved and vm.v_free_target sysctl tuning. > > However, this sysctl vars dont have a description and I simply can't > find any further documentation regarding how the vars relate among > themselves and how they related to PMAP_SHPGPERPROC. Can anyone please > explain some basics about how they relate and how I can do the tuning? > > It is a 5.5-STABLE with 9GB of memory and PAE enable (sure). > > Hackers' feedback or sysadmins' personal experiences are heavily appreciated. How high did you raise PMAP_SHPGPERPROC? We raised it to 250 on our stock PostgreSQL systems and did not have to tweak any other values. Note that we're running 6.x on these systems, so YMMV. > Sorry for cross-posting, I was not sure which list was more adequate. Probably -hackers@. Although I would have started with -questions@ -- Bill Moran Collaborative Fusion Inc.