Subject: Odd top behavior with current, smp sparc 20
To: None <port-sparc@netbsd.org>
From: Bruce O'Neel <edoneel@sdf.lonestar.org>
List: port-sparc
Date: 11/09/2005 16:04:33
Hi,

I have a sparc 20 with 4 cpus (2 55mhz, 2 100mhz, all hypersparcs) and I've
noticed an odd response from top recently.

I start 4 jobs, all of them the same, and all 4 take up one cpu.  
They move from cpu to cpu as expected and each take in the high
90% of the cpu, also, as expected.

What's not expected is that frequently one, and less frequently more than 
one while they show taking 95% of the CPU, they don't increment the
cpu time field of top.  Top does report the same numbers as ps.

Then, after a while the cpu time will jump from say 10 secs to 45 secs
or what ever one would expect it to be.  A time command on these 4 jobs
all show them taking about the right amount of time, ie, just about 150
to 200 secs so the total count is correct.  It's just odd to watch top 
run and all but one or two jobs not accumulate CPU...

Anyway, odd.  I don't see it on another sparc 20 with 2 cpus,
1 180mhz and 1 133mhz, but, I only run two jobs there so it might
not be so obvious.

I don't believe I have /proc mounted on either system for what it's
worth.  They run an identical build of current, some time from
the latter part of October, probably built on 22 Oct or so.

cheers

bruce
-- 
edoneel@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org