From owner-freebsd-arch@FreeBSD.ORG Wed Dec 17 19:09:17 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 832D65A4; Wed, 17 Dec 2014 19:09:17 +0000 (UTC) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 40E70CDE; Wed, 17 Dec 2014 19:09:16 +0000 (UTC) Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id 733E33BD1A; Wed, 17 Dec 2014 19:09:15 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id sBHJ9EcC070450; Wed, 17 Dec 2014 19:09:15 GMT (envelope-from phk@phk.freebsd.dk) To: Adrian Chadd Subject: Re: Change default VFS timestamp precision? In-reply-to: From: "Poul-Henning Kamp" References: <201412161348.41219.jhb@freebsd.org> <20141216233844.GA1490@stack.nl> <2034186.iLaW9EGnEt@ralph.baldwin.cx> <70073.1418837301@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <70448.1418843354.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Wed, 17 Dec 2014 19:09:14 +0000 Message-ID: <70449.1418843354@critter.freebsd.dk> Cc: "freebsd-arch@freebsd.org" , Jilles Tjoelker X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 19:09:17 -0000 -------- In message , Adrian Chadd writes: >> I think it is over 10 years ago when make(1) first started seeing >> identical timestamps which wasn't. >> >> In most Makefiles this doesn't matter, but there are cases, in particul= ar >> in less integrated families of makefiles than our own. > >Surely there has to be better ways of doing this stuff. Computers keep >getting faster; it wouldn't be out of the realm of possibility that we >could see a compiler read, compile and spit out a .o inside of a >millisecond. (Obviously not C++, but..) A millisecond is pushing it, all things considered, it would have to be an utterly trivial source file for a utterly trivial language. Given that it has epsilon cost, switching to TSP_HZ should be a no-brainer, I've been running that for ages. Why TSP_USEC exists is beyond me, it's slower and worse than TSP_NSEC. But going to TSP_NSEC by default seems unwarranted to me. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .