From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 16:32:48 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 481A216A402 for ; Tue, 27 Feb 2007 16:32:48 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1035413C471 for ; Tue, 27 Feb 2007 16:32:47 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1RGWkek063888; Tue, 27 Feb 2007 10:32:47 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45E45D32.5040703@freebsd.org> Date: Tue, 27 Feb 2007 10:32:50 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <564131.4881.qm@web55602.mail.re4.yahoo.com> <45E457F5.8050709@freebsd.org> In-Reply-To: <45E457F5.8050709@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.88.4/2664/Tue Feb 27 07:11:46 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: Etienne Robillard Subject: Re: too short/too long (sys/kern_tc.c) 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: Tue, 27 Feb 2007 16:32:48 -0000 On 02/27/07 10:10, Eric Anderson wrote: > On 02/27/07 08:25, Etienne Robillard wrote: >> Had this problem for a while.. It seems >> to have disappear when booting with acpi enabled?? > > Oh - jsut realized it wasn't loaded (etherbooting doesn't load the > modules, and I've been spoiled by having it autoload). Adding to my > kernel now. Indeed adding ACPI fixed that problem, and also increased the processing performance (for my limited app test) of my qemu machine by around a factor of 5x. >> Dunno what may cause your bug, however I still gets >> some of this: >> >> calcru: runtime went backwards from 37004444177421276 >> usec to 18502193351497934 usec for pid 81026 (zsh) >> >> FreeBSD flick 7.0-CURRENT FreeBSD 7.0-CURRENT #13: Mon >> Jan 29 14:05:04 EST 2007 >> root@flick:/usr/src/sys/i386/compile/CURRENT i386 >> >> >> Are both bugs described correlated? > > I don't know for sure. Seems that slamming the CPU to 100% busy makes > the messages occur much less. I'm still getting those, but they are far less annoying. > Yikes! Look at this: > > # vmstat -i > interrupt total rate > irq0: clk 8299985 116 > irq1: atkbd0 67 0 > irq4: sio0 5325 0 > irq8: rtc 1065804 14 > irq11: re0 73060 1 > irq14: ata0 15 0 > irq15: ata1 58 0 > Total 9444314 132 > > Maybe acpi will help that too. Changed it: # vmstat -i interrupt total rate irq1: atkbd0 7 0 irq4: sio0 2642 8 irq11: re0 acpi0 9607 30 irq14: ata0 15 0 irq15: ata1 58 0 cpu0: timer 303104 959 Total 315433 998 >> TIA, >> Etienne >> >> >> --- Eric Anderson wrote: >> >>> When I boot a -CURRENT box with boot verbose enabled >>> inside qemu, I see >>> one of these messages about every second: >>> >>> 15.f68c5ee76faebe10 too short >>> 16.0f822e13092c5580 too long >>> >>> I can obviously whack the printf's, but what's the >>> 'right way' to fix >>> this? Set HZ to something? Pick a different timer? >>> >>> kern.timecounter.tick: 1 >>> kern.timecounter.choice: TSC(800) i8254(0) >>> dummy(-1000000) >>> kern.timecounter.hardware: TSC >>> kern.timecounter.nsetclock: 2 >>> kern.timecounter.ngetmicrotime: 80036 >>> kern.timecounter.ngetnanotime: 0 >>> kern.timecounter.ngetbintime: 0 >>> kern.timecounter.ngetmicrouptime: 29057 >>> kern.timecounter.ngetnanouptime: 109 >>> kern.timecounter.ngetbinuptime: 488 >>> kern.timecounter.nmicrotime: 1708 >>> kern.timecounter.nnanotime: 11 >>> kern.timecounter.nbintime: 1719 >>> kern.timecounter.nmicrouptime: 687 >>> kern.timecounter.nnanouptime: 0 >>> kern.timecounter.nbinuptime: 3734 >>> kern.timecounter.stepwarnings: 0 >>> kern.timecounter.tc.i8254.mask: 4294967295 >>> kern.timecounter.tc.i8254.counter: 7769 >>> kern.timecounter.tc.i8254.frequency: 1193182 >>> kern.timecounter.tc.i8254.quality: 0 >>> kern.timecounter.tc.TSC.mask: 4294967295 >>> kern.timecounter.tc.TSC.counter: 809045640 >>> kern.timecounter.tc.TSC.frequency: 1995115260 >>> kern.timecounter.tc.TSC.quality: 800 >>> kern.timecounter.smp_tsc: 0 >>> >>> FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Fri Feb >>> 23 09:28:20 CST >>> 2007 i386 >>> >>> Eric >>> >>> >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to >>> "freebsd-current-unsubscribe@freebsd.org" >>> >> >> ---- >> Etienne Robillard >> 7680 de jouvence, La Plaine >> J7M-2K9, Québec >> Telephone: 450-478-5026 >> Yahoo Messenger ID: granted14 >> Skype ID: incidah >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"