From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 19:19:33 2005 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 EC1E316A41F for ; Wed, 8 Jun 2005 19:19:33 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77B5443D49 for ; Wed, 8 Jun 2005 19:19:30 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 2755F3B8C1; Wed, 8 Jun 2005 21:19:28 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.13.3/8.13.3) with ESMTP id j58J1l81006342; Wed, 8 Jun 2005 21:01:47 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.3/8.13.3/Submit) id j58J1lCf006341; Wed, 8 Jun 2005 21:01:47 +0200 (CEST) (envelope-from schweikh) Date: Wed, 8 Jun 2005 21:01:47 +0200 From: Jens Schweikhardt To: Doug White Message-ID: <20050608190147.GA917@schweikhardt.net> References: <20050516113420.GA786@schweikhardt.net> <20050518150346.S87264@carver.gumbysoft.com> <20050519190129.GA1048@schweikhardt.net> <20050520122944.B8229@carver.gumbysoft.com> <20050521092857.GA847@schweikhardt.net> <20050522112845.S27009@carver.gumbysoft.com> <20050523175609.GA779@schweikhardt.net> <20050523210141.GA779@schweikhardt.net> <20050526102606.T69716@carver.gumbysoft.com> <20050526205831.GA958@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050526205831.GA958@schweikhardt.net> User-Agent: Mutt/1.5.9i Cc: freebsd-current@freebsd.org Subject: Re: Timekeeping hosed by factor 3, high lapic[01] interrupt rates 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, 08 Jun 2005 19:19:34 -0000 On Thu, May 26, 2005 at 10:58:31PM +0200, Jens Schweikhardt wrote: # On Thu, May 26, 2005 at 10:30:16AM -0700, Doug White wrote: # # On Mon, 23 May 2005, Jens Schweikhardt wrote: # # # # > ... # # > # # 3. Backout rev 1.218 of src/sys/i386/isa/clock.c so the irq0 interrupt # # > # # handler is reactivated and the RTC fiddled. # # > # # # > # Will do so next. I've nailed the change between March 6 and March 30. # # > # 1.218 is from 2005/03/24 21:34:16, which would fit. # # > # # > We have a winner. Backing out 1.218 from a 2005/03/24 system does the trick, # # > as well as a CURRENT without 1.218 (but 1.219-220 in there) bring back irq0 # # > and time dilation is gone. All clocks work correctly. # # # # Hm ... not sure what part of that commit is the bad part. You might try # # changing # # # # if (!using_lapic_timer) { # # # # to # # # # if(1) { # # # # in the most recent rev of clock.c to register irq0 again. If that doesn't # # chang ethe dialation then something else in the system must be depending # # on the RTC periodic interrupt. # # It does make time dilation go away. Any chance this gets backed out, or worked around, e.g. with a sysctl, device hint, or some other knob? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)