From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 16:42:19 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 7B9BE16A418 for ; Fri, 7 Dec 2007 16:42:19 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 347B413C455 for ; Fri, 7 Dec 2007 16:42:19 +0000 (UTC) (envelope-from kometen@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so210190anc for ; Fri, 07 Dec 2007 08:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CAjsIGdXOcB7tlM7QHExvvMkCcikOsKHlhFvSooe9AQ=; b=uFKQ4na693BDPkEKPRkDCeCfcWqeyXMIdleGfQMft8sjgOlO4y/FdyMgZYsLDEGjioP9Err4uYWwPB4EHYQGZH1F/VkCsAtUegTA61siG7z1CmiFmWB0DfF6smfuZmzdhKPJ0zh4ZdTcACKjLtOKWmuRldfDr2xdQkHYdcEepyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q7NTaMsr46ldG9+SNCQ0pFRUp/yLXkhpRNTrC8074SXYue9mFJqBkzbV+A9zzr8lkPpyVGTKNhgZFFoI+kfGs+VxBd5JWlc0sSJTirATaNUbap6EQc9vKbJCCDMfOd4wvx4thEnEgbr4eiwjqpZtDy96oiYCv+OqRsKCZdtQ+2E= Received: by 10.100.252.16 with SMTP id z16mr9647100anh.1197045738213; Fri, 07 Dec 2007 08:42:18 -0800 (PST) Received: by 10.100.154.2 with HTTP; Fri, 7 Dec 2007 08:42:18 -0800 (PST) Message-ID: Date: Fri, 7 Dec 2007 17:42:18 +0100 From: "Claus Guttesen" To: "Uwe Doering" In-Reply-To: <4759717D.2090409@geminix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47594087.7030703@seclark.us> <475952EF.70400@seclark.us> <47596B11.90601@geminix.org> <47596CD2.4080502@seclark.us> <4759717D.2090409@geminix.org> Cc: Stephen.Clark@seclark.us, 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:42:19 -0000 > >> 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. I do recall I had the same message on a 5.x-server (running postgresql-server I think, some years ago now :-) ) once in a while. I think I raised it twice to 400. I remember that the recommendation was not to raise it too high in order not to make the kernel panic during boot. -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare