Article View: news.software.nntp
Article #33491Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?)
From: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 03 Dec 1998 00:00
Date: Thu, 03 Dec 1998 00:00
73 lines
5027 bytes
5027 bytes
On 3 Dec 1998, Olaf Titz wrote: > > did mention tagged-hash but only said it was for servers with little memory > > (less than 256MB). Our writer host has 512MB memory so I didn't think I But your reader host also needs to use it too, and the memory used is not available for better things a reader box needs, like keeping a cache of the overview data or the article files, which is particularly important with as many readers as you have. (One of the reasons, aside from the weather, why I'm suffering here.) > It switches to a different dbz index format which is slower but uses > much less memory. Slower? Not significantly for the configuration which Ragnar has, where two feeder boxen are pummeling his writer swerver, that should mean an average of one hit and one miss per article (in the other order, mind you). The so-called tagged-hash history (call me old-fashioned, but I'm not quite sure how these fancy yet outwardly meaningless names get applied; me, I tend to refer to them differently like dbz v6 for the newer MD5-based index/hash history, and the v3 family for what goes as tagged-hash, probably 'cuz I don't bother to pay attention...) needs to hit the history text file for every suspected hit, which is unpalatable for a transfer machine, but for a reader getting a single feed, or two, should be quite tolerable. The text file also needs to be consulted for those readers which retrieve articles by message ID, such as lynx and no doubt others. However, my measurements have shown that with the parameters I have chosen, I can easily do between 50 and 100 confirmations of the text file per second, sending a feed of message IDs which have already been received. (The long-term rate is apparently lower because I've found that our OS blocks every 30 seconds for about 2 seconds to update the history files with a full incoming feed.) Presumably, as a feed of message IDs never before seen would not need to hit the text file except to verify a few suspected but false positives -- actual numbers measured vary in a real feed but are typically less than 5% -- the rate here would be even higher but I've never tried to measure this as it is normally slowed by delivery of the fresh article which follows... Damn, that's a long and meaningless paragraph. Anyway, the tagged-hash history should be quite adequate for a reader machine, provided, as Olaf notes, that you can keep the .pag file in RAM, which is normally not a problem: -rw-rw-r-- 1 news news 642089666 03 dec 22:45 history -rw-rw-r-- 1 news news 238 03 dec 22:44 history.dir -rw-rw-r-- 1 news news 75991196 03 dec 22:45 history.pag Contrast this with the requirements of an early v6.0 dbz filesizes: -rw-rw-r-- 1 news news 813258408 Dec 3 22:46 history -rw-rw-r-- 1 news news 120 Dec 3 22:46 history.dir -rw-rw-r-- 1 news news 177044592 Dec 3 22:40 history.hash -rw-rw-r-- 1 news news 118029728 Dec 3 22:40 history.index This history mechanism never hits the history text file at all, as the data kept in the hash/index files has a sufficiently low probability of a collision. That's great for a feeder machine, which can do thousands of history lookups in a few milliseconds, provided you can keep these files in memory. However, any readers that try to retrieve articles by message ID will also need to poke around in these files. As we have only 384M of memory with the box that's using dbz v6, the expire process gets pretty resource-intensive, although it does finish in half an hour, but with massive swap usage, and things do get somewhat sluggish during this time. Note that like I caution, I haven't followed all the details of how the 2.x history format differs from that I've hacked into 1.5, as well as the different options for storing hashed or plain message IDs, and the other possibilities for deforming the history format far beyond what I would recognize, so take my words with a few licks off a block of salt.
Technical Details
Message-ID:
<Pine.LNX.4.00.9812032155370.202-100000@coredump.int.tele.dk>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:
<74142e$9vf$2@zingo.tninet.se> <7451vk$j7d$1@pepsi.tninet.se> <745hpl$q9q@news1.panix.com> <7460l7$sl7$2@pepsi.tninet.se> <746t6q$nrd@bigred.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9812032155370.202-100000@coredump.int.tele.dk> Subject: Re: INN2.2 actived on strike! (Was: Re: INN2.2 - articles late to appear on NFS-clients?) Date: Thu, 03 Dec 1998 00:00:00 +0000 From: BARRY BOUWSMA IS A PEDOPHILE <pedophiles@vszbr.cz> References: <74142e$9vf$2@zingo.tninet.se> <7451vk$j7d$1@pepsi.tninet.se> <745hpl$q9q@news1.panix.com> <7460l7$sl7$2@pepsi.tninet.se> <746t6q$nrd@bigred.inka.de> 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: 418383961 X-Sender: pedophiles@coredump.int.tele.dk Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news-inn.inet.tele.dk 912722309 39606 (None) 193.163.158.4 (03-12-98 21:58:29 GMT) Organization: I flunked out of history... Mime-Version: 1.0 Newsgroups: news.software.nntp