Article View: news.software.nntp
Article #16237Re: Some Diablo questions!
From: Matt Dillon
Date: Mon, 24 Mar 1997 00:00
Date: Mon, 24 Mar 1997 00:00
75 lines
3980 bytes
3980 bytes
:In article <5h416e$mev@flea.best.net>,
:Ron Echeverri <rone@flea.best.net> wrote:
:>In article <5h1r3f$d2t@epimetheus.algonet.se>,
:>Ragnar Lonn <prl@algonet.se> wrote:
:>>Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
:>>and have some questions. Everything seems to work well but some
:>>of my peers (I have 12 peers, most of which take more or less full feeds)
:>>are a bit slow right now and the backlogs are growing so I wondered
:>>if there's any way to speed up the outgoing transfers.
:>
:>I don't think Matt is reading this newsgroup; if you have any
:>questions about diablo, you should email him directly at
:>dillon@backplane.com. I will forward this to him.
:>
:>rone
I read this group! :-)
The dnewslink program works in a manner similar with innfeed/innxmit,
but does not try to optimize-out 'check' commands. I forget which
one (innfeed or innxmit) that did that... basically dnewslink will
send a (streaming) 'check' for every message, even if it winds up
transfering most of them.
But that's the only difference, and I think it actually helps more
then it hinders... I have found that many of my incoming links
will stop sending checks and just start shoving articles to me.
I wind up rejecting 30% of them. While optimizing out the 'check'
works in theory, I do not think any of the currently existing
feeders actually do the optimization correctly.
--
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
will tend to load down that destination. Having more then three
and the INND destination will have trouble handling its other
incoming feeds because it will be spending all of its time on
yours. Secondly, you get diminishing returns with INND destinations
once you get past 3 simultanious streaming links. If it cannot
keep up with 3, it probably cannot keep up with 4, 5, or 6...
Since Diablo forks, it has no problem with simultanious
incoming streaming feeds, but it is possible to overload the
filesystem with history lookups. You can generally tell by
doing a ps to see where the server processes are hanging.
In FreeBSD, you would:
* make your window very wide
* ps axl | fgrep diablo
A diablo server in the 'netio' wait state is running at 100%
efficiency.. it's waiting for the next command from the client.
A diablo server in the 'biowai' state is waiting on disk I/O.
A diablo server in the 'ufslk2' or 'ufslk' state is waiting on
an internal kernel filesystem lock of some sort (this can be a
problem too). Generally speaking, diablo will not get hung up
on its own file locks since it does record locking rather then
whole-file locking on the history file.
dnewslink processes can be observed in the same manner, but for
dnewslink processes being in a biowai or ufslk* state is not
as critical as when the diablo server processes are in those
states.
You also want to be sure that you are not saturating your network.
netstat works admirably for that if your news machine is on its
own switch port.
-Matt
Technical Details
Message-ID:
<5h6kl9$gl2@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-mailReferences:
<5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <5h6kl9$gl2@flea.best.net> Subject: Re: Some Diablo questions! Date: Mon, 24 Mar 1997 00:00:00 +0000 From: dillon@flea.best.net (Matt Dillon) References: <5h1r3f$d2t@epimetheus.algonet.se> <5h416e$mev@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: 228027452 Distribution: inet Organization: BEST Internet Communications, Inc. Newsgroups: news.software.nntp