From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 04:52:40 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E474E16A418 for ; Mon, 5 Nov 2007 04:52:40 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id B487A13C480 for ; Mon, 5 Nov 2007 04:52:40 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=gPxQMqRt3YdwUtPBLYkMqVRX8TWvtCikLm3oz2MSHPTpRdZ7BxLKtzp8+RixLVZz0aAomfUjYEogfYK+Ku+lL07Oa7Sg9dIx0kyoHs0vQqhgdcbQY3JI3sKjUkmnUC6oDyJ8II/MToODHTC1d8npRIO7WUJva5rtvdkhajGP4KKul6i6fzXGXWGO6LnT1omqRRJAIiBjwGVpvID/G1vpKrZaSc9QmCj7XXXxnapeNZ2t3MpeVvGrHHlJN8v0jEJl; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1IotwZ-0003M9-3v; Mon, 05 Nov 2007 04:52:11 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1Iotw2-0007dg-NU; Mon, 05 Nov 2007 04:51:39 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Iotw0-0000Sh-Vg; Mon, 05 Nov 2007 06:51:36 +0200 To: David Malone From: Ian FREISLICH In-Reply-To: Message from David Malone of "Fri, 02 Nov 2007 15:55:35 GMT." <20071102155535.GA88062@walton.maths.tcd.ie> X-Attribution: BOFH Date: Mon, 05 Nov 2007 06:51:36 +0200 Message-Id: Cc: current@freebsd.org Subject: Re: setitimer() odd timing 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: Mon, 05 Nov 2007 04:52:41 -0000 David Malone wrote: > On Thu, Nov 01, 2007 at 03:38:11PM +0200, Ian FREISLICH wrote: > > I'm not sure where to start looking. If someone points me at what > > needs instrumenting, I'll see if I can narrow the problem space. > > I'd have a look at the output of "vmstat -i" and compare it to the > working machines. It might also be worth checking what timecounter > hardware is in use: "sysctl kern.timecounter.hardware". Well on other SMP machines that work fine, the cpu? time interrupt is 2000Hz. This one is 724 after the most recent boot. It changes every boot. kern.timecounter.choice: TSC(-100) ACPI-fast(1000) HPET(900) i8254(0) dummy(-1000000) kern.timecounter.hardware: ACPI-fast dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz Changing the counter to HPET doesn't change things at all. I suspect it's got to do with whatever generates the CPU timer interrupts. Ian -- Ian Freislich