Article View: news.software.nntp
Article #40718Re: Diablo debugging problems...
From: Paul Martin
Date: Sat, 09 Oct 1999 00:00
Date: Sat, 09 Oct 1999 00:00
33 lines
2504 bytes
2504 bytes
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. -- Paul Martin <pm@zetnet.net> at home, swap dash to dot to email.
Technical Details
Message-ID:
<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-mailReferences:
<brad-0110991517500001@brad.techos.skynet.be> <7tdf9o$v9t$1@defiant.cistron.net> <7tdsvu$uil$1@newssvr02.news.prodigy.com> <brad-0610990240110001@dialup417.brussels2.skynet.be> <7tec44$j8i$1@zeus.fw.cuci.nl> <brad-0610991159230001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be>Show Full Headers
Complete Article Headers
Message-ID: <37fe9461$0$11999@master.news.zetnet.net> Subject: Re: Diablo debugging problems... Date: Sat, 09 Oct 1999 00:00:00 +0000 From: pm@nowster-zetnet.co.uk (Paul Martin) References: <brad-0110991517500001@brad.techos.skynet.be> <7tdf9o$v9t$1@defiant.cistron.net> <7tdsvu$uil$1@newssvr02.news.prodigy.com> <brad-0610990240110001@dialup417.brussels2.skynet.be> <7tec44$j8i$1@zeus.fw.cuci.nl> <brad-0610991159230001@brad.techos.skynet.be> <yln1twf21z.fsf@windlord.stanford.edu> <brad-0710991318130001@brad.techos.skynet.be> 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: 534538526 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-Trace: master.news.zetnet.net 939431009 11999 194.247.42.229 Mime-Version: 1.0 User-Agent: slrn/0.9.5.7 (UNIX) Newsgroups: news.software.nntp