From owner-freebsd-current@FreeBSD.ORG Mon May 21 18:28:14 2007 Return-Path: X-Original-To: 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 0871C16A46B for ; Mon, 21 May 2007 18:28:14 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id C44C913C4BB for ; Mon, 21 May 2007 18:28:13 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 72083 invoked from network); 21 May 2007 18:27:35 -0000 Received: from 209-128-117-003.bayarea.net (HELO ?10.0.1.144?) (nate-mail@209.128.117.3) by root.org with ESMTPA; 21 May 2007 18:27:35 -0000 Message-ID: <4651E484.1010204@root.org> Date: Mon, 21 May 2007 11:27:16 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070424) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <2792.1179764955@critter.freebsd.dk> <86zm3y9hg5.fsf@dwp.des.no> In-Reply-To: <86zm3y9hg5.fsf@dwp.des.no> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: takawata@freeBSD.org, Poul-Henning Kamp , current@freeBSD.org, Kris Kennaway Subject: Re: HPET vs other timers 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, 21 May 2007 18:28:14 -0000 Dag-Erling Smørgrav wrote: > "Poul-Henning Kamp" writes: >> Dag-Erling Smørgrav writes: >>> "Poul-Henning Kamp" writes: >>>> I can't rememember who raised the quality of it recently, CVS will >>>> know. I was sceptical, because I also have systems where HPET is >>>> slow. >>> I did, with your approval, almost a year ago. >> Yes, I said "try it" or something of the sort. > > For the record, I ran with HPET timers the entire time from HPET support > was first committed until I finally committed that patch - about ten > months - so I did test it to the best of my ability. > > DES Let's keep this technical. I'm fine with bumping HPET to below ACPI timer if the hw turns out to be this much slower. Anyone able to speculate why though? HPET only reads 32 bits from a memory mapped region. No locking or other requirements. ACPI_timer does multiple IO ops, which according to bde@ are much slower than memory reads. So unless something from the chipset is stopping the processor (SMI?) when it reads from this region, I have a hard time seeing why it's slower. -- Nate