🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56854

Re: CNFS corruption

#56854
From: BOUWSMA Beery
Date: Sat, 23 Feb 2002 22:03
65 lines
4378 bytes
Moin, moin!
%s wrote on %.3s, %lld Sep 1993

> The images that you'd want to use with mmap off would be innd and the expire
> ones.

I'm not quite sure how much expire will be afflicted by the vm quirks
that causes messages to not be found in the spool for some time.  For
one thing, I was using k0deZ that mmap()ed the history files somewhat
differently than the last time I took a look at INN's history file
handling well over a year ago, and I have no idea what's elapsed since
that time.

I also don't know how NetBSD has evolved from the -current of a few
years ago to today's 1.5.2, when back then the trickle sync algorithm
used made history access very interesting when properly combined with
mmap() as of the early v6 dbz k0deZ.  It's two entirely different file
access patterns.

I don't recall severe history file access problems when I was definitely
seeing spool access problems.  Perhaps because the former would manifest
itself less blatantly.  Perhaps because I wasn't paying attention.  Maybe
I did see problems and forgot about them.

What you will see with expire, assuming trickle sync and a fully mmap()ed
set of history database files, is your machine will appear unresponsive
for some length of time.  On the other hand, without mmap()ing at least
your history database files in innd, your performance will suck mud.

And if trickle syncing is still in da house, any unclean crashes will be
far more unclean than otherwise, though if you know how to properly
recover by rebuilding your history database files from the text file,
you can avoid this which you should do anyway regardless of OS.


>   A ton of effort
> has been put into the FreeBSD vm and mmap code - most unix systems don't
> have it exactly right - some are worse than others.

With the experience I had, I'll frankly state that I trust the FreeBSD
mmap() k0deZ far more, particularly since I was able to hack the latter
to give the same benefits that were so attractive from NetBSD's trickle
sync algorithm, with none of the drawbacks.

Be advised that my last hands-on experience with this is based well over
two years ago, and a lot could have changed with a lot of things.  So,
take my uncalled-for advice with a severe grain of salt.  I was lucky
that I could simply plug my news setup into either NetBSD or FreeBSD
to see if I was imagining things, which influenced the path I took.
I've been wary of NetBSD for general news service ever since.

Also, if I'm following things right (which I'm not, being offline), it
seems like Matt Dillon has just posted patches which should improve
shutdown performance with the hacks I used to get FreeBSD to match or
exceed NetBSD's level of random access file performance with mmap().


Just a few more random observations to confuse you.  And not meaning
to start a religious krieg or anything, since I'd love to see NetBSD
with a fully functional vm and mmap.

bouwsma barry, kinderliebhaber deluxe

Technical Details
Message-ID: <0000001111.r00tshell@news.radio.cz>
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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!news.vo.lu!news.radio.cz!news.netscum.dk.POSTED!not-for-pedophiles
References: <slrna7df2u.a4s.br@panix2.panix.com> <0000001110.r00tshell@news.radio.cz> <v1Ad8.169610$Re2.12738727@bin6.nnrp.aus1.giganews.com> <slrna7dja6.pm6.br@panix2.panix.com> <TtAd8.170047$Re2.12769882@bin6.nnrp.aus1.giganews.com> <slrna7dlnq.2l5.br@panix2.panix.com> <t2Bd8.170623$Re2.12806555@bin6.nnrp.aus1.giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <0000001111.r00tshell@news.radio.cz>
Subject: Re: CNFS corruption
Date: Sat, 23 Feb 2002 22:03:15 +0000
From: BOUWSMA Beery <netbsd-misuser-200202@remove-NOSPAM-to-reply.netscum.dyndns.dk>
References: <slrna7df2u.a4s.br@panix2.panix.com> <0000001110.r00tshell@news.radio.cz> <v1Ad8.169610$Re2.12738727@bin6.nnrp.aus1.giganews.com> <slrna7dja6.pm6.br@panix2.panix.com> <TtAd8.170047$Re2.12769882@bin6.nnrp.aus1.giganews.com> <slrna7dlnq.2l5.br@panix2.panix.com> <t2Bd8.170623$Re2.12806555@bin6.nnrp.aus1.giganews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!news.vo.lu!news.radio.cz!news.netscum.dk.POSTED!not-for-pedophiles
Organization: The Secret BSD vm Conspiracy (There is no Secret BSD vm Conspiracy)
Newsgroups: news.software.nntp
X-Newsreader: Telnet 119
X-Meow: *PLONK*
X-Pedophile: BARRY B0USWMA IS A PEDOPHILE!!!
X-NetScum: Yes
X-One-And-Only-Real-True-Fluffy: No
NNTP-Posting-Host: pppoe58-luxdsl-165.pt.lu
X-Trace: news.vo.lu 1014501795 pppoe58-luxdsl-165.pt.lu (23 Feb 2002 23:03:15 +0100)
Lines: 64