Date: Mon, 16 Aug 2004 02:27:56 -0400 From: Brian Fundakowski Feldman <green@FreeBSD.org> To: Alan Cox <alc@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 Message-ID: <20040816062756.GG980@green.homeunix.org> In-Reply-To: <200408160616.i7G6GCIc055763@repoman.freebsd.org> References: <200408160616.i7G6GCIc055763@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. \,,,,,,,,,,,,,,,,,,,,,,\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040816062756.GG980>