From owner-freebsd-current@FreeBSD.ORG Sun Jun 3 08:55:56 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 BB7DB16A421; Sun, 3 Jun 2007 08:55:56 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 7D63F13C447; Sun, 3 Jun 2007 08:55:56 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id EAED017380; Sun, 3 Jun 2007 08:55:54 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l538trGd049989; Sun, 3 Jun 2007 08:55:53 GMT (envelope-from phk@critter.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 02 Jun 2007 17:30:10 MST." <46620B92.8020608@root.org> Date: Sun, 03 Jun 2007 08:55:53 +0000 Message-ID: <49988.1180860953@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: takawata@freeBSD.org, Dag-Erling Sm??rgrav , 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: Sun, 03 Jun 2007 08:55:56 -0000 In message <46620B92.8020608@root.org>, Nate Lawson writes: >Poul-Henning Kamp wrote: >> Nate Lawson wrote: >>>> 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. >> >> HPET needs to do metastability mitigation and is not "just a read >> from a memory mapped region". > >If it does, then it's not implemented yet: It's implemented in hardware, that's why the read is so slow. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.