🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Hans Lambermont Fri, 06 Dec 1996 00:00
innd_timer shows strange result
#13036
Author: Hans Lambermont
Date: Fri, 06 Dec 1996 00:00
39 lines
1951 bytes
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.

(INN 1.4unoff3, SunOs414, Sparcserver 10, 128 MB RAM,
ODS RAID 0+1 over two separate scsi controllers providing 2 * 19GB)

anyone?

thanks,
   Hans
-- 
Ir. Hans Lambermont        http://xxx.mpn.cp.philips.com/Hans.Lambermont
Network Services                      Hans.Lambermont@mpn.cp.philips.com
Origin, HCZ-238                       phone/fax: (+31 40 27) 56360/55934
PO Box 218, 5600MD Eindhoven, Netherlands          GSM: (+31) 6 53252172

Re: innd_timer shows strange result
#13031
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads