Article View: news.software.nntp
Article #17523Diablo V1.08 release delayed for a week - major new additions under test
From: Matt Dillon
Date: Sun, 04 May 1997 00:00
Date: Sun, 04 May 1997 00:00
94 lines
4936 bytes
4936 bytes
The diablo V1.08 release is going to be DELAYED for another week in order
to life-test some major new additions that I felt had to go into this
release.
Amoung other things, I have completely reorganized the spool file
format... diablo now writes multiple articles to each spool file,
resulting in a better then 4-fold increase in performance... and I
kid you not! I have clocked it at 21 article commits a second
on news1.best.com under full load... it's actually able to saturate
the *incoming* ethernet now as well as the outgoing.
May 4 01:29:14 news1 diablo[1011]: DIABLO uptime=0:36 arts=46.000K tested=0 bytes=278.307M fed=2.331M
(10BaseT to etherswitch, 10 second interval)
news1:/news> netstat -in 10
input (Total) output
packets errs bytes packets errs bytes colls
7553 0 4019234 8196 0 4972919 3659
7151 0 4798749 7212 0 3579395 2688
7296 0 4435215 8169 0 4947935 3404
A whole lot of other stuff is going into this release as well, including
major stability fixes to the dhistory database after I lost my dhistory
file due to a misalignment after a crash.
Diablo V1.08 *** NOTE ** DHISTORY FILE RELOAD REQUIRED IF UPGRADING ***
statvfs for sun
** HISTORY AND SPOOL FILE FORMAT CHANGE. The format change requires
that you ensure that ALL of your diablo binaries are replaced. You
must regenerate your dhistory file
Major stability fixes to dhistory file operation... I have found that
if the /news partition runs out of space or many processes are
write()ing to dhistory in O_APPEND mode, that O_APPEND writes aren't
as atomic as I thought they were. dhistory appends are now
serialized and *ACTIVELY* realigned if their alignment gets screwed
up. This should make the dhistory file much, much, much more robust.
didump -x does a better job filtering out bogus dhistory entries.
Major, Major, Major changes in the spool file format, dhistory file
format, and queue file format. Read the section at the end of the
INSTALL file for instructions on how to upgrade without blowing up
your news server.
* spool files may now contain multiple articles separated by \0.
spool files are now named solely based on their gmtime and
iteration number.
* queue files include offset/length pairs to allow dnewslink to
access the new spool files.
* The dhistory file now has a proper header structure, and History
entries now contain two additional fields (offset, bytes) .. used
to store the offset,length information for article lookups.
dexpire is temporarily braindead... it now expires in straight FIFO
fashion, so most of dexpire.ctl is no longer relevant (except for
expirations of 0 which cause an article to be rejected)... I have
a medium term plan to make expiration specifications work again, but
it will be a few releases at the very least.
The dynamic pipe sizing has been removed from dnewslink. It
doesn't work very well when feeds get behind and just slows
things down more.
New algorithm for handling collisions on incoming articles.
Previously, diablo would create more then one copy of the article
file, then delete the ones that didn't make it into the history
file. Now diablo uses file locking (flock) to determine if a
collision is in progress and does not generate more then one copy.
This still allows diablo to accept an article that another diablo
server had previously started to receive, but then somehow died
before finishing out the file or commiting it to the dhistory.
diablo, dnewslink, and dexpire now use chdir() caching to reduce
the path lengths for remove(), open(), etc... which is a big win
for the kernel.
diablo now records rejection statistics properly. It previously
did not count.
diablo now records and returns the errno error string on fatal
errors.
Technical Details
Message-ID:
<5khhtl$dm8@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-mailShow Full Headers
Complete Article Headers
Message-ID: <5khhtl$dm8@flea.best.net> Subject: Diablo V1.08 release delayed for a week - major new additions under test Date: Sun, 04 May 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) 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: 239255632 Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp