Laptop
De JarfilWiki
Contenido |
Power saving
- cpuydyn, cpudynd - http://mnm.uib.es/gallir/cpudyn/
- powernowd
Intel T2050 @ 1.60GHz
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2050 @ 1.60GHz stepping : 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips : 3203.90 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2050 @ 1.60GHz stepping : 8 cpu MHz : 800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor est tm2 xtpr bogomips : 3200.08 clflush size : 64
cpufreq
Per-core
modprobe acpi_cpufreq modprobe cpufreq_ondemand lsmod | grep cpufreq cpufreq_powersave 2688 0 acpi_cpufreq 10796 0 cpufreq_ondemand 9740 2 freq_table 5536 2 acpi_cpufreq,cpufreq_ondemand processor 37384 4 acpi_cpufreq,thermal
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors powersave ondemand performance cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ondemand ondemand echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Governor "ondemand" sets freq automatically:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 1600000 1333000 1067000 800000 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 800000
Alternative way of setting:
cpufreq-selector -c 0 -g ondemand cpufreq-selector -c 1 -g ondemand
throttling
Per-CPU (all cores apply same throttling)
cat /proc/acpi/processor/CPU0/throttling state count: 8 active state: T0 state available: T0 to T7 states: *T0: 100% T1: 87% T2: 75% T3: 62% T4: 50% T5: 37% T6: 25% T7: 12% echo 6 > /proc/acpi/processor/CPU0/throttling echo 0 > /proc/acpi/processor/CPU0/throttling
Test 1
- Temperatura: 53ºC - 64ºC
- MHz: 1600 - 3200 (suma dual core)
- Uso: 0% - 100% (suma dual core)
- Throttling: 12.5% - 100%
Análisis:
- La velocidad de MHz influye más en el consumo (y disipación) que el throttling.
- Throttling al 12.5% hace que el cpufreq ondemand suba los MHz, consumiendo más.
- A máximo uso de aplicaciones, el throttling limita el consumo máximo
- El throttling hace más uniforme el consumo, se usen o no aplicaciones, reduciendo notablemente el rendimiento.
- Al ser una CPU dual core, los procesos de uso intensivo restringidos a un solo núcleo, de por sí se ven limitados evitando la saturación de la CPU y el exceso de consumo.
Recomendaciones:
- Para aplicaciones bien optimizadas, compensa más cpufreq ondemand con throttling al 100%, ofreciendo máximo rendimiento cuando hace falta y minimizando el consumo en idle.
- Para aplicaciones de uso máximo constante de CPU (ej: juegos, flash, etc.), el throttling puede reducir un poco el consumo a cambio de reducir notablemente el rendimiento.
Intel Atom
- Atom N270: single core, 1.6GHz
- Atom 230: single core, 1.6GHz, hyper-threading
- Atom 330: dual core (2x230), 1.6GHz, hyper-threading


