🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6169

Re: How to do a better USENET file system

#6169
From: Jerry Aguirre
Date: Mon, 01 Apr 1996 00:00
39 lines
2662 bytes
In article <4jds5q$9s5@tines.hsc-sec.fr> archer@hsc.fr.net (Vincent Archer) writes:
>No. It comes from a principle. If you are using a pull, you are scattering
>more your requests across the disk. If you are using a push, you can sequence
>your sendings so that the impact is less.

On a new news system article access may corespond to arrival order.
But remember that a UFS file system is a little more complex than
that.  It tries to organize all files in a directory together.  Then
there is the tree search overhead.  This changes radically as one gets
many thousands of articles in groups.

I would expect that even with a newly created file system that reading
all the article in a group, and then on to the next group, would be
more efficient than reading them by history file order.  On some other
type of file system this might not be true.

Let the file system get scrambled by multiple fillings, expires,
refillings and the arrival order is not going to mean much in terms of
disk layout.  Some dinky little test on a few files doesn't mean much.
Try it on a server that has been up for months and is running with
gigabytes of articles and is >90% full.

The fact that sorting the list passed to fastrm improves performance
supports this.  If it were true that article access was faster by
arrival order then the sort would slow down processing.  Expire
generates the list in arrival order.  Sorting changes that to having
all articles in a group in sequence.

The only theoretical advantage a "push" type feed has is sending
articles as they arrive and are still in cache.  If the feed can keep
up this means no extra disk overhead to get the article as it is still
in cache from when the news software just created it.  If the sending
queue runs even a minute behind the likelyhood of the article still
being in cache drops very low.

If news servers wern't having trouble keeping up with a full flow then
we wouldn't be having this discussion.

Technical Details
Message-ID: <4jpi8u$2s7@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
References: <Dn4HrC.KIx@twwells.com> <4imb61$fe5@tines.hsc-sec.fr> <4ja5d3$a48@olivea.ATC.Olivetti.Com> <4jds5q$9s5@tines.hsc-sec.fr>

Show Full Headers
Complete Article Headers
Message-ID: <4jpi8u$2s7@olivea.ATC.Olivetti.Com>
Subject: Re: How to do a better USENET file system
Date: Mon, 01 Apr 1996 00:00:00 +0000
From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre)
References: <Dn4HrC.KIx@twwells.com> <4imb61$fe5@tines.hsc-sec.fr> <4ja5d3$a48@olivea.ATC.Olivetti.Com> <4jds5q$9s5@tines.hsc-sec.fr>
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: 145296070
Organization: Olivetti ATC; Cupertino, CA; USA
Newsgroups: news.software.nntp