From owner-cvs-all Sun Oct 14 10:43:56 2001 Delivered-To: cvs-all@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id CC90737B406 for ; Sun, 14 Oct 2001 10:43:48 -0700 (PDT) Received: (qmail 38058 invoked by uid 1000); 14 Oct 2001 17:43:45 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Oct 2001 17:43:45 -0000 Date: Sun, 14 Oct 2001 12:43:45 -0500 (CDT) From: Mike Silbersack To: Dag-Erling Smorgrav Cc: Matt Dillon , Peter Wemm , Alfred Perlstein , Mikhail Teterin , , Subject: Re: noatimedir? (Re: cvs commit: src/sys/vm vnode_pager.c) In-Reply-To: Message-ID: <20011014123818.J38047-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Oct 2001, Dag-Erling Smorgrav wrote: > Mike Silbersack writes: > > An effective way to implement this might be to tune it based on the > > sysctl, but enable it only on partitions mounted softupdates or async. In > > either of those cases, you clearly can't count on *any* disk activity > > occuring on a predictable basis, so losing perfect accuracy on atimes is > > no big deal. I'd imagine that a setting of 60 seconds would provide > > reasonable accuracy while reducing atime updates a *lot*. > > Only on directories. If you're like me and update your CVS repo every > hour, and run 'cvs update' maybe a couple of times every day, a 60- > second hysteresis isn't going to make any difference to file atimes. > > DES I'm thinking more about the cvs server you and others are hitting simultaneously. For something like that (or an ftp server, or an http server), the effect might be more drastic. Hrm, have any atime vs noatime benchmarks been done? It's always mentioned in tuning guides, but I've never thought about how much of a performance difference it makes. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message