From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 16:15:00 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 C1BED16A417 for ; Fri, 7 Dec 2007 16:15:00 +0000 (UTC) (envelope-from gemini@geminix.org) Received: from geminix.org (geminix.org [213.73.82.81]) by mx1.freebsd.org (Postfix) with ESMTP id 81A2C13C46A for ; Fri, 7 Dec 2007 16:15:00 +0000 (UTC) (envelope-from gemini@geminix.org) Message-ID: <4759717D.2090409@geminix.org> Date: Fri, 07 Dec 2007 17:14:53 +0100 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20071201 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <47594087.7030703@seclark.us> <475952EF.70400@seclark.us> <47596B11.90601@geminix.org> <47596CD2.4080502@seclark.us> In-Reply-To: <47596CD2.4080502@seclark.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J0fqo-000NxZ-7c; Fri, 07 Dec 2007 17:14:54 +0100 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 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:15:00 -0000 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 -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net