Aubrey Li wrote:
> Rafael Vanoni <> wrote:
>> Li, Aubrey wrote:
>>> Hi Rafael,
>>>
>>> I just picked your email up about powertop support on xVM:
>>> What's the current status? Are you driving the probe into ON?
>> Yes, it's scheduled for the current build.
>> I'll ping the alias once it goes back.
>>
>> Rafael
> 
> That's great, we will be ahead of linux powertop.
> Did you try it on xVM domain0? How does it look like?

On an idle system, it's similar to a non-virtualized OS

bash-3.2# powertop -d
Solaris PowerTOP 1.0   (C) 2007 Intel Corporation

Collecting data for 5 second(s)
Cn                      Avg     residency
C0 (cpu running)                (2.6%)
C1                      3.0ms   (97.4%)
P-states (frequencies)
2193 Mhz        100.0%
Wakeups-from-idle per second: 326.3     interval: 5.0s
Top causes for wakeups:
30.7% (100.1)            <kernel> :genunix`clock 

24.2% ( 79.1)               sched :<cross calls> 

20.5% ( 66.7)            <kernel> 
:ohci`ohci_handle_root_hub_status_change
16.4% ( 53.4)               sched :<scheduled timeout expiration> 

  5.2% ( 17.0)                java :<scheduled timeout expiration> 

  3.1% ( 10.0)            <kernel> :ata`ghd_timeout 

  1.2% (  4.0)            <kernel> :genunix`schedpaging 

  1.2% (  3.8)         <interrupt> :bge#0 

  0.6% (  2.0)            <kernel> :genunix`lwp_timer_timeout 

  0.4% (  1.2)         <interrupt> :ata#1 

  0.3% (  1.0)            <kernel> :TS`ts_update 

  0.2% (  0.8)         <interrupt> :asy#0 

  0.1% (  0.4)            <kernel> :ip`tcp_time_wait_collector 

  0.1% (  0.4)            devfsadm :<scheduled timeout expiration> 

  0.1% (  0.4)              python :<scheduled timeout expiration> 

  0.1% (  0.2)            <kernel> :mpt`mpt_watch 

  0.1% (  0.2)            <kernel> :swrand`rnd_handler 

  0.1% (  0.2)            <kernel> :kcf`rnd_handler 

  0.1% (  0.2)                 fmd :<scheduled timeout expiration> 

  0.1% (  0.2)                nscd :<scheduled timeout expiration> 

  0.1% (  0.2)            powertop :<scheduled timeout expiration> 

  0.1% (  0.2)            sendmail :<scheduled timeout expiration> 

  0.1% (  0.2)         svc.configd :<scheduled timeout expiration> 

  0.1% (  0.2)          svc.startd :<scheduled timeout expiration> 

no ACPI power usage estimate available
bash-3.2#

> And, why not put the dtrace probe into powertop repo first?

Good point, I'll push the changes now.

thanks
Rafael

> Thanks,
> -Aubrey
> 
> 
>>> Thanks,
>>> -Aubrey
>>>
>>> Rafael Vanoni wrote:
>>>> So it's a question of adding probes around
>>>>
>>>> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/i86xp
>>> v/os/mp_xen.c#529
>>>> everything else is there.
>>>>
>>>>
>>>> Rafael
>>> _______________________________________________
>>> tesla-dev mailing list
>>> tesla-dev at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/tesla-dev
>> _______________________________________________
>> tesla-dev mailing list
>> tesla-dev at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/tesla-dev
>>


Reply via email to