Milan.Jurik wrote:
> 
> Hi,
> 
> Li, Aubrey píše v po 09. 08. 2010 v 09:09 +0800:
> > Milan Jurik wrote:
> > >
> > > Hi,
> > >
> > > during playing with new build 145 I discovered strange thing:
> > >
> > > C0 (cpu running)                (100.0%)        1000 Mhz
> > > 100.0%
> > > C1                      0.0ms   (0.0%)          1333 Mhz
> > > 0.0%
> > >                                                 1667 Mhz
> > > 0.0%
> > >
> > > Also kstat indicates that system is running on 1GHz only. No difference
> > > between poll-mode and default.
> >
> > Is powertop freezing? did you see the change of Top causes for wakeups?
> 
> This is interesting. I did not expect it because other commands were
> redrawing but I missed it. When I tried to reproduce it this morning,
> for the first time I saw different percentages than 100, 0, 0, and
> powertop stops to redraw the values (including top part). Also, in
> aprox. one from five cases I run kstat, I see current_clock_Hz going to
> the maximum value, for the rest of time it remains on 1GHz - no idea why
> because harddisk seems to be inactive and compilation is running. Also
> again it does not depend on poll-mode or default.
> 
> > 100% C0 residency indicated the system has 100% cpu utilization.
> >
> 
> Yes, I would expect it.
> 
> > when you used poll-mode, did you set cpu-threshold to 1s in /etc/power.conf?
> 
> Yes.
> 
> > It would be interesting to see how the compilation caused 100% cpu
> utilization.
> 
> Do you know SFE repo? SFEboost.spec is my test case
> 
> > I tried to do the nightly, everything works fine. Can you give more details 
> > how
> > to replicate this issue?
> >
> 
> What system did you use for replication of the issue? My system has some
> memory limits (ZFS, Gnome desktop, 4GB of RAM) and 2 cores and standard
> laptop harddisk (but that seems to be not active during build much, it
> goes to memory cache).
> 
> > By the way, we didn't change cpupm related code for a long time, does this
> issue
> > exist on the other build?
> >
> 
> I saw it in build 145 the first time, but I did not use previous few
> builds for this type of workload. I can look at older builds if
> necessary.


I believe P-state transition works fine. current_clock_Hz is not reliable. This 
looks
like a problem in the powertop display part when the cpu utilization is 100%. 
I'll try
to replicate this issue and let you know the result.

Thanks,
-Aubrey

> 
> > Thanks,
> > -Aubrey
> >
> 
> Best regards,
> 
> Milan
> 
> > >
> > > This combination happen when I run intensive compilations (build of
> > > boost with Sun Studio). And it is very strange even more, typical output
> > > of prstat:
> > >
> > >   9667 mj162486   66M   62M cpu0    30    0   0:00:06  13%
> ccfe/1
> > >   9671 mj162486   60M   55M run     21    0   0:00:05  11%
> ccfe/1
> > >
> > > but top reports:
> > >
> > >   9643 mj162486    1  31    0   63M   59M run      0:05
> 46.59%
> > > ccfe
> > >   9650 mj162486    1  22    0   48M   44M run      0:02
> 26.60%
> > > ccfe
> > >
> > > Basically I see much smaller values of CPU usage in prstat than in top.
> > > And I am pretty sure that in reality the CPU (Intel C2D in Thinkpad T60)
> > > is very busy (also Gnome applet shows full load).
> > >
> > > If I break compilation and do some "normal" work like browsing, powertop
> > > shows some changes in frequency to higher values.
> > >
> > > Best regards,
> > >
> > > Milan
> > >
> > > _______________________________________________
> > > pm-discuss mailing list
> > > [email protected]
> > > http://mail.opensolaris.org/mailman/listinfo/pm-discuss
> 

_______________________________________________
pm-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pm-discuss

Reply via email to