From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 19 16:32:27 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B581616A417 for ; Fri, 19 Oct 2007 16:32:27 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2658213C461 for ; Fri, 19 Oct 2007 16:32:26 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 19 Oct 2007 16:32:25 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO Rena.FStaals.net) [62.59.173.176] by mail.gmx.net (mp042) with SMTP; 19 Oct 2007 18:32:25 +0200 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX19vHb1PjCFvJcL9nTM07LmPjw/5UBSXtWh+Y20Dg/ 9slvViQOt4EKn5 Message-ID: <4718DC14.8010702@gmx.net> Date: Fri, 19 Oct 2007 18:32:20 +0200 From: Frank Staals User-Agent: Thunderbird 2.0.0.6 (X11/20070929) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Powerd not working with C2D CPUs ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 16:32:27 -0000 I recently aquired a new laptop; A Dell Latitude D630 which has a C2D T7300 as cpu. Just about the first thing I did was enable powerd, allthough that doesn't realy seems to work; the CPU-speed doesn't decrease when the system is idle ( or at least dev.cpu.freq is always 2001 where at my previous laptop it went to an lower level when the system was idle ) . The freqlevel is still at 2001 when `top` shows the CPU is 97% idle. Anyone else with a C2D cpu running powerd which has this problem or am I just doing something wrong : frank@Rena# uname -a FreeBSD Rena.FStaals.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Oct 13 12:59:51 CEST 2007 root@Rena.FStaals.net:/usr/obj/usr/src/sys/GENERIC i386 frank@Rena# cat /etc/rc.conf | grep powerd powerd_enable="YES" powerd_flags="-a adaptive -b adaptive -i 85 -n adaptive -r 65" frank@Rena# dmesg -a | grep powerd Starting powerd. frank@Rena# sysctl -a | grep freq kern.acct_chkfreq: 15 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.TSC.frequency: 2001000000 net.inet.sctp.sack_freq: 2 debug.cpufreq.verbose: 0 debug.cpufreq.lowest: 0 machdep.tsc_freq: 2001000000 machdep.i8254_freq: 1193182 machdep.acpi_timer_freq: 3579545 dev.cpu.0.freq: 2001 dev.cpu.0.freq_levels: 2001/32000 2000/31000 1750/27125 1600/22000 1400/19250 1200/13000 1050/11375 900/9750 800/10000 700/8750 600/7500 500/6250 400/5000 300/3750 dev.est.0.freq_settings: 2001/32000 2000/31000 1600/22000 1200/13000 800/10000 dev.est.1.freq_settings: 2001/32000 2000/31000 1600/22000 1200/13000 800/10000 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 dev.p4tcc.1.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 frank@Rena# dmesg -a | grep CPU CPU: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (1994.45-MHz 686-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 SMP: AP CPU #1 Launched! frank@Rena# dmesg -a | grep cpu cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 hw.acpi.cpu.cx_lowest: -- -Frank Staals