Re: [PATCH] intel_idle: Add CPU model 54 (Atom N2000 series)
From: Jan Kiszka
Date: Sun Feb 16 2014 - 04:05:42 EST
On 2014-02-11 06:43, Jan Kiszka wrote:
> On 2014-02-11 01:01, Len Brown wrote:
>> Please send the output of these two command before and after the patch:
>>
>> dmesg | grep idle
>> grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*
>
> Before:
> # dmesg | grep idle
> [ 0.648783] cpuidle: using governor ladder
> [ 0.648787] cpuidle: using governor menu
> [ 1.053215] intel_idle: does not run on family 6 model 54
> [ 3.285430] ACPI: acpi_idle registered with cpuidle
> # grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*
> /sys/devices/system/cpu/cpu0/cpuidle/state0/desc:CPUIDLE CORE POLL IDLE
> /sys/devices/system/cpu/cpu0/cpuidle/state0/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state0/latency:0
> /sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
> /sys/devices/system/cpu/cpu0/cpuidle/state0/power:4294967295
> /sys/devices/system/cpu/cpu0/cpuidle/state0/time:443
> /sys/devices/system/cpu/cpu0/cpuidle/state0/usage:5
> /sys/devices/system/cpu/cpu0/cpuidle/state1/desc:ACPI FFH INTEL MWAIT 0x0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/latency:1
> /sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1
> /sys/devices/system/cpu/cpu0/cpuidle/state1/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/time:420944
> /sys/devices/system/cpu/cpu0/cpuidle/state1/usage:1798
> /sys/devices/system/cpu/cpu0/cpuidle/state2/desc:ACPI FFH INTEL MWAIT 0x10
> /sys/devices/system/cpu/cpu0/cpuidle/state2/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state2/latency:20
> /sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2
> /sys/devices/system/cpu/cpu0/cpuidle/state2/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state2/time:119479360
> /sys/devices/system/cpu/cpu0/cpuidle/state2/usage:32863
> /sys/devices/system/cpu/cpu0/cpuidle/state3/desc:ACPI FFH INTEL MWAIT 0x30
> /sys/devices/system/cpu/cpu0/cpuidle/state3/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state3/latency:100
> /sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3
> /sys/devices/system/cpu/cpu0/cpuidle/state3/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state3/time:1673
> /sys/devices/system/cpu/cpu0/cpuidle/state3/usage:7
> /sys/devices/system/cpu/cpu0/cpuidle/state4/desc:ACPI FFH INTEL MWAIT 0x52
> /sys/devices/system/cpu/cpu0/cpuidle/state4/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state4/latency:140
> /sys/devices/system/cpu/cpu0/cpuidle/state4/name:C4
> /sys/devices/system/cpu/cpu0/cpuidle/state4/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state4/time:125622
> /sys/devices/system/cpu/cpu0/cpuidle/state4/usage:63
>
> After:
> # dmesg | grep idle
> [ 0.244640] cpuidle: using governor ladder
> [ 0.244645] cpuidle: using governor menu
> [ 0.654351] intel_idle: MWAIT substates: 0x3020220
> [ 0.654355] intel_idle: v0.4 model 0x36
> [ 0.654359] intel_idle: lapic_timer_reliable_states 0xffffffff
> # grep . /sys/devices/system/cpu/cpu0/cpuidle/*/*
> /sys/devices/system/cpu/cpu0/cpuidle/state0/desc:CPUIDLE CORE POLL IDLE
> /sys/devices/system/cpu/cpu0/cpuidle/state0/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state0/latency:0
> /sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
> /sys/devices/system/cpu/cpu0/cpuidle/state0/power:4294967295
> /sys/devices/system/cpu/cpu0/cpuidle/state0/time:572
> /sys/devices/system/cpu/cpu0/cpuidle/state0/usage:12
> /sys/devices/system/cpu/cpu0/cpuidle/state1/desc:MWAIT 0x00
> /sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/latency:10
> /sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1E-ATM
> /sys/devices/system/cpu/cpu0/cpuidle/state1/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/time:722013
> /sys/devices/system/cpu/cpu0/cpuidle/state1/usage:3132
> /sys/devices/system/cpu/cpu0/cpuidle/state2/desc:MWAIT 0x10
> /sys/devices/system/cpu/cpu0/cpuidle/state2/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state2/latency:20
> /sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2-ATM
> /sys/devices/system/cpu/cpu0/cpuidle/state2/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state2/time:4512127
> /sys/devices/system/cpu/cpu0/cpuidle/state2/usage:9147
> /sys/devices/system/cpu/cpu0/cpuidle/state3/desc:MWAIT 0x30
> /sys/devices/system/cpu/cpu0/cpuidle/state3/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state3/latency:100
> /sys/devices/system/cpu/cpu0/cpuidle/state3/name:C4-ATM
> /sys/devices/system/cpu/cpu0/cpuidle/state3/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state3/time:1996954
> /sys/devices/system/cpu/cpu0/cpuidle/state3/usage:2696
> /sys/devices/system/cpu/cpu0/cpuidle/state4/desc:MWAIT 0x52
> /sys/devices/system/cpu/cpu0/cpuidle/state4/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state4/latency:140
> /sys/devices/system/cpu/cpu0/cpuidle/state4/name:C6-ATM
> /sys/devices/system/cpu/cpu0/cpuidle/state4/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state4/time:266926331
> /sys/devices/system/cpu/cpu0/cpuidle/state4/usage:73695
>
>>
>> How did you measure power on the the DN2800MT, and on what workload?
>
> I measured the input current of the board @12V. In both cases, the
> system was idle in single-user mode, practically no processes running.
>
> Jan
>
>
Was this answering your questions sufficiently? Can it be merged?
Jan
Attachment:
signature.asc
Description: OpenPGP digital signature