🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16275

Re: Some Diablo questions!

#16275
From: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
86 lines
4491 bytes
:In article <5h75ph$8lu@epimetheus.algonet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <5h6kl9$gl2@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
:>wrote:
:>>
:>>    As far as my recommendation in the documentation to not run more
:>>    then 3 dnewslinks in parallel to any given destination, there are
:>>    two reasons.  First, a streaming connetion to an INND destination
:...
:>
:>But it has to depend a lot on the receiving site's situation. For
:>example, we have one feed that goes across a satellite link to
:>French Polynesia. They have response times in the order of
:>1000-2000ms. In this case, running more simultaneous feeds
:...
:>
:>Also, people have been saying that using more than N feeds
:>in parallel will just bog down the receiving site and not get them
:>much more articles in the end. While this sounds logical I wonder
:>if it applies in all cases. Slow connections is one case where it
:>might work to use more parallel feeds - especially when RTT
:...

    I agree completely, you are absolutely right... in cases where
    TCP streaming cannot keep the pipe full due to latency, you
    might need more then 3 simultanious connections for 'normal'
    operation.

:>is slow but there is available bandwidth. Also, but in this I'm
:>just going on hearsay, I've got the impression that INND operates
:>in a manner that makes multi-channel feeding more efficient
:>because INND's main loop does a lot of stuff on each iteration
:>and it will only spend so much time serving every inbound
:>channel on every iteration so these other things it does will
:>become a bottleneck for single-channel feeds while multi-
:>channel ones will be served several times each iteration in
:>the main loop. True or false?

    Both true and false, but more false then true.   The big
    problem with INND is that it is single threaded.  *ANY*
    operation which blocks stalls *ALL* of your feeds.  This
    tends to make INND extremely sensitive to the filesystem
    and kernel that it is run on.

    Even if INND tends to stall only on file creates, the
    stall still wastes real time during which no history file
    lookups can occur.  Many installations can get away
    with this because, as with Diablo, history file lookups
    are *very* fast, and so innd can 'catch up' again.  One
    can also assume that in a fully stabilized system, innd
    will only have to create 4 or 5 files a second no matter
    how many feeds you have... so innd WILL work with a large
    number of feeds if it doesn't stall to badly on article
    create and link() calls.

    The single greatest advantage that something like Diablo
    has over INND is that, being a forking server, one diablo
    process can stall on an I/O operation while the remaining
    processes continue to run.  Thus, Diablo will run on
    platform configurations that innd just dies on.  

    For example, news1.best.com has only 128MB of ram and
    the Diablo system runs over ufs/ffs.  There's nothing special
    about the machine beyond it being a ppro 200 running FreeBSD.
    INND on a simliarly configured box has serious trouble with
    the number of feeds we maintain.  I find it personally
    distasteful to have to throw massively overpowered hardware
    at a problem that ought to be otherwise solveable :-)

					-Matt

:>My machine has enough memory to keep the history file in
:>physical RAM all the time probably so I don't think that will be
:>a problem (unless I start feeding a really large number of sites
:>and run out of memory of course).  It also has a disk system I
:>am glad I bought - a Voyager 3000 external RAID unit from
:>Eurologic. I can recommend it - it's very fast!
:>
:>Regards,
:>
:>  /Ragnar, Algonet



Technical Details
Message-ID: <5h86s7$8ln@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
References: <5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@flea.best.net> <5h6kl9$gl2@flea.best.net> <5h75ph$8lu@epimetheus.algonet.se>

Show Full Headers
Complete Article Headers
Message-ID: <5h86s7$8ln@flea.best.net>
Subject: Re: Some Diablo questions!
Date: Tue, 25 Mar 1997 00:00:00 +0000
From: dillon@flea.best.net (Matt Dillon)
References: <5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@flea.best.net> <5h6kl9$gl2@flea.best.net> <5h75ph$8lu@epimetheus.algonet.se>
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: 228193031
Distribution: inet
Organization: BEST Internet Communications, Inc.
Newsgroups: news.software.nntp