Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 17:23:42 +0100
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Ed Schouten <ed@80386.nl>
Cc:        fs@freebsd.org
Subject:   Re: Increase timestamp precision?
Message-ID:  <20120210172342.7974cc32@ernst.jennejohn.org>
In-Reply-To: <20120210135527.GR1860@hoeg.nl>
References:  <20120210135527.GR1860@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Feb 2012 14:55:27 +0100
Ed Schouten <ed@80386.nl> wrote:

> It seems the default timestamp precision sysctl
> (vfs.timestamp_precision) is currently set to 0 by default, meaning we
> don't do any sub-second timestamps on files. Looking at the code, it
> seems that vfs.timestamp_precision=1 will let it use a cached value with
> 1 / HZ precision and it looks like it should have little overhead.
> 
> Would anyone object if I were to change the default from 0 to 1?
> 

Is this only visible in the kernel?  I don't see any difference in the
output of ls -lT whether the sysctl is set to 0 or 1.

-- 
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120210172342.7974cc32>