Article View: news.software.nntp
Article #82242Re: kudos to ovdb + compression
From: D. Stussy
Date: Sun, 29 Nov 2009 01:35
Date: Sun, 29 Nov 2009 01:35
62 lines
3454 bytes
3454 bytes
"Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:herptk$49q$1@news.trigofacile.com... > > 2.4.6 + ovdb (db47): > > > > 18,500,000 articles in spool > > 21 GB size overview database > > 5:45 hours for expireover > > About 1.13 kb/article. It is what D. Stussy spoke about. Which comes from the ovdb manual page.... > > 2.5.1 + ovdb (db47) + compression: > > > > 18,500,000 articles in spool > > 16,5 GB size overview database > > 2:20 hours for expireover > > About 0.9 kb/article. > I would have expected less for a compressed ovdb (our documentation > mentions 0.7 kb/article -- maybe we should update it then). The PROBLEM is that the ov data size in the traditional overview format for a non-reply post is on the order of 200 bytes. I don't have a way of factoring in the overhead for the .IDX file or the directory structure of the overview data, but note that for largely populated groups (many posts), this starts to approach a low number (near zero, but I suspect it might be 4 bytes). That's why I considered what was really needed for an overview file: An article number and a message pointer (the storage manager token became the best value for the latter). If the overview manager were able to have an LRU cache of articles it has expanded, it might be of comparable speed. Only writing and testing it would we find out. > It is great to hear that the time spent by expireover has been > reduced by a factor of 60%!! > It is amazing to see the change. > > > > Heath Kehoe's findings were similar, a couple of years ago: > > ,----[ https://lists.isc.org/pipermail/inn-workers/2004-June/013106.html ]- > > | On my server with about 21 million overview records, after > > | rebuilding the databases with compression enabled, the overview > > | directory went from around 20 GB to 12.6 GB, and the expireover > > | run went from 6 hours to 2 hours. > > `---- > > He had 0.6 kb/article! > Should we conclude that headers are currently larger than five years ago? > > Do you have additional overview fields in LIST OVERVIEW.FMT? > > Something that explains a rise (but not of 300 bytes) is that makehistory > now computes the :bytes metadata. It did not do that by default in INN 2.4. > > Thanks again for your feedback!
Technical Details
Message-ID:
<hesj65$auu$1@snarked.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mailReferences:
<herbif$2tav$1@de-l.enfer-du-nord.net> <herptk$49q$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <hesj65$auu$1@snarked.org> Subject: Re: kudos to ovdb + compression Date: Sat, 28 Nov 2009 17:35:55 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <herbif$2tav$1@de-l.enfer-du-nord.net> <herptk$49q$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 62 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-118-30-21.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1259458565 11230 71.118.30.21 (29 Nov 2009 01:36:05 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Sun, 29 Nov 2009 01:36:05 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478