From owner-freebsd-current@FreeBSD.ORG Wed Feb 22 16:20:49 2006 Return-Path: X-Original-To: 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 80AB516A420; Wed, 22 Feb 2006 16:20:49 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9055443D46; Wed, 22 Feb 2006 16:20:48 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.4/8.13.4) with ESMTP id k1MGKlSh016698; Wed, 22 Feb 2006 19:20:47 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.4/8.13.4/Submit) id k1MGKlES016697; Wed, 22 Feb 2006 19:20:47 +0300 (MSK) (envelope-from ache) Date: Wed, 22 Feb 2006 19:20:46 +0300 From: Andrey Chernov To: John Baldwin Message-ID: <20060222162046.GA16663@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , John Baldwin , Kris Kennaway , current@FreeBSD.ORG References: <200602211047.06599.jhb@freebsd.org> <20060222023646.GA75290@xor.obsecurity.org> <200602221101.41027.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602221101.41027.jhb@freebsd.org> User-Agent: Mutt/1.5.11 Cc: current@FreeBSD.ORG, Kris Kennaway Subject: Re: [PATCH] possible fix for the runtime going backwards warnings 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: Wed, 22 Feb 2006 16:20:49 -0000 On Wed, Feb 22, 2006 at 11:01:39AM -0500, John Baldwin wrote: > Is it more or less than before the patch? Also, what happens if you just back Less than (for me). > The pagezero ones are truly odd. calcru() shouldn't be called for kthreads > very often (if at all). I wonder if your tickrate is changing out from under > you. Try editing sys/i386/i386/tsc.c and where it does 'set_cputicker(rdtsc, > tsc_freq, 1)' change the last parameter to '0' and see if they go away. May it interfere with ntpd activity? I have those log lines in one chunk: Feb 22 03:36:43 pobrecita ntpd[422]: time reset +0.622691 s Feb 22 03:36:43 pobrecita ntpd[422]: kernel time sync disabled 2041 Feb 22 03:37:45 pobrecita kernel: calcru: runtime went backwards from 292542 usec to 292537 usec for pid 29 (pagezero) Feb 22 03:37:45 pobrecita kernel: u 0:0/0 s 38:292542/292537 i 0:0/0 -- http://ache.pp.ru/