🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31510

Re: Inn 2.1 Guinea Pig speaks out...

#31510
From: Ministry of Controlled Substance...
Date: Sat, 19 Sep 1998 00:00
39 lines
2831 bytes
On 18 Sep 1998, Brian Edmonds wrote:

> > You really should have a separate spindle for newslib (i.e. history),
> > and preferably one for overview.
> 
> server with CNFS or similar technology, it doesn't much matter, though
> striping helps some with history.

Are you sure?  It probably depends on what history you are using and how
you access it, but I was under the impression that dbz v6.0 was a memory
pig for the simple reason that it kept everything -- the history hash and
index files -- in memory, rather than hitting the disk for them.

As such, the only history access would be to flush the disk buffers to the
disk proper periodically, with that activity limited to a string of
sequential writes at the end of the history text file, and pretty much
random updating of all the contaminated entries in the hash and index
files.

My experience in trying different disk layouts give no significant benefit
to any particular arrangement, as the periodic (every 30 second by
default) `sync's resulted in all further activity being blocked until the
disk activity was complete.  Any improvements from differing stripe sizes
were negligible compared to the significant time spent blocked given the
large history files needing updating.

A different OS that does not block during these updates would probably see
no performance difference no matter what you do to the history.

On the other hand, the dbz v3 family does require actual read access to
the history text file, while the pag file ideally will remain in memory
and need only the periodic on-disk updating.  Depending on whether you are
receiving many multiple redundant feeds and additional optimizing you've
done to increase the likelihood of getting a true hit where you think
there is one, you may well see a significant performance difference with
different history disk strategies.


Technical Details
Message-ID: <Pine.BSF.3.96.980919004807.20349b-100000@coredump.int.tele.dk>
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: <36013e5c.2679571520@news.poptel.org.uk> <1rhfy5k4j1.fsf@haey.ifi.uio.no> <37vhml2gf4.fsf@cascade.cs.ubc.ca>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.BSF.3.96.980919004807.20349b-100000@coredump.int.tele.dk>
Subject: Re: Inn 2.1 Guinea Pig speaks out...
Date: Sat, 19 Sep 1998 00:00:00 +0000
From: Ministry of Controlled Substances <pivrnec@vszbr.cz>
References: <36013e5c.2679571520@news.poptel.org.uk> <1rhfy5k4j1.fsf@haey.ifi.uio.no> <37vhml2gf4.fsf@cascade.cs.ubc.ca>
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: 392564831
X-Sender: pivrnec@coredump.int.tele.dk
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news-inn.inet.tele.dk 906159683 100014 (None) 193.163.158.4 (18-09-98 23:01:23 GMT)
Organization: MORE TOBLERONE THAN YOU CAN SHAKE YOUR STICK AT
Mime-Version: 1.0
Reply-To: Barry Bouwsma <ag786@yfn.ysu.edu>
Newsgroups: news.software.nntp