From owner-freebsd-stable@FreeBSD.ORG Mon Dec 5 20:43:28 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6919016A41F for ; Mon, 5 Dec 2005 20:43:28 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id B78A643D55 for ; Mon, 5 Dec 2005 20:43:27 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Mon, 05 Dec 2005 12:43:23 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 787065D04; Mon, 5 Dec 2005 12:43:19 -0800 (PST) To: "Matthew D. Fuller" In-reply-to: Your message of "Mon, 05 Dec 2005 13:47:56 CST." <20051205194756.GG90806@over-yonder.net> Date: Mon, 05 Dec 2005 12:43:19 -0800 From: "Kevin Oberman" Message-Id: <20051205204319.787065D04@ptavv.es.net> Cc: kama , freebsd-stable@freebsd.org, Peter Jeremy Subject: Re: cpu-timer rate X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 20:43:28 -0000 > Date: Mon, 5 Dec 2005 13:47:56 -0600 > From: "Matthew D. Fuller" > > On Mon, Dec 05, 2005 at 10:15:52AM -0800 I heard the voice of > Kevin Oberman, and lo! it spake thus: > > > From: "Matthew D. Fuller" > > > > > > Because the rate is always twice hz. > > > > While I will concede that I have no explanation, but on all of my > > systems rate = HZ +/-1. I have never seen a case where rate/2 = HZ. > > Well, OK, it always is when you're using the LAPIC timer, which I > think is on 6.x and up (with the APIC enabled, of course). When > you're using irq0, it just runs at hz. That would explain it. While most of the systems in question are V6 or V7, none is multi-processor and, being conservative, I don't run APIC on any of them. (An exception is my -current system, but it locks up on boot with APIC enabled.) Maybe I should try it some time just to see what happens. ;-) Thanks. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634