From owner-freebsd-stable@FreeBSD.ORG Fri May 22 18:30:08 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1A9EAE6; Fri, 22 May 2015 18:30:08 +0000 (UTC) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1FD31A63; Fri, 22 May 2015 18:30:08 +0000 (UTC) Received: from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135]) by mailout01.t-online.de (Postfix) with SMTP id C84015043F4; Fri, 22 May 2015 20:29:59 +0200 (CEST) Received: from [192.168.119.11] (Tl7K7mZCrhOEPoFnprfVb50i-LKsIQOHu0G9bcphhz0YlbdNmEBp9ruXa1SrReYwV+@[84.154.106.214]) by fwd30.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1Yvrhj-0dllYG0; Fri, 22 May 2015 20:29:55 +0200 Message-ID: <555F7599.5000605@freebsd.org> Date: Fri, 22 May 2015 20:29:45 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Nikos Vassiliadis CC: freebsd-stable Subject: Re: CPU frequency doesn't drop below 1200MHz (like it used to) References: <555C71C8.4080007@gmx.com> <555EDBBB.4090107@gmx.com> In-Reply-To: <555EDBBB.4090107@gmx.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-ID: Tl7K7mZCrhOEPoFnprfVb50i-LKsIQOHu0G9bcphhz0YlbdNmEBp9ruXa1SrReYwV+ X-TOI-MSGID: b177711b-380d-4b30-a1c4-b92fa6317367 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 18:30:09 -0000 Am 22.05.2015 um 09:33 schrieb Nikos Vassiliadis: > Hi, > > I just noticed that my CPU's frequency doesn't support dropping > below 1200MHz. It used to be able to go down to 150MHz, if I am > not mistaken. I'd like it to go down to 600MHz via powerd, like > it used to go. This is a month's old 10-STABLE. > >> [nik@moby ~]$ sysctl dev.cpu.0.freq_levels >> dev.cpu.0.freq_levels: 2400/35000 2300/32872 2200/31127 2100/29417 >> 2000/27740 1900/26096 1800/24490 1700/22588 1600/21045 1500/19534 >> 1400/18055 1300/16611 1200/15194 > > This is the CPU: >> hw.model: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz Well, your CPU does not support clock frequencies below 1200 MHz. Throttling works by injection of "wait cycles" that reduce the amount of work the CPU can perform per unit of time, but does not really lower the CPU frequency. That means, that with throttling the CPU will need more energy to perform some calculation than it would without. If you select 150 MHz, then your CPU will be clocked at 1200 MHz, but will only perform any operations on each 8th clock cycle. This limits peak energy consumption (and that was the reason this feature was introduced in the power-hungry Pentium-4 processors), but increases the amount of energy needed to perform the computation. The power consumption of your CPU may be (an estimated) 50% to 70% at "150 Mhz" compared to 1200 Mhz. But you'll need 8 times as long until the CPU can fall into a deep sleep state. Since RAM and other components see the same clock whether throttling is enabled or not, you'll need 8 times as long full power for your RAM (which will also go into a low power refresh mode, when the CPU is idle). Throttling has been disabled, because there are no longer any CPUs which need it to prevent overheating. (Or rather: there are now better mechanisms than throttling, which are implemented in any modern x68 CPU.) Throttling could also impact system stability. It really serves no purpose anymore and it was never suitable to improve the power efficiency of e.g. a laptop computer. You'll see better battery live if you keep throttling disabled. Regards, STefan