From owner-cvs-all Sun Oct 14 0:38: 1 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 507F737B40F for ; Sun, 14 Oct 2001 00:37:56 -0700 (PDT) Received: (qmail 36780 invoked by uid 1000); 14 Oct 2001 07:37:54 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Oct 2001 07:37:54 -0000 Date: Sun, 14 Oct 2001 02:37:54 -0500 (CDT) From: Mike Silbersack To: Matt Dillon Cc: Peter Wemm , Alfred Perlstein , Mikhail Teterin , , , Subject: Re: noatimedir? (Re: cvs commit: src/sys/vm vnode_pager.c) In-Reply-To: <200110140434.f9E4YTj46344@earth.backplane.com> Message-ID: <20011014023425.K36700-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 Sat, 13 Oct 2001, Matt Dillon wrote: > It does seem like it ought to be a mount option, but then again a > sysctl is very simple and won't require us to mess around with the > mount structures. again. > > If you want to part with the patch, I'd like to see what it entails. > I suspect it's fairly simple, right? If so I think it's worth throwing > into the system and then adding a section to tuning(7) regarding it. > > -Matt 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*. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message