From owner-cvs-all@FreeBSD.ORG Mon Aug 16 06:28:01 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 107D716A501; Mon, 16 Aug 2004 06:27:59 +0000 (GMT) Received: from green.homeunix.org (pcp04371970pcs.nrockv01.md.comcast.net [69.140.223.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8899B43D41; Mon, 16 Aug 2004 06:27:58 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.1/8.13.1) with ESMTP id i7G6Rvef005173; Mon, 16 Aug 2004 02:27:57 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.1/8.13.1/Submit) id i7G6Rvaa005166; Mon, 16 Aug 2004 02:27:57 -0400 (EDT) (envelope-from green) Date: Mon, 16 Aug 2004 02:27:56 -0400 From: Brian Fundakowski Feldman To: Alan Cox Message-ID: <20040816062756.GG980@green.homeunix.org> References: <200408160616.i7G6GCIc055763@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408160616.i7G6GCIc055763@repoman.freebsd.org> User-Agent: Mutt/1.5.6i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm.h vm_fault.c vm_map.c vm_meter.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 06:28:01 -0000 On Mon, Aug 16, 2004 at 06:16:12AM +0000, Alan Cox wrote: > alc 2004-08-16 06:16:12 UTC > > FreeBSD src repository > > Modified files: > sys/vm vm.h vm_fault.c vm_map.c vm_meter.c > Log: > - Introduce and use a new tunable "debug.mpsafevm". At present, setting > "debug.mpsafevm" results in (almost) Giant-free execution of zero-fill > page faults. (Giant is held only briefly, just long enough to determine > if there is a vnode backing the faulting address.) > > Also, condition the acquisition and release of Giant around calls to > pmap_remove() on "debug.mpsafevm". > > The effect on performance is significant. On my dual Opteron, I see a > 3.6% reduction in "buildworld" time. > > - Use atomic operations to update several counters in vm_fault(). Now all we need is to simply make VFS Giant-free, too! ;) -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\