🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37075

Re: Submitting to Freenix

#37075
From: Bill Gunshannon
Date: Tue, 27 Apr 1999 00:00
104 lines
6121 bytes
In article <brad-2704991503430001@brad.techos.skynet.be>, brad@shub-internet.org (Brad Knowles) writes:
|> In article <7g24e7$ckh$1@info.cs.uofs.edu>, bill@cs.uofs.edu (Bill
|> Gunshannon) wrote:
|> 
|> > Well, I promised to return with more info on the effects of splitting
|> > in a few days all my feeds into "big" and "small" feeds. (in case
|> > anyone here actually cares!!)  So here it is.  The amount of outgoing
|> > news from my Diablo box has more than doubled!!  That's right, more than
|> > twice as much of what I offer is now being accepted by my peers.
|> 
|>     Out of curiosity, what pivot points did you choose for "big" versus "small"?

It varies depending on what the peer was taking from me in the first place.
(Obviously makes no sense to split at the 64K point if the peer doesn't take
anything over 48K)
Here's some examples:
      Max            Big                 Small
      No Limit       >64K                <64K
      No Limit       >48K                <48K   (This peer always seemed to have
                                                 more backlog than the one above.)
      16K            Only one queue
      No Limit       >64K                <64K    (This is my current norm.)
      64K            >32K                <32K
      256K           >48K                <48K
      1M             >40K                <40K
      1M             >64K                <64K    (This peer is always at max backlog.
                                                  Spliting queue resulted in 15 times
                                                  as many articles getting through
                                                  but backlog still remains.)

Nothing particularly scientific about it and I am sure with some tuning 
there are optimum settings.

|> 
|> > So then, now the big question.  Given the obvious improvement in 
|> > performance and the fact that it was immediately noticable, would
|> > this not be a good idea for USENET in general??
|> 
|>     If there were absolutely no side-effects, then yes I think this
|> probably would be a good idea for most folks to implement.

The only side-effect I have seen so far is a positive and not a negative.
My overall backlog has decreased.

|> 
|> >                                                  I have seen no
|> > adverse side effects.  No increase in load.  No change in incoming
|> > news performance.  Only an increase in my ability to get news further
|> > down the pipe.
|> 
|>     Did you see an increase in the number of dnewslink processes that were
|> running?  

Can't be.  I gave the "big" queue an entry of "n1" in my dnntpspool.ctl and
reduced the original "n" entry by one for the "small" queue.  So the max
number of possible open connections remained the same.  In actuality, I have
seen a large reduction in the number of dnewslink processes.  Because of the
constant state of backlog for most of my feeds they were always running with
the max number open.  Now, the "small" queue starts up, sends what it's got
and closes.  Thus for anytime other than at rollover time, the number is
smaller.

|>           Did you see an increase in the amount of memory that was being
|> used, versus how much was allocated for buffer cache?  

I really didn't look that close, but considering that I can never have more
processes running than I had before, I don't see how it could use more memory.
Most of the time it is probably using less because there are less processes.

|>                                                        What kinds of
|> choices did you make for default starting number of processes for the
|> "big" versus "small" queues, and how many processes did you let them build
|> up to as a maximum?

I allow 1-2 dnewslink for the "big" queue and 1-2 less than before for the 
"small" queue.  Maximum is the same as it always was.  Varies from a minimum
of 3 (1 big, 2 small) for one peer to a maximum of 5 (2 big, 3 small).
 
So far at least it is a totally win situation.  It would be interesting
if some other people could give it a try and see what effect it has for
them.  I imagine it will be more beneficial for small (read low budget)
operations like mine, but you never know.  

I can't explain why, but it seems that the latency increases depending
on the size of the message.  And no linearly either.  A quick look showed
that I have 12-17 times as many small messages as large messages and yet
I can push all of them through to most hosts in seconds where it takes
considerably longer to push the larger messages.  With the exception of
one peer (who takes a lot and is still perpetually backlogged) I am seeing
no backlog whatsoever on the "small" queues and no running backlog on the 
"big" queues.  This may defy logic (it seems like I am moving more data
in less time) but the facts are indisputable.  Who knows, maybe further
breakdowns can result in even better perormance.  I am sure with some
tuning the optimum configuration can be found.

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: <7g4soa$p7e$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: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <7g4soa$p7e$1@info.cs.uofs.edu>
Subject: Re: Submitting to Freenix
Date: Tue, 27 Apr 1999 00:00:00 +0000
From: bill@cs.uofs.edu (Bill Gunshannon)
References: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@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: 471545215
X-Complaints-To: news@cs.uofs.edu
X-Trace: info.cs.uofs.edu 925234762 25838 134.198.175.122 (27 Apr 1999 17:39:22 GMT)
Organization: Computing Sciences Department, University of Scranton
NNTP-Posting-Date: 27 Apr 1999 17:39:22 GMT
Newsgroups: news.software.nntp