🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7258

Re: expire performance enhancement

#7258
From: Alan Brown
Date: Sun, 05 May 1996 00:00
29 lines
1932 bytes
In article <4m8bmq$sqa@olivea.atc.olivetti.com>,
Jerry Aguirre <jerry@strobe.ATC.Olivetti.Com> wrote:

>The hash of 2048 seems about optimal for my 4K active entries.  A
>site with a larger active file might want to use a larger value.
>Personally I plan to use the 8192 value to allow for growth.

ANy easy way to make this dynamic at runtime? Many sites are well over 
10k entries and by the time 16k rolls around this will probably have been 
forgotten again.

>Note that expire's processing of the history file is only a small part
>of the total news.daily time.  There is still the time for fastrm,
>expireover, and log processing.  Still, every little bit helps.

I find that processing of the history file is the most cpu intensive
of all the things done. Over the last few days it's taken as long as 6 
hours and as little as 1 hour as things settle to cope with my having moved
newslibs/logs onto their own 2Gb scsi drive. (Overviews get a 760Mb to 
themselves too)

AB
-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

Technical Details
Message-ID: <4mhv9m$hsc@papaioea.manawatu.gen.nz>
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
References: <Dqp091.7q3@twwells.com> <4m8bmq$sqa@olivea.atc.olivetti.com>

Show Full Headers
Complete Article Headers
Message-ID: <4mhv9m$hsc@papaioea.manawatu.gen.nz>
Subject: Re: expire performance enhancement
Date: Sun, 05 May 1996 00:00:00 +0000
From: alan@papaioea.manawatu.gen.nz (Alan Brown)
References: <Dqp091.7q3@twwells.com> <4m8bmq$sqa@olivea.atc.olivetti.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: 153102357
Content-type: text/plain; charset=iso-8859-1
Organization: PlaNet (NZ) Manawatu, Palmerston North +64 6 357-9245, Levin +64 6 367 9944
Mime-version: 1.0
Newsgroups: news.software.nntp