🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40674

Re: Diablo debugging problems...

#40674
From: Joe Greco
Date: Fri, 08 Oct 1999 00:00
41 lines
2964 bytes
In news.software.nntp article <37fe9461$0$11999@master.news.zetnet.net>, pm@nowster-zetnet.co.uk (Paul Martin) wrote:
:In article <brad-0710991318130001@brad.techos.skynet.be>, Brad Knowles wrote:
:>In article <yln1twf21z.fsf@windlord.stanford.edu>, Russ Allbery
:><rra@stanford.edu> wrote:
:>
:>> You definitely want Stevens.  Both Advanced Programming in the Unix
:>> Environment and both volumes of Unix Network Programming, and TCP/IP
:>> Illustrated too if you have some spare cash.  Fantastic books.
:>
:>    It's a shame I can't register for them at amazon.com for my upcoming
:>wedding, but I think my fianc�e would be upset.  ;-)
:
:I got my copies from Amazon. (Not the TCP/IP books, though. I'll get those
:when I have a bit more spare cash, I bought the TAOCP set [Knuth] at the
:same time.) Very useful they are too.
:
:Thoughts on Diablo... it uses mmap() extensively internally. Perhaps an
:optimization would be for the filter interface to receive the filename,
:offset and length of the article that's to be examined, then passes that
:info into the filter, which does an mmap(...,PROT_READ,MAP_SHARED,..) with
:the article (this would require writing a perl module to handle mmap) 
:then mapped to a Perl scalar. That would then provide an environment not
:unlike INN for a filter. The kernel would (should) mmap the same memory
:area that diablo holds the article in, and there's very little copying
:involved.
:
:This is straight off the top of my head, and I'm certainly happy to be
:shot down in flames. 

Fantastic, another Stupid Incompatible Filter Interface.  I'm already
trying to get rid of the gratuitously incompatible INN filter interface.
I'd love to see one common filter API, common to Cyclone/Diablo/INN/
NNTPRelay/etc.  If the Cyclone API is so lacking, maybe it is just time
to hammer out a new common API.  I'm sure some INN hackers here would
rise to the challenge.  I'm here to do the Diablo stuff.  The Sedores
could probably be teased into doing NNTPRelay.  And Highwind is usually
pretty cool.

... JG

Technical Details
Message-ID: <37fec25d$0$11285@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
References: <brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.net>

Show Full Headers
Complete Article Headers
Message-ID: <37fec25d$0$11285@news.execpc.com>
Subject: Re: Diablo debugging problems...
Date: Fri, 08 Oct 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <brad-0110991517500001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> <37fe9461$0$11999@master.news.zetnet.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
X-Deja-AN: 534579047
Sender: jgreco@earth.execpc.com
X-Trace: S=T[4Gb?NPAI5[332>a9YKbfNiaEHUgJGRYcgIRLSUEMA]ZY?5ka5iHWHe@SlFkRFNbUU?DP=kj6DGhaMU<hZ^NGF4FfQ?Mh6UM
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com