🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40298

Re: Diablo vs. INN questions...

#40298
From: Lars Henrik B�ler Olafsen
Date: Thu, 30 Sep 1999 00:00
43 lines
2751 bytes
jgreco@ns.sol.net (Joe Greco) writes:

> In news.software.nntp article <1rn1u6y649.fsf@ganglot.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
[..]
> :Uhm, well, we haven't timed it on the same hardware, so it's just a
> :hunch.  The problem is that the select loop in the diablo master
> :process is "overwhelmed" by all the incoming and outgoing
> :communication, so it takes time between each time it visits a feed.
[..]
> If you're running into performance
> bottlenecks, it is probably more because you're also running a filter
> alongside Diablo, which is causing a lock-step delay in the select loop
> processing.  

Kjetil forgot to mention the host this runs on ... SS10/Solaris 2.5.1
with old ( 4-6 yrs ) 1 and 2 GB disks. ( Despite this, it seems to
hold its own when looking at the freenix top1000[1] ). 

As to why the CNFS INN seems faster, I havent a clue. Maybe the INN
monolithic arcitecture helps? ( e.g Diablo needs to pass header info
between the diablo processes through pipes etc ).

[..]
> :You see, the communication with the dnewslink process is via a two-way
> :pipe.  dnewslink tells the diablo master how many bytes it has read
> :from the pipe, so that the master knows when to stop jamming data into
> :the pipe, avoiding write() blocking.  We chose this method since it
> :was portable, but I am sure there are better ways of doing this
> :communication.
> 
> Yeah, use nonblocking I/O and buffer up the overflow (or write it into
> batch files). 

Actually it allready does this :-) When the pipe and internal buffer (
150 article-refs ) fills up, it writes new article-refs to regular batch
files, and leaves the rest to cron'ed dnewslinks.

	-Lars

[1]: comparing eg. newsfeed.online.no ( Cyclone / #279 ) to us
     ( news-feed.ifi.uio.no - #310 ).

Technical Details
Message-ID: <x1tpuz0a59j.fsf@haey.ifi.uio.no>
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: <brad-2709991944100001@brad.techos.skynet.be> <1r7llcmch6.fsf@haey.ifi.uio.no> <37f058c1$0$7742@news.execpc.com> <1rn1u6y649.fsf@ganglot.ifi.uio.no> <37f15e8e$0$10174@news.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <x1tpuz0a59j.fsf@haey.ifi.uio.no>
Subject: Re: Diablo vs. INN questions...
Date: Thu, 30 Sep 1999 00:00:00 +0000
From: lo@haey.ifi.uio.no (Lars Henrik B�ler Olafsen)
References: <brad-2709991944100001@brad.techos.skynet.be> <1r7llcmch6.fsf@haey.ifi.uio.no> <37f058c1$0$7742@news.execpc.com> <1rn1u6y649.fsf@ganglot.ifi.uio.no> <37f15e8e$0$10174@news.execpc.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: 531126157
X-Complaints-To: usenet@maud.ifi.uio.no
X-Trace: maud.ifi.uio.no 938698718 12564 129.240.64.139 (30 Sep 1999 13:38:38 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 30 Sep 1999 13:38:38 GMT
Newsgroups: news.software.nntp