[OpenIndiana-discuss] Problem with high cpu load (oi_151a)

Gernot Wolf gw.inet at chello.at
Thu Oct 20 20:01:03 UTC 2011


Am 20.10.11 20:57, schrieb Michael Schuster:
> On Thu, Oct 20, 2011 at 20:55, Michael Stapleton
> <michael.stapleton at techsologic.com>  wrote:
>> You might be right.
>>
>> But 45% of what?
>>
>> Profiling interrupt: 5844 events in 30.123 seconds (194 events/sec)
>>
>> Count indv cuml rcnt     nsec Hottest CPU+PIL
>> Caller
>> -------------------------------------------------------------------------------
>>   2649 45%  45% 0.00     1070 cpu[1]
>> i86_mwait
>>   358   6%  51% 0.00      963 cpu[0]
>> AcpiDebugPrint
>>   333   6%  57% 0.00      960 cpu[0]
>> AcpiUtTrackStackPtr
>>
>> 2649 times in 30 seconds totaling 1070 ns does not seem like much to me.
>>
>> My idle laptop shows:
>>
>> Count indv cuml rcnt     nsec Hottest CPU+PIL
>> Caller
>> -------------------------------------------------------------------------------
>>   5441 93%  93% 0.00     3132 cpu[0]
>> i86_mwait
>
> hmm  ... good point.
>
> Gernot? ;-)

...slowly catching up... ;)

I ran the lockstat command on the OI box at my office, just to have 
another set of numbers to compare. Output:

admin at victor:~# lockstat -kIW -D 20 sleep 30

Profiling interrupt: 2930 events in 30.208 seconds (97 events/sec)

Count indv cuml rcnt     nsec Hottest CPU+PIL        Caller
-------------------------------------------------------------------------------
  2882  98%  98% 0.00     2035 cpu[0]                 mach_cpu_idle
    10   0%  99% 0.00     8696 cpu[0]                 (usermode)
     5   0%  99% 0.00     4738 cpu[0]                 mutex_enter
     5   0%  99% 0.00     9502 cpu[0]                 lzjb_compress
     1   0%  99% 0.00     2647 cpu[0]                 vsd_free
     1   0%  99% 0.00     7323 cpu[0]                 vn_rele_dnlc
     1   0%  99% 0.00    11953 cpu[0]                 vmem_xfree
     1   0%  99% 0.00    16401 cpu[0]                 kmem_partial_slab_cmp
     1   0%  99% 0.00    13537 cpu[0]                 list_remove
     1   0%  99% 0.00    13100 cpu[0]                 copy_pattern
     1   0%  99% 0.00     2154 cpu[0]+11              disp_lock_enter_high
     1   0%  99% 0.00     2098 cpu[0]                 avl_destroy_nodes
     1   0%  99% 0.00     9981 cpu[0]                 avl_find
     1   0%  99% 0.00    12003 cpu[0]                 avl_rotation
     1   0%  99% 0.00     1933 cpu[0]+11              pg_ev_thread_swtch
     1   0%  99% 0.00    12921 cpu[0]                 rw_enter
     1   0%  99% 0.00    15171 cpu[0]                 rw_destroy
     1   0% 100% 0.00     8611 cpu[0]                 page_lookup_create
     1   0% 100% 0.00    12249 cpu[0]                 mutex_exit
     1   0% 100% 0.00    11927 cpu[0]                 mutex_tryenter
-------------------------------------------------------------------------------

So it seems to be normal to have some kind of idle process on top. 
Numbers seem to be roughly comparable...? However, compared to the 
lockstat output of my box, there isn't anything with apci here...

Regards,
Gernot Wolf



More information about the OpenIndiana-discuss mailing list