Article View: news.software.nntp
Article #37074Re: Abandoning uniover - but how?
From: Curt Welch
Date: Tue, 27 Apr 1999 00:00
Date: Tue, 27 Apr 1999 00:00
62 lines
3752 bytes
3752 bytes
bill@twwells.com (T. William Wells) wrote: > In article <7fa7l0$pbv@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> > wrote: > : There is actually a good reason for unified overview. Look at what > : happens with traditional overview in crosspostings to N groups: the > : overview record has to be appended to N overview files. This hurts > : both performance and disk space. > > This saves 20% in the writing of overview entries, if that. I bet it does a hell of a lot more than that. With the 2.x design, most overview appends will end up wirting to a disk block which is already cached in memory (because of the small number of overview files being written to). And those files (I assume) are always open so the inode is cached in memory as well as indirect blocks if needed. But when you start to write overview records to a different file for each group - you force the system to open, append, and close every overview file for every write. With 30K to 80K groups you end up with way too many disk blocks for most systems to cache - so you end up doing a hell of a lot more disk reads and writes as you update all those overview files. When you add to that the overhead of dealing with spam cross-posted to 20+ groups, you find you have a lot more overhead generated when you try to do it the old way. > OTOH, > the uniover method, even if the need to reference the history file > were eliminated, requires scattered reads of entire newsgroups' > data, not to mention the index step. > > Does the phrase "measurement before optimization" mean anything to > anyone, anymore??? You have to pay for it somewhere. You either have to do scattered writes when you receive the news or scattered reads when you generate the overview responses. And because most the news on most news systems is never read - you end up saving the most by putting the work off until read time. However, I (like others) must have good overview read response times. So the new system - even though it really flys when receiving news, just isn't workable. If you have lots of memory (for cache), and your spool isn't all that large, then the new 2.x isn't all that bad. But with lots of very large groups and lots of readers, the new inn takes forever to answer overview requests. You either can do it the old way - and make sure you have enough disk and CPU bandwidth for the server to keep up. Or you do something more complex like caching overview responses or only pre-building overview files for groups which are read on your server etc. In answering the original questions - I have no idea what it takes to "fix" inn 2.x. Your best bet is probably to just run the old inn - unless you are willing to take the time to fix 2.x yourself. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19990427104942.033$2b@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!not-for-mailReferences:
<7f5p31$vmq$1@news.netmar.com> <7fa7l0$pbv@bigred.inka.de> <7fbeg0$6dc$1@twwells.com>Show Full Headers
Complete Article Headers
Message-ID: <19990427104942.033$2b@newsreader.com>
Subject: Re: Abandoning uniover - but how?
Date: Tue, 27 Apr 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <7f5p31$vmq$1@news.netmar.com> <7fa7l0$pbv@bigred.inka.de> <7fbeg0$6dc$1@twwells.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: 471487033
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp