I am working on a bug fix for bug 5062435 and I would like to make
the diffs available for comment.
The bug regards the kstats
cpu::sys:cpu_{ticks|nsec}_{user|kernel|idle}. These are used, as an
example, by mpstat to generate the percentage of CPU time in user,
kernel and idle states. Prior to Solaris 10, time spent handling
interrupts would be accounted within the kernel state. Today, the
arrival of an interrupt does not change the CPU state, such that time
spent in an interrupt handler is accrued to whatever state the CPU was
in when the interrupt arrived. Essentially, interrupts become invisible.
A CPU could be completely loaded with interrupts, yet report as 100% idle.
My proposed fix is at:
http://www.zenstarstudio.com/opensolaris/webrev.5062435/index.html
All CDDL'd, of course, and not guaranteed to be incorporated into
Solaris, neither in this form nor necessarily in any form.
Please let me know if you have comments or questions.
Thanks!
-- Ethan
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org