🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47176

Re: Still having history problems

#47176
From: Russ Allbery
Date: Thu, 29 Jun 2000 00:00
45 lines
2490 bytes
Ronald Hello <hello@cs.utwente.nl> writes:

> Every hiscachesize I tried gave this picture. How large should
> hiscachesize be to hold some 1.000.000 MID's? This all could be a result
> of failing feeds and the variation could be less predictive than I
> think. It's hard to keep an exact log of things that spread over
> weeks. Hmm. I could analise the innreports ...

The cache holds the hash of the message ID (16 bytes) and a boolean, which
is probably padded by your OS to 4 bytes.  So figure 20 bytes per message
ID, so 20,000,000 bytes for 1,000,000 message IDs, or about 20MB.

> I'll keep an eye out for that. I'll make a little timestamp/ls
> script ...
> <clicketyclick>
> done. Now waiting for the makehistory to be able to post this ...
> That's strange.
> Before makehistory -r -s 20000000:
> history.hash:  344842458
> history.index: 229894972
> After makehistory -r -s 20000000:
> history.hash:  267051294
> history.index: 178034196
> An hour later, just before makehistory -r -s 30000000:
> history.hash:  303374862
> history.index: 202249908

This is very not good; the hash and index file sizes should not be
changing.  They should be completely constant between runs of makehistory;
if they aren't, they're too small.

> After makehistory -r -s 30000000:
> history.hash:  270000000
> history.index: 180000000

> wc -l history
> 19403812 history

Yup, 20000000 was definitely too small.  See if the file sizes now remain
constant between nightly runs of makehistory.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl8zvoj29m.fsf@windlord.stanford.edu>
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: <8jcp64$96q$1@ares.cs.utwente.nl> <yl66qts4s9.fsf@windlord.stanford.edu> <8jer9a$4b6$1@ares.cs.utwente.nl> <ylem5hj7jj.fsf@windlord.stanford.edu> <8jeu9g$65v$1@ares.cs.utwente.nl> <ylr99hhqyq.fsf@windlord.stanford.edu> <8jf08h$71p$1@ares.cs.utwente.nl>

Show Full Headers
Complete Article Headers
Message-ID: <yl8zvoj29m.fsf@windlord.stanford.edu>
Subject: Re: Still having history problems
Date: Thu, 29 Jun 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8jcp64$96q$1@ares.cs.utwente.nl> <yl66qts4s9.fsf@windlord.stanford.edu> <8jer9a$4b6$1@ares.cs.utwente.nl> <ylem5hj7jj.fsf@windlord.stanford.edu> <8jeu9g$65v$1@ares.cs.utwente.nl> <ylr99hhqyq.fsf@windlord.stanford.edu> <8jf08h$71p$1@ares.cs.utwente.nl>
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: 640323874
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp