🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13031

Re: innd_timer shows strange result

#13031
From: Joe Greco
Date: Fri, 06 Dec 1996 00:00
53 lines
2444 bytes
In article <32A80CEB.3F54BC7E@mpn.cp.philips.com>,
Hans Lambermont  <Hans.Lambermont@mpn.cp.philips.com> wrote:
>Does anyone know why these percentages don't add up?
>What is my innd doing so busy?
>
>Dec 6 13:02:16 news innd: ME time 300030 idle 94525(4445) artwrite
>10011(142) artlink 2003(73) hiswrite 255(142) hissync 13(29) sitesend
>131(1021) artctrl 1198(10) artcncl 27(1) hishave 7833(433) hisgrep 4(11)
>Percent busy:                     68 %
>Time per article write :          70 ms
>Percent time spent writing art :  3 %
>Time per crosslink :              27 ms
>Percent time spent crosslink  :   0 %
>Time per history write :          1 ms
>Percent time spent writing his :  0 %
>Time per history lookup :         18 ms
>Percent time spent hist lookup :  2 %
>
>busy 68%
>artwrite+crosslink+hiswrit+hislookup = 5%
>estimated overhead 10%
>
>So 50% of the time my innd isn't doing anything useful !?
>
>We get roughly 150k articles a day.

Hello Hans,

I wrote innd-timer  :-)

I am not sure what your machine is doing, either.  However, I will note 
that innd-timer is not a comprehensive accounting of time within INN, it
only accounts for things which I suspected were capable of eating up an
appreciable amount of time.  

However, if this is a five minute sample, and it is representative, you
are NOT getting 150k articles/day.  You had 142 articles written in a five
minute period, and 288 * 142 = 41Karticles.

Something is wrong, somewhere, I would agree.  But offhand, I do not have
any wonderful ideas.

You might consider trying sprinkling some other TMR*() calls in the code,
to see if you can determine where the time is being spent.  I would be very
interested if you discover any other "hot spots" that I have failed to 
notice!

Thanks,

... JG

Technical Details
Message-ID: <58a319$nmh@earth.alpha.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <32A80CEB.3F54BC7E@mpn.cp.philips.com>

Show Full Headers
Complete Article Headers
Message-ID: <58a319$nmh@earth.alpha.net>
Subject: Re: innd_timer shows strange result
Date: Fri, 06 Dec 1996 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <32A80CEB.3F54BC7E@mpn.cp.philips.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 202744312
Distribution: inet
Sender: joegreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp