From owner-freebsd-fs@FreeBSD.ORG  Fri Feb 10 16:46:30 2012
Return-Path: <owner-freebsd-fs@FreeBSD.ORG>
Delivered-To: fs@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 333951065689
	for <fs@freebsd.org>; Fri, 10 Feb 2012 16:46:30 +0000 (UTC)
	(envelope-from gljennjohn@googlemail.com)
Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com
	[209.85.215.182])
	by mx1.freebsd.org (Postfix) with ESMTP id AE57A8FC13
	for <fs@freebsd.org>; Fri, 10 Feb 2012 16:46:29 +0000 (UTC)
Received: by eaan10 with SMTP id n10so1144724eaa.13
	for <fs@freebsd.org>; Fri, 10 Feb 2012 08:46:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=gamma;
	h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to
	:x-mailer:mime-version:content-type:content-transfer-encoding;
	bh=QnR+9zbYQ/3sWBtvlEfM+ucUHrf4QqQ93o9h9TZu+3I=;
	b=A5WUcHRyGEGmZCoMZnCvGKSSrGnbjeMIo1TFhBWvdFb+GLAm1Ge2HNB+fBTfSIxFcc
	Uj3WRdjh3hXFG6sJT2UOaidqk8LJG5MfkVDq8yd0oeNT47QWNGUJbBaBHwsUK5HJwbUK
	/aFwtGVufjSWvWrvFgQKgaZgItEQ4A3jkVTjk=
Received: by 10.213.13.209 with SMTP id d17mr1226839eba.20.1328891026334;
	Fri, 10 Feb 2012 08:23:46 -0800 (PST)
Received: from ernst.jennejohn.org (p578E2245.dip.t-dialin.net. [87.142.34.69])
	by mx.google.com with ESMTPS id a58sm23685285eeb.8.2012.02.10.08.23.43
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 10 Feb 2012 08:23:45 -0800 (PST)
Date: Fri, 10 Feb 2012 17:23:42 +0100
From: Gary Jennejohn <gljennjohn@googlemail.com>
To: Ed Schouten <ed@80386.nl>
Message-ID: <20120210172342.7974cc32@ernst.jennejohn.org>
In-Reply-To: <20120210135527.GR1860@hoeg.nl>
References: <20120210135527.GR1860@hoeg.nl>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Cc: fs@freebsd.org
Subject: Re: Increase timestamp precision?
X-BeenThere: freebsd-fs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: gljennjohn@googlemail.com
List-Id: Filesystems <freebsd-fs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs>
List-Post: <mailto:freebsd-fs@freebsd.org>
List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
	<mailto:freebsd-fs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Feb 2012 16:46:30 -0000

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