Article View: news.software.nntp
Article #38299Re: News server architecture (was: Submitting to Freenix)
From: Aidan Cully
Date: Sun, 27 Jun 1999 00:00
Date: Sun, 27 Jun 1999 00:00
39 lines
2503 bytes
2503 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> wrote: > T William Wells <bill@twwells.com> writes: > > Russ Allbery <rra@stanford.edu> wrote: > > >> Does now, in 2.3 CURRENT. It would be nice to fix that, I agree, but > >> I'm not sure if it will happen before the release. > > > In which case, I'll be staying with 2.2. I have never trusted mmap() > > and, in any case, I've yet to be convinced that FreeBSD's mmap will > > work.... > > I believe that the only thing mmap() is currently absolutely required for > is the sharing of the active file between all versions of nnrpd. If > that's true, that's easily fixable. I need to go look at Clayton's notes > again. I'm pretty sure that's wrong. I think Clayton mmap's every file in the overview in order to read it. As he said, "The overview and cnfs code uses mmap'ing as a form of shared memory w/disk backing", and my brief look at the code indicates that it _really does_ rely on the shared memory aspect of mmap. > > Lovely. Someone *needs* to look over code and say "You can't DO that!" > > and this mmap() thing is exactly the sort of thing I'm referring to. I > > can't conceive of any reason to *require* mmap in any system, since it > > doesn't provide any *functionality* that regular I/O calls > > provide. Efficiency, yes, but functionality no. So code that *requires* > > mmap() is *broken*. That's a bit harsh, and I can't say I agree with you.. Read "shared memory w/disk backing" again. :-) --aidan -- Aidan Cully "Umm.. Could you call back? My house is on fire." Panix Staff --Tom Waits aidan@panix.com
Technical Details
Message-ID:
<7l5p6n$1kf$1@news.panix.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-mailReferences:
<7g24e7$ckh$1@info.cs.uofs.edu> <ylogi3s8qs.fsf_-_@windlord.stanford.edu> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7l5p6n$1kf$1@news.panix.com> Subject: Re: News server architecture (was: Submitting to Freenix) Date: Sun, 27 Jun 1999 00:00:00 +0000 From: aidan@panix.com (Aidan Cully) References: <7g24e7$ckh$1@info.cs.uofs.edu> <ylogi3s8qs.fsf_-_@windlord.stanford.edu> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu> 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: 494488844 Distribution: inet X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 930506776 1679 166.84.0.232 (27 Jun 1999 18:06:16 GMT) Organization: Public Access Networks Corp. NNTP-Posting-Date: 27 Jun 1999 18:06:16 GMT Newsgroups: news.software.nntp