From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 17:02:45 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 2495716A4CE for ; Thu, 11 Dec 2003 17:02:45 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3BD5543D1F for ; Thu, 11 Dec 2003 17:02:43 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 51385 invoked by uid 1000); 12 Dec 2003 01:02:44 -0000 Date: Thu, 11 Dec 2003 17:02:44 -0800 (PST) From: Nate Lawson To: Lukas Ertl In-Reply-To: <20031212013059.M599@korben.in.tern> Message-ID: <20031211170144.Q51376@root.org> References: <20031209175230.I44055@root.org> <20031211141205.X50937@root.org> <20031212013059.M599@korben.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi-jp@jp.FreeBSD.org cc: current@freebsd.org Subject: Re: [acpi-jp 2878] 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: Fri, 12 Dec 2003 01:02:45 -0000 On Fri, 12 Dec 2003, Lukas Ertl wrote: > On Thu, 11 Dec 2003, Nate Lawson wrote: > > > On Tue, 9 Dec 2003, Nate Lawson wrote: > > > > > > sysctl hw.acpi.cpu.current_speed=X > > > > > > dd if=/dev/zero bs=1m count=500 | md5 > > > > > Haven't gotten any responses to this yet. Would someone who has working > > throttling support apply the patch and test that they can indeed change > > throttling through the sysctl listed above? > > Well, seems to work, but I'm not sure if it works correctly: > > # sysctl hw.acpi.cpu.current_speed=8 > # dd if=/dev/zero bs=1m count=500 | md5 > 524288000 bytes transferred in 10.128099 secs (51765687 bytes/sec) > > # sysctl hw.acpi.cpu.current_speed=4 > # dd if=/dev/zero bs=1m count=500 | md5 > 524288000 bytes transferred in 12.186178 secs (43023169 bytes/sec) > > # sysctl hw.acpi.cpu.current_speed=1 > # dd if=/dev/zero bs=1m count=500 | md5 > 524288000 bytes transferred in 12.127831 secs (43230154 bytes/sec) Send the output of sysctl hw.acpi.cpu. You may only have two throttling states (as shown by hw.acpi.cpu.max_speed). -Nate