From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 13:37:40 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 01FA216A422 for ; Sat, 9 Jul 2005 13:37:40 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B81AF43D62 for ; Sat, 9 Jul 2005 13:37:33 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 23972 invoked from network); 9 Jul 2005 13:37:33 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jul 2005 13:37:32 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j69DbSLO031414; Sat, 9 Jul 2005 09:37:28 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Sat, 9 Jul 2005 09:36:50 -0400 User-Agent: KMail/1.8 References: <42CDC11E.10301@jrssite.com> <20050708093130.GB21072@walton.maths.tcd.ie> <42CEAD70.4030008@jrssite.com> In-Reply-To: <42CEAD70.4030008@jrssite.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507090936.51518.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: JR Dalrymple , current@FreeBSD.org Subject: Re: clock WAY off 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: Sat, 09 Jul 2005 13:37:40 -0000 On Friday 08 July 2005 12:44 pm, JR Dalrymple wrote: > >On Thu, Jul 07, 2005 at 03:56:14PM -0800, JR Dalrymple wrote: > >>The clock seems to be running at about 1/4 speed (SMP related maybe?). > > > > >If you also post the output of "sysctl kern.timecounter" and "vmstat > >-i" to the list, it may help diagnose the problem. > > genie# sysctl kern.timecounter > kern.timecounter.stepwarnings: 0 > kern.timecounter.nbinuptime: 357873388 > kern.timecounter.nnanouptime: 0 > kern.timecounter.nmicrouptime: 8296 > kern.timecounter.nbintime: 153797574 > kern.timecounter.nnanotime: 171942 > kern.timecounter.nmicrotime: 153621939 > kern.timecounter.ngetbinuptime: 656730 > kern.timecounter.ngetnanouptime: 40589 > kern.timecounter.ngetmicrouptime: 161872387 > kern.timecounter.ngetbintime: 0 > kern.timecounter.ngetnanotime: 0 > kern.timecounter.ngetmicrotime: 26596618 > kern.timecounter.nsetclock: 623 > kern.timecounter.hardware: i8254 > kern.timecounter.choice: TSC(-100) i8254(0) dummy(-1000000) > kern.timecounter.tick: 1 > kern.timecounter.smp_tsc: 0 > genie# vmstat -i > interrupt total rate > irq1: atkbd0 232 0 > irq6: fdc0 10 0 > irq10: fxp0 ahc1 5247043 73 > irq11: amr0 ahc0 3305544 46 > irq13: npx0 1 0 > lapic0: timer 532488625 7412 > lapic4: timer 532404584 7411 > lapic1: timer 532404584 7411 > lapic2: timer 532404584 7411 > Total 2138255207 29766 > > > > I can kind of make sense of what this is trying to help me, but it's > above my head as far as how to tune it. > > Thanks again for any help This should be fixed now as the i8254 timer was broken when used with APIC for a while. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org