🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49979

Re: innfeed timer patches..

#49979
From: Charlie Codewanker
Date: Thu, 18 Jan 2001 23:39
46 lines
3436 bytes
[none of the recent posts I've made seem to be appearing, even
though sendmail -v shows a successful delivery to all recipients,
so I'm moving this to a forum where I can better participate]


:: here is a patch that adds a timer to gather innfeed profiling data. There's
:: inn.conf. It covers ~99% of the total time on my server. Here is a sample 
:: for about one hour and two innfeeds running :

:: INNfeed timer:
:: Code region              Time    Pct    Invoked   Min(ms)    Avg(ms)    Max(ms)
:: article read     00:09:07.479   6.3%      52049     0.338     10.519     47.055
[klippage]
:: idle             02:13:01.870  91.7%    1071489     4.258      7.449   1174.270
:: TOTAL: 02:25:05  02:23:30.964  98.9%          -         -          -          -

Interesting.  What I wonder is how do these numbers change as you
use innfeed in different configurations.  For example, we run
separate non-binaries and binariez transit machines, and there is
a huge difference between where innd chooses to spend its time.
Similarly, an innfeed on a non-binaries machine with a lot more
peers, taking about 15 to 20 articles/sec in, uses negligible CPU
time compared with the innfeeds on our pr0n+war3z boxen, handling
10 articles/sec, 10GB incoming/hour, to a much smaller number of
peers.  Adjusting the number of binariez peers, which has had a
success with the non-binariez innfeeds to reduce CPU, makes no
real difference for the binariez feeds.

I've been randomly guessing that there's a way of reading in the
data by innfeed that is comparable to the inefficient way that innd
does its article reads that take up most of the time on a well-tuned
swerver (after article writes to a single slow disk).

Now, if I really wanted an answer to this question, since I have no
idea how your innfeed is configured, I'd add these patches to the
transit boxen here and collect the data myself, but...

Do you keep backlogs for peers and read articles back off the disk
many minutes to hours after they arrive?  This is one thing known
to drag innfeed's single-threaded performance down to unsatisfactory
levels.

But I won't worry about it -- our machines are performance-limited
by innd, and I see no innfeed performance problems here.  Besides,
Not My Problem[tm]
Technical Details
Message-ID: <947uqr$l0s$1@news.contactel.cz>
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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.germany.net!news.tele.dk!news.Contactel.CZ.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-for
References: <9476ui$1kh2$1@FreeBSD.csie.NCTU.edu.tw>

Show Full Headers
Complete Article Headers
Message-ID: <947uqr$l0s$1@news.contactel.cz>
Subject: Re: innfeed timer patches..
Date: Thu, 18 Jan 2001 23:39:08 +0000
From: Charlie Codewanker <autocyberretributionmeowbot@plonk.invalid>
References: <9476ui$1kh2$1@FreeBSD.csie.NCTU.edu.tw>
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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.germany.net!news.tele.dk!news.Contactel.CZ.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-for
Newsgroups: news.software.nntp
Organization: Customer of Contactel s.r.o, Praha CZ
Lines: 45
NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.contactel.cz
X-Trace: news.contactel.cz 979861148 bc962813df487ae598b683235b7ee2f7
X-Complaints-To: Contactel Abuse <abuse@contactel.cz>
X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300