🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62298

Re: INN history tuning dilemma

#62298
From: Andrew - Supernews
Date: Fri, 13 Dec 2002 12:25
32 lines
2140 bytes
In article <hLiK9.911$3G4.2521@amstwist00>, Thomas wrote:
> Andrew - Supernews wrote:
> 
>> how big are your history files, exactly, and how many entries? How much
>> RAM do you have?
> 
> The situation when I had problems does not persist any more, but currently
> the history is 350322495 bytes. The file has 5396055 lines.

from the point of view of RAM usage, it's the size of the dbz files that
matters rather than the size of the history proper.

On a transit system, almost all history lookups should either find a
nonexistent entry (in which case the history data file should not be
accessed) or should find a cached entry (ditto).
 
It's very important with dbz that you don't end up overflowing the tables;
this is a significant performance hit.

> RAM is 2 GB.
> 
> What do people actually use for /remember/ and for artcutoff?

well, we don't run INN and we have a different history architecture, but
we have no problem at all with a 32-million-entry history on a 2GB transit
machine.  (with our design that means about 384M of hashtables, which is
probably in the same ballpark as dbz for a history of that size).

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net>
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!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <Py7K9.814$3G4.2389@amstwist00> <slrnaviju0.2qos.andrew+nonews@trinity.supernews.net> <hLiK9.911$3G4.2521@amstwist00>

Show Full Headers
Complete Article Headers
Message-ID: <slrnavjkdb.2qos.andrew+nonews@trinity.supernews.net>
Subject: Re: INN history tuning dilemma
Date: Fri, 13 Dec 2002 12:25:18 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <Py7K9.814$3G4.2389@amstwist00> <slrnaviju0.2qos.andrew+nonews@trinity.supernews.net> <hLiK9.911$3G4.2521@amstwist00>
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!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 31