Article View: news.software.nntp
Article #61064Re: [FNTP] 'in-completeness'
From: Russ Allbery
Date: Sat, 05 Oct 2002 16:20
Date: Sat, 05 Oct 2002 16:20
33 lines
3115 bytes
3115 bytes
Curt Welch <curt@kcwc.com> writes:
> But how will it peform when trying to recieve 20 articles like that at
> the same time on a machine with only 1GB of memory? How would it have
> performed if it received them as 300KB files instead? I suspect there
> are some very important cache savings going on that you are are not
> thinking about. Think about what happens to any applicaion when it's
> working set of pages can't fit in real memory.
Right, you clearly can't spool the entire article in memory. That's the
significant change. You have to instead stream it to disk as it arrives
when the article is large.
For cyclical storage, this means that you want a quantity of binary
storage buffers on the order of the number of incoming binary peering
connections that you have, and you may well take a performance hit from
the lack of locality of your disk writes. I think that would take some
real experimentation to see how bad it is, particularly if your disk has a
write-back cache. But having a decent number of cycbuffs isn't
particularly hard (although with that configuration, nnrpd's current
behavior is naive, but also not all that difficult to fix).
I'll point out that this all only really matters if you're talking about
an average article size well over 10MB, since down in the range that I
think most servers will be operating at, you can just toss more memory in
the box and let innd be large.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylit0gsvqe.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <041020022135088500%planb@newsreaders.com> <1rr8f58wgj.fsf@atta.ifi.uio.no> <ylit0hwhuu.fsf@windlord.stanford.edu> <20021005030405.488$bc@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <ylit0gsvqe.fsf@windlord.stanford.edu> Subject: Re: [FNTP] 'in-completeness' Date: Sat, 05 Oct 2002 09:20:41 -0700 From: Russ Allbery <rra@stanford.edu> References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <ylofabv431.fsf@windlord.stanford.edu> <4319b.4a2200@archiver.winews.net> <ylzntuxir5.fsf@windlord.stanford.edu> <041020021438385411%planb@newsreaders.com> <yl7kgyrpwd.fsf@windlord.stanford.edu> <041020021954536744%planb@newsreaders.com> <ylwuoxhhhx.fsf@windlord.stanford.edu> <041020022135088500%planb@newsreaders.com> <1rr8f58wgj.fsf@atta.ifi.uio.no> <ylit0hwhuu.fsf@windlord.stanford.edu> <20021005030405.488$bc@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 32 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1033834841 15335 171.64.13.23 (5 Oct 2002 16:20:41 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:zi6FbHjb4J7rqTJBkUCJcmBLoIw=