From owner-cvs-src@FreeBSD.ORG Sun Nov 27 10:03:58 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B82F916A41F; Sun, 27 Nov 2005 10:03:58 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C022F43D4C; Sun, 27 Nov 2005 10:03:57 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id E456E46B4F; Sun, 27 Nov 2005 05:03:56 -0500 (EST) Date: Sun, 27 Nov 2005 10:03:56 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp In-Reply-To: <1647.1133083921@critter.freebsd.dk> Message-ID: <20051127095921.A81764@fledge.watson.org> References: <1647.1133083921@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 10:03:58 -0000 On Sun, 27 Nov 2005, Poul-Henning Kamp wrote: > In message <200511270055.jAR0tIkF032480@repoman.freebsd.org>, Robert Watson writes: > >> This offers a minimum update rate of 1/HZ, >> but in practice will often be more frequent due to the frequency of >> time stamping in the kernel: > > Not quite... > > The precision is guaranteed to be no worse than 1msec, and is unlikely > to be significantly better. Sadly, for some workloads it will be -- we update the cached time stamp for every kernel context switch, so workloads that trigger lots of context switches will also trigger time stamp updates. I.e., loopback network traffic due to the netisr and user space context switches, high in-bound network triffic due to ithread and netisr context switches, etc. Robert N M Watson