From owner-freebsd-current@FreeBSD.ORG Fri Jul 7 18:29:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D37316A4E7; Fri, 7 Jul 2006 18:29:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B649943D7F; Fri, 7 Jul 2006 18:29:17 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k67ITD6k019594; Fri, 7 Jul 2006 14:29:14 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 7 Jul 2006 13:43:12 -0400 User-Agent: KMail/1.9.1 References: <20060629193346.GA2548@dragon.NUXI.org> <44AD6756.4070008@rogers.com> <44ADC08B.8000408@rogers.com> In-Reply-To: <44ADC08B.8000408@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607071343.14205.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 07 Jul 2006 14:29:14 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1589/Fri Jul 7 10:37:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Mailman-Approved-At: Fri, 07 Jul 2006 18:32:07 +0000 Cc: Mike Jakubik , stable@freebsd.org Subject: Re: Still getting 'calcru: runtime went backwards' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2006 18:29:25 -0000 On Thursday 06 July 2006 22:01, Mike Jakubik wrote: > I'm getting a ton of them now, and i found a way to reproduce them. > Basically i run a compile session in one terminal, say make buildkernel, > and run top in another. As soon as i run top, the messages appear, and > they seem to be synchronized with the refresh rate of top, 2 messages > per refresh. This is on a 6.1-STABLE as of today. That is partly because when you run top it queries the resource usage of the various processes via fill_kinfo_proc(). When you don't run top, no one is asking for the resource usage numbers, so the kernel doesn't waste time calculating them. > --- > calcru: negative runtime of -261273 usec for pid 12 (swi4: clock) > calcru: negative runtime of -261273 usec for pid 12 (swi4: clock) > calcru: negative runtime of -259691 usec for pid 12 (swi4: clock) > ... In both cases your errors are for a long-running kernel process that's been up since boot. What's the uptime on your box? -- John Baldwin