Thread View: news.software.nntp
6 messages
6 total messages
Started by Matt Dillon
Sun, 04 May 1997 00:00
Diablo V1.08 release delayed for a week - major new additions under test
Author: 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.
Re: Diablo V1.08 release delayed for a week - major new additions under test
Author: Matt Dillon
Date: Mon, 05 May 1997 00:00
Date: Mon, 05 May 1997 00:00
62 lines
3298 bytes
3298 bytes
:In article <5kjg95$ehe@netaxs.com>, Avi Freedman <freedman@netaxs.com> wrote:
:>Matt Dillon (dillon@flea.best.net) wrote:
:>
:>: 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.
:>
:>I'm about to go searching for info, but where can I find info about
:>Diablo?
:>
:>When I blow away history on our cyclical-spool box, I get upwards
:>of 100 articles/sec accepted to our slow-ass disks by the Ultra.
:>History and innfeed tapes are on a 300mb ramdisk, out of 512mb
:>of ram the box has.
:>
:>Does diablo support reading or just feeding?
:>
:>Thanks,
:>
:>Avi (who ignored news.software.nntp for many months)
The URL:
http://www.backplane.com/diablo/
Diablo is strictly a news transit system, it does not support reading.
(keep in mind that 1.08 has not been released yet, so you will not find
it on my websight for another week or so).
I suppose if I turned off our 70+ outgoing feeds, I'd get 100+ articles/sec
incoming too. The new scheme that diablo uses is essentially one file
per incoming connections, allowing multiple incoming connections to
freely append articles to their own 'private' files without interference.
It's kinda a chunky-cyclical spool, generating around 80 files every 10
minutes (rather then 3000 files every 10 minutes). Generating fewer
files is possible, but not really worth it. Nor do I believe writing
to a raw partition is worthwhile from a management standpoint.
Our news machine has only a single 10BaseT to a switch, and it's usually
pushing at 100% (1 Mbyte/sec). When it's catching up, I generally
see a 500KByte/sec - 500KByte/sec split. When it's caught up, I
generally see between 50 and 200 KBytes/sec incoming and 850 to 970
Kbytes/sec outgoing.
Can you say: time to upgrade to 100BaseT ? :-) On the otherhand, an
aggregate of 1 MByte/sec 24 hours a day seems obscene, but I'm glad
our leased line customers are getting their feeds from us rather then
eating up precious internet bandwidth getting them.
-Matt
Re: Diablo V1.08 release delayed for a week - major new additions under test
Author: Avi Freedman
Date: Mon, 05 May 1997 00:00
Date: Mon, 05 May 1997 00:00
30 lines
1661 bytes
1661 bytes
Matt Dillon (dillon@flea.best.net) wrote: : 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. I'm about to go searching for info, but where can I find info about Diablo? When I blow away history on our cyclical-spool box, I get upwards of 100 articles/sec accepted to our slow-ass disks by the Ultra. History and innfeed tapes are on a 300mb ramdisk, out of 512mb of ram the box has. Does diablo support reading or just feeding? Thanks, Avi (who ignored news.software.nntp for many months)
Re: Diablo V1.08 release delayed for a week - major new additions under test
Author: Barry Boursyma
Date: Tue, 06 May 1997 00:00
Date: Tue, 06 May 1997 00:00
37 lines
2291 bytes
2291 bytes
On 6 May 1997, Mike Horwath wrote:
> Writing to a raw block device (ala fritchie-cyclic-stuff) or large
> files (ala cyclone) work very well
Actually, Scott's cyclical filesystem, at least in the incantation I'm
running here, doesn't write to a raw device, but rather writes to one or
more large files, and lets the OS handle the buffering to and from the
disk. According to measurements Scott made, writing to a raw device beat
the conventional way of writing to multiple files, but did not perform as
well as writing to regular files. Even regular files are outperformed by
writing to a cooked device.
> Really, I have seen Avi's statistics on his server, and if he
> is *really* running with those shit-ass-slow drives, it helps proves
> the case :)
My first work with the cyclical filesystem was on a cheap underpowered
PC, using a single IDE drive for the spool disk, and a different IDE drive
for history and everything else, on the same controller. This PC had
problems with hardware that made me switch over to somewhat more stable
SGI Indys, also not particularly well-endowed, but the PC hardware
problems had nothing to do with the drives, which were sitting idly much
of the time while throwing around a full feed to a half dozen or so sites.
> Not trying to start an argument, but trying to bring up a fun topic.
Not trying to relay useful information here, but pretending that I'm a
know-it-all who can do news...
Barry Bouwsma, Radio Praha newsbully
Re: Diablo V1.08 release delayed for a week - major new additions under test
Author: Scott Fritchie
Date: Wed, 07 May 1997 00:00
Date: Wed, 07 May 1997 00:00
35 lines
2257 bytes
2257 bytes
Barry Boursyma <boursy@Radio.CZ> writes: > Actually, Scott's cyclical filesystem, at least in the incantation I'm > running here, doesn't write to a raw device, but rather writes to one or > more large files, and lets the OS handle the buffering to and from the > disk. According to measurements Scott made, writing to a raw device beat > the conventional way of writing to multiple files, but did not perform as > well as writing to regular files. Even regular files are outperformed by > writing to a cooked device. FWIW, summarize Barry's comments (and my observations) in order of increasing performance: 1. Writing to raw (character) disk device sucked bigtime. No buffering at all. Accepting articles made the disk sound like an automatic rifle. 2. Writing to big files, e.g. 2GB, on top of a standard filesystem. The OS, Solaris & FreeBSD at least, do a nice job of buffering & doing things asynchronously. Accepting 70 articles/second causes a blink every second or two. 3. Writing to cooked (block) disk devices is the way to go. The OS does buffering & async'ification but without the filesystem overhead. -Scott --- Scott Lystig Fritchie, Network Engineer MRNet Internet Services, Inc. fritchie@mr.net, PGP key #152B8725 Minnesota Regional Network v: 612/362.5820, p: 612/637.9547 2829 University Ave SE http://www.mr.net/~fritchie/ Minneapolis, MN 55414
Re: Diablo V1.08 release delayed for a week - major new additions under test
Author: Sang-yong Suh
Date: Wed, 07 May 1997 00:00
Date: Wed, 07 May 1997 00:00
17 lines
1516 bytes
1516 bytes
In article <ytlbu6n7q9e.fsf@mr.net>, Scott Fritchie <fritchie@mr.net> wrote: > 2. Writing to big files, e.g. 2GB, on top of a standard > filesystem. The OS, Solaris & FreeBSD at least, do a nice > job of buffering & doing things asynchronously. Accepting > 70 articles/second causes a blink every second or two. Oops! I forgot writing you about the Linux based cyclic-inn performance. When the system was recovering from the crash(due to my mistake...) it accepted about 70 arts/second for about one hour. The feeding box was also a Linux running cyclic-inn connected via idle T1. The server name is nntp.kreonet.re.kr, listed as number 56 in top1000 Usenet pathsurvey of May 1 issue. -- sysuh
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads