From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 10:04:53 2003 Return-Path: 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 F0B9A16A4CE for ; Wed, 10 Dec 2003 10:04:53 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6393D43D29 for ; Wed, 10 Dec 2003 10:04:51 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 46604 invoked by uid 1000); 10 Dec 2003 18:04:51 -0000 Date: Wed, 10 Dec 2003 10:04:51 -0800 (PST) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20031210100342.B46577@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi-jp@jp.freebsd.org cc: current@freebsd.org Subject: RE: ACPI throttling changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 10 Dec 2003 18:04:54 -0000 On Wed, 10 Dec 2003, John Baldwin wrote: > On 10-Dec-2003 Nate Lawson wrote: > > I'm working on a shared CPU frequency control driver. One step is to > > remove some of the autonomy of the throttling portion of acpi_cpu. > > Please test this patch if you have a machine which supports throttling. > > With this patch, throttling can be changed by doing: > > > > sysctl hw.acpi.cpu.current_speed=X > > > > where X is some number between 1 and hw.acpi.cpu.max_speed. It is no > > longer driven by AC line transitions. Run a CPU benchmark like this one > > to make sure the throttling transition still works with this patch. > > > > dd if=/dev/zero bs=1m count=500 | md5 > > > > This is part of a larger work. Don't worry, it won't be committed until > > general CPU frequency control is done so no loss of functionality will be > > committed. > > We need to support using throttling for passive cooling btw. My new laptop > I just got has no active cooling support, but does have _TC1 and _TC2 objects > in its thermal zone. Are you going to add that? Eventually. The first step is to get a general frequency control driver working. It will also do throttling as well as speedstep, longrun, etc. The step after that is to change acpi_thermal to use that driver for passive cooling. -Nate