From owner-freebsd-stable@FreeBSD.ORG Thu May 10 18:33:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EAE36106566C; Thu, 10 May 2012 18:33:17 +0000 (UTC) (envelope-from cowens@greatbaysoftware.com) Received: from ecbiz102.inmotionhosting.com (ecbiz102.inmotionhosting.com [70.39.235.94]) by mx1.freebsd.org (Postfix) with ESMTP id 99FB18FC17; Thu, 10 May 2012 18:33:17 +0000 (UTC) Received: from c-50-136-23-27.hsd1.nh.comcast.net ([50.136.23.27]:56559 helo=jack.bspruce.com) by ecbiz102.inmotionhosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1SSYAr-0003Ax-RR; Thu, 10 May 2012 14:33:13 -0400 Message-ID: <4FAC09E8.8050309@greatbaysoftware.com> Date: Thu, 10 May 2012 14:33:12 -0400 From: Charles Owens Organization: Great Bay Software User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: alc@freebsd.org References: <4FAAAF8E.40007@greatbaysoftware.com> <4FABE440.5000100@greatbaysoftware.com> In-Reply-To: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ecbiz102.inmotionhosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - greatbaysoftware.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Adam Vande More , Alan Cox , freebsd-stable@freebsd.org Subject: Re: superpages not solving "PV entries" limit warning 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: Thu, 10 May 2012 18:33:18 -0000 On 5/10/12 12:37 PM, Alan Cox wrote: > On Thu, May 10, 2012 at 10:52 AM, Charles Owens > > wrote: > > That's very helpful! I had read about that and wondered if it > applied to i386. > > Should I have expected "superpages" to completely cure the > condition... or does it just help? Should I now be looking at > tuning the related pmap sysctls to give further relief? > > > Superpages won't cure the problem due to the nature of your workload. > After a fork, writes to portions of the address space that are both > superpages and copy-on-write will trigger demotion, or > re-instantiation of the 4KB page granularity PV entries. Ultimately, > repromotion to superpages may occur, but in the meantime, your peak > usage of PV entries is only slightly reduced. > > The bottom line is that you'll need to resort to tuning. > > Alan Ok. Very good. Lastly, since we're talking about this (for the future) -- is enabling of superpages generally recommended for amd64? Thanks, Charles