From owner-freebsd-amd64@FreeBSD.ORG Mon Nov 28 18:10:13 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A38D816A41F for ; Mon, 28 Nov 2005 18:10:13 +0000 (GMT) (envelope-from kometen@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFF343D75 for ; Mon, 28 Nov 2005 18:10:01 +0000 (GMT) (envelope-from kometen@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so1239328nzo for ; Mon, 28 Nov 2005 10:09:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=DmnT2oO+9le2/OFvnPj0dFz+jLvxlae2imPK5bW04W9ZH0GbRP8B4D/c4kOK/97kYHKFyIasOWCNHfTnt73q6XKPqI/BWnrJ5Rkg5mFAAJ7Sth6ksPFZ8IE5nmycRhhyYLKhdTOP6MwlQAf6O0AcrcAtaytQZfVCU5m3iBFJrq0= Received: by 10.64.131.1 with SMTP id e1mr1771745qbd; Mon, 28 Nov 2005 10:09:59 -0800 (PST) Received: by 10.65.192.16 with HTTP; Mon, 28 Nov 2005 10:09:59 -0800 (PST) Message-ID: Date: Mon, 28 Nov 2005 19:09:59 +0100 From: Claus Guttesen To: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-amd64 List Subject: increasing PMAP_SHPGPERPROC (was: FreeBSD 5.4 or 6.0 as postgresql-server) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 18:10:13 -0000 > > I'd be interested in your experiences w/6.0. Would you mind testing > > the onboard bge nics at the kind of loads that was causing them to > > puke under 5.4? I've got same system and as of yet not encountered > > issues w/ the onboard bge nics. The machine is also at the latest > > BIOS, however, so that may contribute as well. I just put our new db-server in production and so far everything works fine, including the two build-in bge-nics. When load hit the server the following showed up in /var/log/messages: kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC The default value is found in /usr/src/sys/amd64/conf/NOTES and says: # The value below is the one more than the default. # options PMAP_SHPGPERPROC=3D201 But I can't find any rule of thumb on what value to raise it to, 402, 512, just above it says: # Set the number of PV entries per process. Increasing this can # stop panics related to heavy use of shared memory. However, that can # (combined with large amounts of physical memory) cause panics at # boot time due the kernel running out of VM space. regards Claus