Increase timestamp precision?

Gary Jennejohn gljennjohn at googlemail.com
Fri Feb 10 16:46:30 UTC 2012


On Fri, 10 Feb 2012 14:55:27 +0100
Ed Schouten <ed at 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


More information about the freebsd-fs mailing list