Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2010 20:26:07 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        FreeBSD-Current <freebsd-current@FreeBSD.org>, Andriy Gapon <avg@icyb.net.ua>, nork@FreeBSD.org
Subject:   Re: CPU C-state storange on Panasonic TOUGH BOOK CF-R9
Message-ID:  <20100912202607.07ee9f64.nork@FreeBSD.org>
In-Reply-To: <4C8CB211.6020308@FreeBSD.org>
References:  <4C8BCAC5.5050008@root.org> <mailpost.1284277196.1767764.83548.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw> <4C8C8B64.8020907@FreeBSD.org> <20100912182625.c49d3f1d.nork@FreeBSD.org> <4C8C9F06.4090505@icyb.net.ua> <20100912190537.621e357e.nork@FreeBSD.org> <20100912190952.8c0d5726.nork@FreeBSD.org> <20100912192518.e791c191.nork@FreeBSD.org> <4C8CAC01.70004@icyb.net.ua> <4C8CAD7D.50602@FreeBSD.org> <4C8CB211.6020308@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi mav.

On Sun, 12 Sep 2010 13:57:21 +0300
Alexander Motin <mav@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@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100912202607.07ee9f64.nork>