From owner-freebsd-current@FreeBSD.ORG Wed Mar 7 17:24:44 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C629116A400 for ; Wed, 7 Mar 2007 17:24:44 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 5122C13C474 for ; Wed, 7 Mar 2007 17:24:43 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so245600nfc for ; Wed, 07 Mar 2007 09:24:42 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=ASuC34byBS/A0VMrdznfweHF7xou1kKiAmviIYCWpBN0s6L6k4Mc5IkroHbPxrTSs8506vlNCGQt+dsKPwNa2Ct7LNXU79DLZgaBl4Ahas+hlMU+lxRU8wHcuf6fLyp2Wctd/s4ypvFFLL2WcYFFRi/hLZ1sBal0xJdL0/LYKiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MR2P/WSrzOWRixT7VNNDmOlfJ5JmIHvKxVW+eZodTfkR4USGqZCSsMzU+xPygspmKluS5P7MzOx2t9eMt9BITOJ6E3RbwFoV/UQe8vIkXt13i0NmA+wbp8Hf75FyBCdjSbE+NISaYxp4wlrh6xbHCr3dUSba6vwVA475m2nQgv8= Received: by 10.82.163.13 with SMTP id l13mr9682746bue.1173288282285; Wed, 07 Mar 2007 09:24:42 -0800 (PST) Received: by 10.82.155.14 with HTTP; Wed, 7 Mar 2007 09:24:41 -0800 (PST) Message-ID: Date: Wed, 7 Mar 2007 14:24:41 -0300 From: "Eduardo Meyer" To: "Bill Moran" In-Reply-To: <20070307114338.344304f9.wmoran@collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070307114338.344304f9.wmoran@collaborativefusion.com> 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-current@freebsd.org X-Mailman-Version: 2.1.5 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, 07 Mar 2007 17:24:44 -0000 > > 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. > Mr Moran, did you set up any other sysctl mib such as the mentioned ones? I have raised it to "500". If I set lower values, around 400 I start getting a huge flood of: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC collecting pv entries -- suggest increasing PMAP_SHPGPERPROC Specially on "apachectl graceful" signaling. If I raise it over 500 my system panics on boot. I still get "collecting pv entries -- suggest increasing PMAP_SHPGPERPROC" at the current setup value, however not very often. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br