Article View: news.software.nntp
Article #7105Re: expire performance enhancement
From: Mike Bird
Date: Wed, 01 May 1996 00:00
Date: Wed, 01 May 1996 00:00
27 lines
1657 bytes
1657 bytes
A great idea. Care to post the patch? bill@twwells.com (T. William Wells) wrote: >Ever notice how it seems to take *forever* to run through the >history file? Well, last night, I was hacking on expire and noted >that it has a hash table for newsgroups. However, there are only >128 buckets in the table. I set it to 2048 and cut the processing >time to what looks to be about half of the original. I didn't >experiment to see what the best size would be. >BTW, the hack I added: a flag X in expire.ctl that says that if >an article matches that line then the article gets expired in >_all_ the groups it's cross-posted to. This is a space-saver for >when someone cross-posts between binaries and non-binaries; it's >especially useful if you use -l. That it also zaps small posts >cross-posted into the binaries groups doesn't bother me in the >slightest.... ---------------------------------------------------------- Mike Bird Tel: 209-742-5000 FAX: 209-966-3177 President POP: 209-742-5333 NOC: 209-742-9979 Iron Mtn Systems http://www.ims.mariposa.ca.us/
Technical Details
Message-ID:
<4m6jkm$qej@news.ims.mariposa.ca.us>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:
<Dqp091.7q3@twwells.com>Show Full Headers
Complete Article Headers
Message-ID: <4m6jkm$qej@news.ims.mariposa.ca.us> Subject: Re: expire performance enhancement Date: Wed, 01 May 1996 00:00:00 +0000 From: mgb@ims.mariposa.ca.us (Mike Bird) References: <Dqp091.7q3@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: 152334968 Organization: Iron Mtn Systems Newsgroups: news.software.nntp