cvs commit: src/usr.bin/top machine.c

Robert Watson rwatson at FreeBSD.org
Sat Apr 16 12:09:31 PDT 2005


On Sat, 16 Apr 2005, Dag-Erling Smørgrav wrote:

> Robert Watson <rwatson at FreeBSD.org> writes:
>> The 'C' column is quite useful when tuning SMP systems, and something
>> I frequently look at when debugging performance issues in 5.x and
>> 6.x.
>
> The C column is pointless when you're not showing individual threads, 
> since different threads in the same process might be running 
> simultaneously on different CPUs.

With many current applications, you get processes, in which case there's 
still a benefit.  I agree that there's ambiguity in the threaded but 
non-H case.  In the work I'm doing, I'm primarily interested in the 'C' 
column in the context of "-S", because I want to see where the kernel and 
user processes land -- i.e., where the ithreads and netisr end up, and how 
well they load balance.

Robert N M Watson


More information about the cvs-src mailing list