Article View: news.software.nntp
Article #62306Re: INN history tuning dilemma
From: Thomas
Date: Fri, 13 Dec 2002 19:55
Date: Fri, 13 Dec 2002 19:55
72 lines
3824 bytes
3824 bytes
Jeffrey M. Vinocur wrote: > In article <%ynK9.1009$3G4.2233@amstwist00>, Thomas wrote: > > >Andrew - Supernews wrote: > > > > > >>It's very important with dbz that you don't end up overflowing the tables; > >>this is a significant performance hit. > > > >I think (hope?) expire takes care of that by rebuilding. > > > I don't really understand dbz, but I don't think so, or people > wouldn't fuss about it so much. From old postings I dug up the following info. Things are done rather cleverly, I must say. Below is my history.dir: $ cat history.dir dbz 6 9445713 14 66 5765115 5698800 5627408 5512791 5296905 6297142 5889599 5485615 5379670 ... This says the has table is 9445713 entries in size, and 5765115 entries are in use. The other numbers on the second line are a size history. At expire, the largest number is used to deterimine hash size. Now that I think about it: there are actually 10 of these numbers. If one does a daily expire, this keeps a history of more than a week, remembering variations that long ago. If the hash is too small, and more than 10 collisions occur, the hash is expanded into a history.pag file. That file is a sign of a problem, but it doesn't exist on my system. So the hash size matters mostly when setting up a new server and trying to backfill that in one go. > >Maybe the occasional surges of incompletes are caused by not > >having enough peers. Or perhaps using a single feeder to > >centrally number articles and handle peerings is not such a > >clever idea - if it hiccups, it probably has a hard time > >catching up with all the articles being offered asynchronously. > > > Why don't you investigate a bit more. Ask your peers if they're > running a backlog. Is the amount of news you're expecting > reasonably able to fit down your pipe? Yup, I should dive into that. The pipe is big enough, and what I'm missing when things go wrong is about 3% of articles I think. > Probably adding more memory and/or bandwidth to the existing one > would be better. System tuning time :) Maybe Linux isn't that good a choice still, memory management wise. Disks should be coping well... they manage to write the bulk of the data in bursts and are fairly idle in between. CPU is a bit busy to my taste, but there is more than 50% idle time. Outgoing bandwidth is around 200 megabits/second; incoming is in the 60s most of the time. And maybe things 'just work' after the latest tuning. Thomas
Technical Details
Message-ID:
<qWqK9.1118$3G4.2677@amstwist00>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!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!newsfeed.wxs.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mailReferences:
<Py7K9.814$3G4.2389@amstwist00> <hLiK9.911$3G4.2521@amstwist00> <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net> <%ynK9.1009$3G4.2233@amstwist00> <atdakc$ci8$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <qWqK9.1118$3G4.2677@amstwist00> Subject: Re: INN history tuning dilemma Date: Fri, 13 Dec 2002 20:55:01 +0100 From: Thomas <zak@spam.invalid> References: <Py7K9.814$3G4.2389@amstwist00> <hLiK9.911$3G4.2521@amstwist00> <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net> <%ynK9.1009$3G4.2233@amstwist00> <atdakc$ci8$1@puck.litech.org> 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!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!newsfeed.wxs.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <Py7K9.814$3G4.2389@amstwist00> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 71 NNTP-Posting-Host: 24.132.6.5 X-Complaints-To: abuse@chello.nl X-Trace: amstwist00 1039809302 24.132.6.5 (Fri, 13 Dec 2002 20:55:02 MET) NNTP-Posting-Date: Fri, 13 Dec 2002 20:55:02 MET