misc/126230: weird process cpu usage stats and weird load

Jakub Jasinski jakub.jasinski at utoronto.ca
Fri Aug 8 12:47:28 UTC 2008


On Fri, 08 Aug 2008 12:59:50 +0200
Kris Kennaway <kris at FreeBSD.org> wrote:

> Jakub Jasinski wrote:
> 
> >  Now, get cracking and fix select(). ;)
> 
> Except I can't reproduce the bug.  As expected (and previously 
> observed), running rsync does not cause select to use CPU time,
> either with your test code or any other application.  Something else
> bizarre is going on on your system.
> 

When you ran rsync, was your src remote?  When src and dest were both
local, a.out (and processes other than rsync) did NOT consume cpu for
me.  To make a.out consume cpu, I made src to be a FreeBSD 6.2 machine
on the local network and was getting around 7MB/s.

Maybe, something bizarre is going on that is select() _related_. (?)
Processes like shells that were just waiting for stdin, did not consume
cpu.  BUT I'm not going to be surprised if it's specific to the (perhaps
odd) hardware I'm using. (?)

I'll be switching to FreeBSD 6.3 this weekend and I'll post any
results I get.   Whatever it is, it's unacceptable for me: my job is to
redeploy the mail server on the new hardware by September.  FreeBSD has
treated me well during the last decade, until now. :)

In any event, thanks for trying to reproduce the strange behavior.


More information about the freebsd-bugs mailing list