🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251173

Re: leafnode: running texpire weekly instead of daily?

#251173
From: Mike Yetto
Date: Tue, 28 Aug 2012 12:01
56 lines
3683 bytes
Adam Funk <a24061@ducksburg.com> writes and having writ moves on.
>On 2012-07-24, Mike Yetto wrote:

>> Adam Funk <a24061@ducksburg.com> writes and having writ moves on.

>>>Is the texpire job's running time related more to the size of the
>>>spool or the number of articles that it decides to delete?
>>
>> I would think that it is dependent on the size of the spool since
>> each article must be checked before a decision is made. A factor
>> to consider is if you are deleting by thread or by individual
>> article. I assume deleting by thread could leave more articles on the
>> spool as well as require more processing. As this might be
>> negligible or spool-size dependent YMMV.
>>
>>>Would it do any harm to run it weekly instead of daily?
>>
>> There should be no harm done, but if you're wondering which way
>> is more efficient / less intrusive, only some testing will tell.
>>
>> Mike "post results / corrected assumptions" Yetto


>OK, here are the results so far, churned through a spreadsheet:

>days   texpire   h:m:s per   m:s per
>since  run       million     million
>last   time      deletions   retentions
>run
>1      1:20:56   07:09:06    37:23
>1      1:21:23   00:02:03    37:34
>1      1:21:59   15:14:27    37:50
>1      1:19:31   15:32:24    36:40
>1      1:24:04   05:57:46    38:45
>1      1:21:09   12:07:42    37:23
>1      1:20:09   11:54:04    36:54
>4      1:24:11   04:55:53    38:43
>7      1:23:34   20:12:31    38:16
>7      1:27:13   14:06:30    39:47
>7      1:28:35   18:24:21    40:15


>(The number of deletions ranged from 142 to 4427; the number retained
>stayed around 2,100,000.)  So the texpire run time seems consistently
>dependent on the spool size, and it does no harm to run it less
>frequently.

Thanks for the follow-up. It seems that such a large spool size
is the determining factor. My guess is that a smaller or varying
spool might show a preference for more frequent processing, but
not by much

Mike "with a few thousand retained the test is hardly worthwhile" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <slrn20120828075802.92.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <1eb2e9x1fg.ln2@news.ducksburg.com> <slrn20120724081056.123.twooffive@may.eternal-september.org> <nfjug9xb2d.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20120828075802.92.twooffive@may.eternal-september.org>
Subject: Re: leafnode: running texpire weekly instead of daily?
Date: Tue, 28 Aug 2012 08:01:49 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <1eb2e9x1fg.ln2@news.ducksburg.com> <slrn20120724081056.123.twooffive@may.eternal-september.org> <nfjug9xb2d.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 56
Injection-Info: may.eternal-september.org;
 posting-host="c462a9a6983fa86956c145eef1f34f4c";
 logging-data="13382"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19iwHXQNw1tISH5Wa2QwbsasVCzaG/quYU="
User-Agent: slrn/pre1.0.0-40 (Linux)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
Cancel-Lock: sha1:OfxI9OM4S3S/D+8mmAUaO4N/Mdw=
X-Original-Bytes: 3344