🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36878

Re: Submitting to Freenix

#36878
From: Bill Gunshannon
Date: Wed, 21 Apr 1999 00:00
130 lines
8039 bytes
In article <brad-2004991654070001@brad.techos.skynet.be>, brad@shub-internet.org (Brad Knowles) writes:
|> In article <7fhu7m$irb$1@info.cs.uofs.edu>, bill@cs.uofs.edu (Bill
|> Gunshannon) wrote:
|> 
|> > Maybe I wasn't clear.  What I would do is subtract one channel from the
|> > number defined for a particualr site and set up one single channel to
|> > handle the binaries (actually, any message over a certain size.  Probably
|> > using something like "The Risks Digest" as a reference point.)
|> 
|>     Ahh, I see.
|> 
|>     I will point out that (I think, anyway) many sites are likely to use
|> some of the typical Diablo examples as prototypes that they usually
|> implement with all their peers, and this would mean that they would
|> typically start up two parallel processes for a particular site with
|> additional channels added as necessary (up to a max of ten), and now

10!!!  I doubt any of my peers will accept more than 4.  And experience
has shown me, at least, that after a certain number there is not only
no increase in article transfer rate but usually a decrease, especially
to machines running INN. (I have played with this locally and found the
cutoff to be around 5 connections.  Probably varies with hardware and
number of peers, but I am sure it is generally true.)  I usually set
mine for 3-4.  I have set two of my outgoing feeds for 3 connections for
small articles and 1 for big articles. I made the cutoff 64K. 

|> you're talking about either adding one for "large" articles (increasing
|> the minimum number of channels they have open to that site by 50%), or
|> having them drop down to a default of one each for the "small" articles as
|> well as the "large" articles.  This might increase the potential backlog
|> of smaller articles, by not having a second channel that is opened for
|> them by default.

Well, of the two sites I chose to test with so far, one is constantly
backlogged (SiteA) and the other is frequently backlogged(SiteB).

It's a little early for results (less than 24 hours actually) but
preliminary observations show the backlog for SiteA is still there,
but even with this, the number of articles accepted from me has
increased and if the trend continues, it will probably double.  For
SiteB, the behavior is a little better to observe as they do not
sit backed-up completely all the time.  The immediately noticable
effect of this change was that although they seemed to be backlogging
on the big-article queue the small-article queue was able to keep up
with no problem.  A quick check showed the ratio of small articles to
big articles to be almost 10:1.  So the obvious immediate (if possibly
premature) conclusion is that, for whatever reason, larger messages 
cause a disproportionate amount of latency.  This is borne out by the 
fact that sites the stop handling them altogether tend to move up the
Freenix ladder. 

One other interesting note is that because the samll article queue is
able to keep up so well, there is no apparent impact in giving up one
connection to dedicate to the big queue.  As a matter of fact, it might
even be possible to just split them and allocate 2 potential channels
to each queue.  The big article queue will probably sit there with two
open channels constantly sending articles while the small article queue
will merely open up it's two channels, dump all it's articles and close.
The overall impact on both ends being minimal while the overall effect
on news in general would be faster transit for real articles, eventual
transit for binaries, etc. And for those who care, maybe even a position
or two higher on the ladder.

One other note, I tried turning off streaming and it appeared to bring 
both queues almost to a standstill.  Not sure which end causes this, 
but although it is usually considered a waste of bandwidth to send
articles that are not going to go into the spool anyway, it seems the
overhead may be much to costly for the average site.

I will keep playing and post better results (if the develop) after a
few days of running this way.  For those who are curious and want to
see some of the numbers themselves, take a look at:
           http://www.cs.uofs.edu/~bill/News/diablo

|> 
|> 
|>     When it comes to choosing an article size to pivot on, I like Russ's
|> 16KB, but I think a case could also be made for 8KB.  Certainly anything
|> over 32KB would be "large", as we start getting way the heck out on the
|> tail of the distribution curve of article size time number of articles.

