Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 13:22:01 -0700
From:      John <john@theusgroup.com>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        Alexander Motin <mav@freebsd.org>, FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: Improved Intel Turbo Boost status/control
Message-ID:  <20120313202201.0DCE939F@server.theusgroup.com>
In-Reply-To: <1331648560.86770.13.camel@revolution.hippie.lan>
References:  <4F5E4B57.1050605@FreeBSD.org> <1331585159.1084.3.camel@revolution.hippie.lan> <4F5E61FA.5080306@FreeBSD.org> <1331648560.86770.13.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
>I found that setting performance_cpu_freq="HIGH" doesn't work on my
>desktop system, I guess because devd never gets any AC adapter events
>that trigger running the power_profile script.  I enabled it manually by
>adding these lines to my /etc/sysctl.conf:
>
>  hw.acpi.cpu.cx_lowest=C2
>  dev.cpu.0.freq=3334
>
>It would be nice to come up with a way to automatically enable this for
>desktop users.  If not fully automatic, hopefully require no more than a
>simple =YES knob in rc.conf.

I applied the patch to 2 desktop machines and added performance_cpu_freq="HIGH"
to rc.conf:

8.3-PRERELEASE #3 r232864M: Mon Mar 12 16:11:47 PDT 2012
dev.cpu.0.freq: 2927
dev.cpu.0.freq_levels: 2927/95000 2926/95000 2793/78000 2660/70000 ...

9.0-STABLE FreeBSD 9.0-STABLE #0 r232923M: Tue Mar 13 10:06:33 PDT 2012
dev.cpu.0.freq: 3301
dev.cpu.0.freq_levels: 3301/95000 3300/95000 3100/87000 2900/80000 ...

so it appears to be working for me automatically.

John Theus
TheUs Group
TheUsGroup.com



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