[indiana-discuss] b111a: Power Management and nwam-issue ?
Mark Haywood
Mark.Haywood at Sun.COM
Sat Apr 25 05:18:23 PDT 2009
Matt Ingenthron wrote:
> Hi Mark/all,
>
> I'm sorry to say, with my Tecra M9, I have the very same issue. More
> inline below...
>
> Brock Pytlik wrote:
>> Bill Nesheim wrote:
>>> On 04/24/09 11:55, Mark Haywood wrote:
>>>> Bill Nesheim wrote:
>>>
>>> <snip>
>>>>
>>>> The current_clock_Hz is a little deceiving. The Power Aware
>>>> Dispatcher results in much more frequent P-State transitions. Try
>>>> running /usr/bin/powertop for better information.
>>>>
>>>> Mark
>>>
>>> Indeed. powertop shows the system switching nicely between 800Mhz
>>> and 1401 Mhz), with most time spent at 800. Thanks.
>>> -- Bill
>>>
>> Unfortunately, I don't see the same thing on my Tecra M10. Perhaps I
>> haven't twiddled the right switch to turn power management on, but I
>> would've expected this to have been on by default. In any case,
>> powertop reports that my machine's always at 2531 Mhz (more detailed
>> output below in case that helps).
>
> Similar to Brock's situation, mine is always staying in the fastest
> P-state.
> Reading the thread I've tried setting cpupm in power.conf to "enable",
> "enable poll-mode" and "enable event-mode", running pmconfig each time
> I made a change. No luck... it stays at the highest P-state the whole
> time.
> This seems to be a change in behavior. powertop used to show
> different P-states in reaction to load.
> I also went into the BIOS setup and verified everything was dynamic
> and at defaults. Any thoughts?
You might want to run mpstat to see the percent idle. If poll-mode isn't
doing anything for you then your processor is less than 85% idle.
Mark
>
> OpenSolaris PowerTOP version 1.1
>
> Cn Avg residency P-states (frequencies)
> C0 (cpu running) (27.2%) 800 Mhz 0.0%
> C1 0.5ms (72.8%) 1200 Mhz 0.0%
> 1600 Mhz 0.0%
> 2200 Mhz 0.0%
> 2201 Mhz(turbo) 100.0%
>
> Wakeups-from-idle per second: 1531.7 interval: 5.0s
> Power usage (ACPI estimate): 29.495W (discharging: 0.7 hours)
>
> Top causes for wakeups:
> 15.6% (239.5) <kernel> : genunix`cv_wakeup
> 6.5% (100.0) <kernel> : genunix`clock
> 5.4% ( 82.0) sched : <cross calls>
> 5.2% ( 80.2) <interrupt> : i8042#0
> 1.4% ( 20.8) <interrupt> : iwk#0
> 1.2% ( 19.0) <kernel> :
> uhci`uhci_handle_root_hub_status_change
> 1.2% ( 17.8) firefox-bin : <cross calls>
> 0.7% ( 10.2) <kernel> : genunix`delay_wakeup
> 0.7% ( 10.0) <kernel> : ata`ghd_timeout
> 0.5% ( 8.4) intrd : <cross calls>
> 0.5% ( 7.6) <kernel> :
> ehci`ehci_handle_root_hub_status_change
> 0.3% ( 5.0) <kernel> : uhci`uhci_cmd_timeout_hdlr
> 0.3% ( 4.0) <kernel> : genunix`schedpaging
> 0.1% ( 2.0) <kernel> : cpudrv`cpudrv_monitor_disp
> 0.1% ( 1.2) <interrupt> : ata#0
> 0.1% ( 1.0) <kernel> : e1000g`e1000g_local_timer
> 0.1% ( 1.0) <kernel> : TS`ts_update
> 0.1% ( 1.0) <interrupt> : uhci#4 0.1% (
> 1.0) <interrupt> : uhci#0
> 0.1% ( 1.0) <interrupt> : nvidia#0
> 0.1% ( 1.0) <kernel> : ip`tcp_time_wait_collector
>
> mi109165 at hancock:~$ cat /etc/power.conf
> #
> # Copyright 1996-2002 Sun Microsystems, Inc. All rights reserved.
> # Use is subject to license terms.
> #
> #pragma ident "@(#)power.conf 2.1 02/03/04 SMI"
> #
> # Power Management Configuration File
> #
>
> device-dependency-property removable-media /dev/fb
> autopm default
> autoS3 default
> cpu-threshold 1s
> # Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
> autoshutdown 30 9:00 9:00 noshutdown
> cpupm enable poll-mode
>
>
> Thanks in advance,
>
> - Matt
>
More information about the indiana-discuss
mailing list