2012/3/21 Kevin Oberman <
kob...@gmail.com>:
> If you are trying to reduce power consumption, why are you limiting Cx
> states to C2 (which save little) and not C3 (which will save a LOT of
> power when the CPU is not heavily loaded).
Jumping up on this but I don't know if that's related to his reasons
to not use C3. Mine are simple :
# sysctl dev.cpu | grep temperature
dev.cpu.0.temperature: 39,0C
dev.cpu.1.temperature: 40,0C
dev.cpu.2.temperature: 36,0C
dev.cpu.3.temperature: 36,0C
dev.cpu.4.temperature: 41,0C
dev.cpu.5.temperature: 41,0C
dev.cpu.6.temperature: 36,0C
dev.cpu.7.temperature: 36,0C
# sysctl hw.acpi.cpu.cx_lowest=C3
hw.acpi.cpu.cx_lowest: C2 -> C3
# sysctl dev.cpu | grep temperature
dev.cpu.0.temperature: 44,0C
dev.cpu.1.temperature: 44,0C
dev.cpu.2.temperature: 40,0C
dev.cpu.3.temperature: 40,0C
dev.cpu.4.temperature: 46,0C
dev.cpu.5.temperature: 46,0C
dev.cpu.6.temperature: 41,0C
dev.cpu.7.temperature: 41,0C
# sysctl hw.acpi.cpu.cx_lowest=C2
hw.acpi.cpu.cx_lowest: C3 -> C2
# sysctl dev.cpu | grep temperature
dev.cpu.0.temperature: 40,0C
dev.cpu.1.temperature: 40,0C
dev.cpu.2.temperature: 36,0C
dev.cpu.3.temperature: 36,0C
dev.cpu.4.temperature: 42,0C
dev.cpu.5.temperature: 42,0C
dev.cpu.6.temperature: 36,0C
dev.cpu.7.temperature: 36,0C
Only 1-2 seconds between each command, no current load. As you can
see, when I engage C3 states, the CPU temperature increases by 4-5°C.
I expected it to drop.
This is with :
# sysctl dev.cpu | grep freq
dev.cpu.0.freq: 2933
dev.cpu.0.freq_levels: 2933/95 2799/95 2266/75 1733/56 1199/39
# grep perf /etc/rc.conf
performance_cx_lowest="C2"
performance_cpu_freq="HIGH"
# grep hint /boot/loader.conf
hint.p4tcc.0.disabled=1
hint.acpi_throttle.0.disabled=1
# dmesg | head -n 13 | tail -n 9
FreeBSD 9.0-STABLE #0 r233000M: Thu Mar 15 12:30:27 CET 2012
ro...@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz (2793.04-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x106e5 Family = 6 Model = 1e Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant, performance statistics
I tried with and without powerd and there's no noticeable difference,
so I don't use it. I also tried with and without
performance_cpu_freq="HIGH" in /etc/rc.conf (without, dev.cpu.0.freq
is 2799 so I don't think TurboBoost is enabled in this case).
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail:
oli...@gid0.org - against HTML email & vCards X
www:
http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."