From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 14:21:18 2005 Return-Path: X-Original-To: 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 2E34316A420 for ; Fri, 28 Oct 2005 14:21:18 +0000 (GMT) (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 C8AE143D49 for ; Fri, 28 Oct 2005 14:21:17 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 63EBEBC7A; Fri, 28 Oct 2005 14:21:16 +0000 (UTC) To: Alexander Leidinger From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 28 Oct 2005 15:34:57 +0200." <20051028153457.d0wqgn2ask4sgw4k@netchild.homeip.net> Date: Fri, 28 Oct 2005 16:21:16 +0200 Message-ID: <32664.1130509276@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: current@freebsd.org 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 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 14:21:18 -0000 In message <20051028153457.d0wqgn2ask4sgw4k@netchild.homeip.net>, Alexander Lei dinger writes: >> In general, if you run powerd to change your cpu clock (= TSC >> frequency), using TSC as timecounter is _not_ what you want to do. > >Is it not possible to recalibrate on frequency change, or is it "just" that >nobody wrote the code do to it? It's all a matter of what precision you want and how sensitive you are to jumps. Making it work in one specific (well chosen) machine is possible, making it work in general across all possible types of PC hardware is not. >We need to document this in the powerd man-page and let powerd tell the user >if he tries to run in this unsupported mode. Any volunteers (I'm moving my >PC's to the new appartment at the weekend, so I can't volunteer)? Our defaults do the right thing I belive. It's only when the user overrides the defaults that bad things happen. -- 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.