Well, I looked in my spool and found one article I had in comp.risks (The
Risks Digest, which I consider not only useful, but very worthwhile.) and it
was 32K.  So I decided for the sake of this test to make the cuttoff 64K.
Depending on how things go over a longer period, I would even consider a
threeway split.  Say 20K, 40K and 64K.  This may be overkill, but if it 
turns out that there is less overhead and decreased latency with smaller 
articles, then why not give them what amounts to a higher priority??

|> 
|> > I'm going to look into it myself and maybe try it with a couple of my peers
|> > to see if it has any effect on my outgoing news flow.  The only problem I see
|> > at this point is Diablo has a "maxsize" option, but I don't see a "!maxsize"
|> > option.
|> 
|>     Did you try "minsize"?  For all the "max" parameters, there appear to
|> be matching "min" parameters -- at least, that's the way it looks in the
|> /news/dnewsfeeds file I've got for Diablo 1.23-REL.

That's what I get for not looking at the examples.  I just moved my old
dnewsfeeds file over and looked at the man page, which didn't mention it.
The example dnewsfeeds file does cover it in the comments at the top.

|> 
|> > Looks like a good experiment to try.  If I can set it up I will post any
|> > noticable results (or lack thereof!) here.
|> 
|>     Cool.  Thanks!

I hope this is of some value.  I don't know how others look at it, but
Freenix aside, isn't the general idea to move as much news to as many
places as fast as possible??  Not having any money for this, I have to 
try other ways to accomplish my goal. (Of course, I would love to have
the money to set up a real news site.  I think it can be done with a lot
less resources than some of the sites I see.  And when I look at the
generally poor performance by some of the local ISP's who spend more on
one news machine than my departments entire annual budget, it almost
makes me cry.)

All the best.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.uofs.edu         |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   

Technical Details
Message-ID: <7fkoad$crr$1@info.cs.uofs.edu>
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: <m3vhf1q7y5.fsf@sgifford.tir.com> <7f5es0$66v$1@east44.supernews.com> <990418090056.AA26878@dojo.mi.org> <7fdeep$7me$1@east44.supernews.com> <990419063652.AA8296@dojo.mi.org> <FAFKu0.n29@spcuna.spc.edu> <brad-1904991242040001@brad.techos.skynet.be> <FAFq62.AJs@spcuna.spc.edu> <brad-1904991435180001@brad.techos.skynet.be> <7ffp0t$9c3$1@info.cs.uofs.edu> <brad-1904992017100001@brad.techos.skynet.be> <7fhu7m$irb$1@info.cs.uofs.edu> <brad-2004991654070001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <7fkoad$crr$1@info.cs.uofs.edu>
Subject: Re: Submitting to Freenix
Date: Wed, 21 Apr 1999 00:00:00 +0000
From: bill@cs.uofs.edu (Bill Gunshannon)
References: <m3vhf1q7y5.fsf@sgifford.tir.com> <7f5es0$66v$1@east44.supernews.com> <990418090056.AA26878@dojo.mi.org> <7fdeep$7me$1@east44.supernews.com> <990419063652.AA8296@dojo.mi.org> <FAFKu0.n29@spcuna.spc.edu> <brad-1904991242040001@brad.techos.skynet.be> <FAFq62.AJs@spcuna.spc.edu> <brad-1904991435180001@brad.techos.skynet.be> <7ffp0t$9c3$1@info.cs.uofs.edu> <brad-1904992017100001@brad.techos.skynet.be> <7fhu7m$irb$1@info.cs.uofs.edu> <brad-2004991654070001@brad.techos.skynet.be>
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: 469149949
X-Complaints-To: news@cs.uofs.edu
X-Trace: info.cs.uofs.edu 924705933 13179 134.198.175.122 (21 Apr 1999 14:45:33 GMT)
Organization: Computing Sciences Department, University of Scranton
NNTP-Posting-Date: 21 Apr 1999 14:45:33 GMT
Newsgroups: news.software.nntp