From owner-freebsd-hackers Tue Feb 5 8:36: 5 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2F2F437B405; Tue, 5 Feb 2002 08:36:01 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g15GZxi09756; Tue, 5 Feb 2002 09:36:00 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g15GZwL30376; Tue, 5 Feb 2002 09:35:58 -0700 (MST) (envelope-from imp@village.org) Date: Tue, 05 Feb 2002 09:35:35 -0700 (MST) Message-Id: <20020205.093535.103565337.imp@village.org> To: phk@critter.freebsd.dk Cc: jdp@polstra.com, hackers@FreeBSD.ORG, msmith@hub.freebsd.org Subject: Re: A question about timecounters From: "M. Warner Losh" In-Reply-To: <86051.1012909502@critter.freebsd.dk> References: <200202050141.g151fxW02520@vashon.polstra.com> <86051.1012909502@critter.freebsd.dk> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <86051.1012909502@critter.freebsd.dk> Poul-Henning Kamp writes: : But the i8254 is a piece of shit in this context, and due to : circumstances (apm being enabled0 most machines end up using the : i8254 by default. : : My (and I belive Bruce's) diagnosis so far is that most problems : come from the i8254 timecounter. We measured pps interrupts with the i8254 timecounter in a fast interrupt handler via the parallel port (yes, we hacked it to give us a fast interrupt). We found lots of outliers on the order of a few milliseconds in the data that we had to discard because they were obviously bogus. We don't know if this is because of interrupt latency or because of bugs in the 8254 timecounter code/hardware. At the time, it wasn't important enough to do a detailed numerology on to see if more data couldn't be mined from it or not. And the data that we saw the outliers in was somewhat processed from the original data... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message