Re: CPU C-state storange on Panasonic TOUGH BOOK CF-R9

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Sun, 12 Sep 2010 20:26:07 +0900
Hi mav.

On Sun, 12 Sep 2010 13:57:21 +0300
Alexander Motin <mav_at_FreeBSD.org> wrote:
> BTW, have you tried to unplug power? My laptop hides C3 state when power
> cord is plugged-in.

	Oh! You are right!  I got C3 state.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sep 12 20:14:54 pelsia kernel: ts_to_ct(1284322495.185795464) = [2010-09-12 20:14:55]
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [862354] cpu_cx_cst            : acpi_cpu0: Got C2 - 205 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [862355] cpu_cx_cst            : acpi_cpu0: Got C3 - 245 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [862936] cpu_cx_cst            : acpi_cpu1: Got C2 - 205 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [862936] cpu_cx_cst            : acpi_cpu1: Got C3 - 245 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [863524] cpu_cx_cst            : acpi_cpu2: Got C2 - 205 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [863524] cpu_cx_cst            : acpi_cpu2: Got C3 - 245 latency
Sep 12 20:19:04 pelsia power_profile: changed to 'economy'
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [864399] cpu_cx_cst            : system power profile changedacpi_cpu3: Got C2  to 'economy'- 205 latency
Sep 12 20:19:04 pelsia kernel: 
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [864516] cpu_cx_cst            : acpi_cpu3: Got C3 - 245 latency
Sep 12 20:19:04 pelsia kernel: acpi_acad0: Off Line
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [872292] cpu_cx_cst            : acpi_cpu0: Got C2 - 205 latency
Sep 12 20:19:04 pelsia kernel: PROCESSOR-0722 [872394] cpu_cx_cst            : acpi_cpu0: Got C3 - 245 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [873422] cpu_cx_cst            : acpi_cpu1: Got C2 - 205 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [873422] cpu_cx_cst            : acpi_cpu1: Got C3 - 245 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [874564] cpu_cx_cst            : acpi_cpu2: Got C2 - 205 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [874576] cpu_cx_cst            : acpi_cpu2: Got C3 - 245 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [875727] cpu_cx_cst            : acpi_cpu3: Got C2 - 205 latency
Sep 12 20:19:05 pelsia kernel: PROCESSOR-0722 [875727] cpu_cx_cst            : acpi_cpu3: Got C3 - 245 latency
Sep 12 20:19:12 pelsia kernel: PROCESSOR-0722 [889604] cpu_cx_cst            : acpi_cpu0: Got C2 - 205 latency
Sep 12 20:19:12 pelsia kernel: PROCESSOR-0722 [889604] cpu_cx_cst            : acpi_cpu0: Got C3 - 245 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [890194] cpu_cx_cst            : acpi_cpu1: Got C2 - 205 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [890194] cpu_cx_cst            : acpi_cpu1: Got C3 - 245 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [890784] cpu_cx_cst            : acpi_cpu2: Got C2 - 205 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [890784] cpu_cx_cst            : acpi_cpu2: Got C3 - 245 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [891441] cpu_cx_cst            : acpi_cpu3: Got C2 - 205 latency
Sep 12 20:19:13 pelsia kernel: PROCESSOR-0722 [891441] cpu_cx_cst            : acpi_cpu3: Got C3 - 245 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1083168] cpu_cx_cst            : acpi_cpu0: Got C2 - 205 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1083197] cpu_cx_cst            : acpi_cpu0: Got C3 - 245 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1084498] cpu_cx_cst            : acpi_cpu1: Got C2 - 205 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1084498] cpu_cx_cst            : acpi_cpu1: Got C3 - 245 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1085468] cpu_cx_cst            : acpi_cpu2: Got C2 - 205 latency
Sep 12 20:20:43 pelsia kernel: PROCESSOR-0722 [1085468] cpu_cx_cst            : acpi_cpu2: Got C3 - 245 latency
Sep 12 20:20:44 pelsia kernel: PROCESSOR-0722 [1086504] cpu_cx_cst            : acpi_cpu3: Got C2 - 205 latency
Sep 12 20:20:44 pelsia kernel: PROCESSOR-0722 [1086508] cpu_cx_cst            : acpi_cpu3: Got C3 - 245 latency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# sysctl -a | grep cx    
hw.acpi.cpu.cx_lowest: C2
dev.cpu.0.cx_supported: C1/3 C2/205 C3/245
dev.cpu.0.cx_lowest: C2
dev.cpu.0.cx_usage: 12.48% 87.51% 0.00% last 1947us
dev.cpu.1.cx_supported: C1/3 C2/205 C3/245
dev.cpu.1.cx_lowest: C2
dev.cpu.1.cx_usage: 60.83% 39.16% 0.00% last 182us
dev.cpu.2.cx_supported: C1/3 C2/205 C3/245
dev.cpu.2.cx_lowest: C2
dev.cpu.2.cx_usage: 45.65% 54.34% 0.00% last 36us
dev.cpu.3.cx_supported: C1/3 C2/205 C3/245
dev.cpu.3.cx_lowest: C2
dev.cpu.3.cx_usage: 6.78% 93.21% 0.00% last 8038us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# sysctl hw.acpi.cpu.cx_lowest=C3 && sleep 10 && sysctl dev.cpu.0.cx_usage dev.cpu.1.cx_usage dev.cpu.2.cx_usage dev.cpu.3.cx_usage
hw.acpi.cpu.cx_lowest: C2 -> C3
dev.cpu.0.cx_usage: 0.73% 0.16% 99.10% last 2145us
dev.cpu.1.cx_usage: 0.67% 0.22% 99.09% last 1559us
dev.cpu.2.cx_usage: 0.27% 0.00% 99.72% last 13994us
dev.cpu.3.cx_usage: 0.81% 0.27% 98.91% last 21592us
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	Humm.. Why only C3 state appear when unplug power? :-(

	Thank you.

-- 
Norikatsu Shigemura <nork_at_FreeBSD.org>
Received on Sun Sep 12 2010 - 09:26:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC