Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 18:32:20 +0200
From:      Frank Staals <frankstaals@gmx.net>
To:        freebsd-mobile@freebsd.org
Subject:   Powerd not working with C2D CPUs ? 
Message-ID:  <4718DC14.8010702@gmx.net>

next in thread | raw e-mail | index | archive | help
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: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
SMP: AP CPU #1 Launched!

frank@Rena# dmesg -a | grep cpu
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
hw.acpi.cpu.cx_lowest:




-- 
-Frank Staals





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