🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22111

Re: News data storage model

#22111
From: Matthias Urlichs
Date: Sun, 05 Oct 1997 00:00
36 lines
2017 bytes
dillon@best.net (Matt Dillon) writes:
> 
>     memory.  Frankly, I consider caching disk controllers a waste of time...
>     it's better to throw that money into main memory for the machine.  

Right.

The main problem with a caching controller is that it doesn't know what to
retain. After all, there are tons of write()s and tons of read()s, but 90%
of it is actual article data and of the rest, more than half of the
write()s are inode access time updates.  :-(

On a file system used for Netnews, you can toss the atime updates (via a
mount option on any decent operating system) and you can toss the article
data from the cache a whole lot faster than the directory stuff.
You go ahead and show me a caching disk controller which knows about that
kind of stuff...

>     Something like FreeBSD will do a much better job with it then a caching
>     disk controller.
> 
Try Linux 2.1.very_recent. It has a separate directory cache in the kernel.
(Warning, it's the development kernel!) I'd like to see what happens when
you throw enough RAM and a couple of full feeds at it -- the time spent in
open(), INN's major time waster, should then be smaller by one order of
magnitude.

However, I'd rather drop all that nonsense and use the 'big file' approach,
a la INN+CNFS or Diablo or ...

-- 
Matthias Urlichs
noris network GmbH

Technical Details
Message-ID: <617ort$982$1@lap.noris.de>
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: <5vpddn$qlb$1@news5.ais.net> <6062ll$2m0a$1@newssvr03-int.news.prodigy.com> <342C0AFE.F4EB92D5@syr.edu> <60hohg$oli$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <617ort$982$1@lap.noris.de>
Subject: Re: News data storage model
Date: Sun, 05 Oct 1997 00:00:00 +0000
From: smurf@lap.noris.de (Matthias Urlichs)
References: <5vpddn$qlb$1@news5.ais.net> <6062ll$2m0a$1@newssvr03-int.news.prodigy.com> <342C0AFE.F4EB92D5@syr.edu> <60hohg$oli$1@flea.best.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!not-for-mail
X-Deja-AN: 278492603
Organization: noris network GmbH, Nuernberg, FRG
Newsgroups: news.software.nntp