Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 1997 04:19:47 -0700
From:      David Greenman <dg@root.com>
To:        "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: news server behaviour 
Message-ID:  <199707081119.EAA08592@implode.root.com>
In-Reply-To: Your message of "Tue, 08 Jul 1997 17:45:58 %2B1000." <Pine.BSF.3.91.970708164958.869m@panda.hilink.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>730MB, sd1 is Quantum 1 GB. aha0 is 1542cf with 8Mbps scsi bus. 
...
>That all sounds reasonable, but I'm not so sure about the stats from top 
>and systat -vmstat.  Top shows innd (1.5.1) at 60-70% CPU (39% user, 50% 
>system).  Systat shows similar figures.
>
>I'm running kernel pppd with compression, and there seem to be about 4000 
>sio0 interrupts per systat refresh, but it shows 4% CPU for interrupt 
>servicing.
>
>/var/news is mounted noatime.  innd has 2 MB resident size.
>
>Is the CPU utilisation normal for the situation?  In a previous incarnation 
>the box was a Linux machine doing the same job under a different admin, 
>and CPU for innd was more like 5-20% with no readers.

   A couple of comments: FreeBSD might be accounting for the system CPU time
more accurately than Linux. I also see that you're using a 1542 with > 16MB
of RAM...which means that bounce buffers will be involved for about half of
the I/O. This could have a significant effect on system time when doing lots
of disk I/O. You didn't mention which version of FreeBSD you're using, but
you might want to try enabling the Pentium bcopy optimization if it's not
already enabled (make sure no npx0 flags are set). Is expire running? That
might help explain the high numbers.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707081119.EAA08592>