Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 14:56:09 +0000 (GMT)
From:      jenkins-admin@freebsd.org
To:        whu@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-stable@FreeBSD.org,  freebsd-i386@FreeBSD.org
Subject:   FreeBSD_STABLE_10-i386 - Build #91 - Fixed
Message-ID:  <1936971844.44.1432306570095.JavaMail.jenkins@jenkins-9.freebsd.org>
In-Reply-To: <637159375.39.1432291731748.JavaMail.jenkins@jenkins-9.freebsd.org>
References:  <637159375.39.1432291731748.JavaMail.jenkins@jenkins-9.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD_STABLE_10-i386 - Build #91 - Fixed:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_STABLE_10-i386/91/ to view the results.
From owner-freebsd-stable@FreeBSD.ORG  Fri May 22 17:19:37 2015
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 91A3CC58
 for <freebsd-stable@freebsd.org>; Fri, 22 May 2015 17:19:37 +0000 (UTC)
Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DFC8C1152
 for <freebsd-stable@freebsd.org>; Fri, 22 May 2015 17:19:35 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t4MHJPQl074933;
 Sat, 23 May 2015 03:19:26 +1000 (EST)
 (envelope-from smithi@nimnet.asn.au)
Date: Sat, 23 May 2015 03:19:25 +1000 (EST)
From: Ian Smith <smithi@nimnet.asn.au>
To: Kimmo Paasiala <kpaasial@gmail.com>
cc: Ivan Klymenko <fidaj@ukr.net>, Nikos Vassiliadis <nvass@gmx.com>,
 freebsd-stable@freebsd.org
Subject: Re: CPU frequency doesn't drop below 1200MHz (like it used to)
In-Reply-To: <CA+7WWSfnsKn1Z3n1KS39iFZ+22ZzLsCke7mtnP+SAZh6M_cxCg@mail.gmail.com>
Message-ID: <20150523014640.K7173@sola.nimnet.asn.au>
References: <555C71C8.4080007@gmx.com> <555EDBBB.4090107@gmx.com>
 <20150522104213.4e083225@nonamehost.local>
 <CA+7WWSfnsKn1Z3n1KS39iFZ+22ZzLsCke7mtnP+SAZh6M_cxCg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 22 May 2015 17:19:37 -0000

On Fri, 22 May 2015 16:28:49 +0300, Kimmo Paasiala wrote:
 > On Fri, May 22, 2015 at 10:42 AM, Ivan Klymenko <fidaj@ukr.net> wrote:
> Fri, 22 May 2015 09:33:15 +0200
> Nikos Vassiliadis <nvass@gmx.com> ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ:
>
>> 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
>>
>> Thanks in advance for any ideas,
>> Nikos
>
> Try changing the options in /boot/device.hints
> hint.acpi_throttle.0.disabled="0"
> hint.p4tcc.0.disabled="0"

 > Thanks, those also fixed powerd(8) for me that stopped working after
 > upgrading to stable/10 from releng/10.1. Why are those setting
 > suddenly needed now?
 >
 > -Kimmo

Looks like the changes to these two hints, now defaulting to 1, 
committed to -head some months ago has been merged to stable/10.

Can you say exactly in what way powerd stopped working then?

Except that the minimum frequency that may be set with powerd's -m 
switch will be higher without p4tcc (or acpi_throttle) running, this 
change shouldn't hurt powerd; if anything it should be more efficient, 
as the lower p4tcc-generated frequencies don't save much if any power.

If you compare dev.cpu.0.freq_levels, as above, both before and after 
booting with the changed hints, you can see the ones due to p4tcc's use 
of subfrequencies with factors of 1/8 to 7/8 of some base freq, but the 
power use in milliWatts provided for these seems largely ficticious.

On my Lenovo X200, Core2Duo 2.4GHz, idling on battery at 800MHz (minimum 
EST freq) or at 100MHz using p4tcc draws almost exactly the same power, 
about 7.6W measured from the battery - but responsiveness as performance 
is required is a great deal better using just the base EST freqs; YMMV.

This generally gets discussed on the freebsd-mobile and freebsd-acpi 
lists; not sure if a deeper discussion of issues is warranted here.

cheers, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1936971844.44.1432306570095.JavaMail.jenkins>