From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 16:52:53 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D4F16A420 for ; Fri, 7 Dec 2007 16:52:53 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpauth02.prod.mesa1.secureserver.net (smtpauth02.prod.mesa1.secureserver.net [64.202.165.182]) by mx1.freebsd.org (Postfix) with SMTP id 9564613C461 for ; Fri, 7 Dec 2007 16:52:52 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 1968 invoked from network); 7 Dec 2007 16:52:49 -0000 Received: from unknown (24.144.77.185) by smtpauth02.prod.mesa1.secureserver.net (64.202.165.182) with ESMTP; 07 Dec 2007 16:52:48 -0000 Message-ID: <47597A5F.7070001@seclark.us> Date: Fri, 07 Dec 2007 11:52:47 -0500 From: Stephen Clark User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Uwe Doering References: <47594087.7030703@seclark.us> <475952EF.70400@seclark.us> <47596B11.90601@geminix.org> <47596CD2.4080502@seclark.us> <4759717D.2090409@geminix.org> In-Reply-To: <4759717D.2090409@geminix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 4.x Collecting pv entries Suggest increasing PMAP_SHPGPERPROC, X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 16:52:53 -0000 Uwe Doering wrote: > Hi Steve, > > Stephen Clark wrote: > >> Uwe Doering wrote: >> >>> [...] >>> But you can put that option into the kernel config file: >>> >>> options PMAP_SHPGPERPROC=... >>> >>> and build a new kernel with it. >> >> >> You are correct. My question is more how much should I increase it. >> The current default in the 4.x LINT file >> is "options PMAP_SHPGPERPROC=201" should I double it? Increase it by >> 50 to 251? Should it be a prime number? >> I am just asking for information. > > > The settings in the LINT file are not necessarily the defaults, rather > mere examples. The default value for PMAP_SHPGPERPROC is 200 (defined > in the source file /usr/src/sys/i386/i386/pmap.c). I would recommend > to increase it by 100 until the messages stop. We use 300 on our > servers, for instance. > > Regards, > > Uwe Thanks a lot for the response. I have only seen the message one time, I have 1 gb of memory with dual xeons, so I was thinking first I would bump it to 251. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)