From owner-freebsd-current@FreeBSD.ORG Sun Oct 30 19:59:46 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 6E7CC16A41F; Sun, 30 Oct 2005 19:59:46 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0277D43D55; Sun, 30 Oct 2005 19:59:45 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j9UJxfvq030607; Sun, 30 Oct 2005 11:59:41 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j9UJxaFp030606; Sun, 30 Oct 2005 11:59:36 -0800 (PST) (envelope-from jmg) Date: Sun, 30 Oct 2005 11:59:36 -0800 From: John-Mark Gurney To: Scott Long Message-ID: <20051030195936.GZ4115@funkthat.com> Mail-Followup-To: Scott Long , freebsd-current@freebsd.org, Alexander Leidinger , David Xu References: <30595.1130493297@critter.freebsd.dk> <20051028153457.d0wqgn2ask4sgw4k@netchild.homeip.net> <20051029195703.GB39253@dragon.NUXI.org> <43646AAC.2080107@freebsd.org> <20051030093718.GE39253@dragon.NUXI.org> <4364D90F.3090205@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4364D90F.3090205@samsco.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Alexander Leidinger , freebsd-current@freebsd.org, David Xu Subject: Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 19:59:46 -0000 Scott Long wrote this message on Sun, Oct 30, 2005 at 07:30 -0700: > >Correct, but why is it felt the latency of the ACPI timer is an issue? > >Of course we all want things to as fast as possible, but is that just an > >abstract desire, or a real issue was run into? > > > > ACPI-fast requires an ioport read which takes about 1us (according to > Google). Do that 1000 times a second and you have each CPU spending > 1% of its time doing nothing but reading the clock. Yikes. Math correction: .1%... 1us * 1000 = 1ms, 1ms = .001s, .001 * 100% = .1% -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."