Increase timestamp precision?

Ed Schouten ed at 80386.nl
Fri Feb 10 13:55:28 UTC 2012


Hi all,

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?

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120210/83a21aa5/attachment.pgp


More information about the freebsd-fs mailing list