🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Tsar Barry BOFHwsma Tue, 07 Oct 1997 00:00
Re: Accuracy of Freenix Top 1000 (was Re: list of spam domains)
#22183
Author: Tsar Barry BOFHwsma
Date: Tue, 07 Oct 1997 00:00
40 lines
2359 bytes
On 7 Oct 1997, Iain Lea wrote:

> > you're interested in a high ranking Cyclone or NNTPRelay are the only
> > real choices...
> 
> Kind of makes one wonder how Joe Greco got into the top10 if thats
> the case (ie. he's running Diablo) ...

    Well, I could reveal JG's Dirty Dark Secret, but then I would *know*
that the Usenet Mafia will be hunting me down like a dog for being a
Traitor to the Cause.  However, if you look at other pseudo-sites in the
Top Ten, and look more closely at those articles, you might find a hint.

    (GACK!  The lights in this room suddenly went out!  Hello?)

    Anyway, my experience has been that sites which have switched over to
Diablo from some other high-performance software (including a well-tuned
INN), have dropped from providing me with a major source of articles, to
only giving me a mere handful.  So there's some sort of barrier to rapid
turnaround.  And not just seconds.  My articles can pass through two
nntpsend hops yet still be accepted by another site fed by Diablo.

    (Hey, I don't recall there being anyone else in this room... uh...)

    Diablo seems to be pretty good at sucking articles in, most of the
time, though I've seen some sites lag behind, but it also requires
some attention to tuning for efficiency, the way one needs to tune INN.
Haven't tried it myself yet though, so this is all just based on hearsay
and observing sites I'm feeding with INN/innfeed.

    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGH!!!!  IT'S THE USENET MAFIA!!
THEY'VE FOUND ME!  AND MY OFFER OF FREE BEER TO VISITORS TO THE INVEX
COMPUTER EXHIBITION HERE IN BRNO NEXT WEEK DOESN'T SEEM TO HELP!

Barry Bou*THUD*oooof
Y'know, my rankness could stand a bit of help from Jerry Spamzilla...


Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22162
Author: Jeff Garzik
Date: Tue, 07 Oct 1997 00:00
48 lines
2561 bytes
Tsar Barry BOFHwsma  <ag786@yfn.ysu.edu> wrote:
>    Anyway, my experience has been that sites which have switched over to
>Diablo from some other high-performance software (including a well-tuned
>INN), have dropped from providing me with a major source of articles, to
>only giving me a mere handful.  So there's some sort of barrier to rapid
>turnaround.  And not just seconds.  My articles can pass through two
>nntpsend hops yet still be accepted by another site fed by Diablo.


Actually this makes complete sense when you think about it.

The first slowdown is real-time feeding.  Diablo only opens a *single*
stream for real-time feeds.  It does a tail on the current batch file,
waiting for data on new articles at the end, and offering those
articles to the downstream site.


The second slowdown is in batch queue processing.  Once every five
minutes, the active batch file (used for real-time feeding) is given a
sequence number (1, 2, 3, ...) and stored on the batch queue.  Diablo
then starts up to N parallel feeder processes (1 stream per process)
to offer the articles listed in each batch file -- starting with the
oldest batch file.

It's easy to conceive a scenario where:  5,000 articles arrive in five
minutes; Diablo offers 1,000 of those articles to the downstream site,
and then the active batch file is rotated.  If there is any backlog,
the other 4,000 articles won't be sent until all the other backlog
is cleared out.

For a site with a rotation period of five minutes and a backlog of
ten batch files, those other 4,000 articles might not be offered for
twenty minutes or more.


Hacking Diablo to feed from the latest batch file to the earliest
might be a good idea -- it will have less of an adverse impact on
downstream sites' caches that way.

	Jeff


-- 
Often statistics are used as a drunken man uses lampposts -- for support
rather than illumination.

Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22176
Author: Matt Dillon
Date: Tue, 07 Oct 1997 00:00
75 lines
4381 bytes
:In article <61dl7g$gnb$1@havoc.gtf.gatech.edu>,
:Jeff Garzik  <jeff.garzik@spinne.com> wrote:
:>Tsar Barry BOFHwsma  <ag786@yfn.ysu.edu> wrote:
:>>    Anyway, my experience has been that sites which have switched over to
:>>Diablo from some other high-performance software (including a well-tuned
:>>INN), have dropped from providing me with a major source of articles, to
:>>only giving me a mere handful.  So there's some sort of barrier to rapid
:>>turnaround.  And not just seconds.  My articles can pass through two
:>>nntpsend hops yet still be accepted by another site fed by Diablo.
:>
:>
:>Actually this makes complete sense when you think about it.
:>
:>The first slowdown is real-time feeding.  Diablo only opens a *single*
:>stream for real-time feeds.  It does a tail on the current batch file,
:>waiting for data on new articles at the end, and offering those
:>articles to the downstream site.
:>
:>
:>The second slowdown is in batch queue processing.  Once every five
:>minutes, the active batch file (used for real-time feeding) is given a
:>sequence number (1, 2, 3, ...) and stored on the batch queue.  Diablo
:>then starts up to N parallel feeder processes (1 stream per process)
:>to offer the articles listed in each batch file -- starting with the
:>oldest batch file.
:>
:>It's easy to conceive a scenario where:  5,000 articles arrive in five
:>minutes; Diablo offers 1,000 of those articles to the downstream site,
:>and then the active batch file is rotated.  If there is any backlog,
:>the other 4,000 articles won't be sent until all the other backlog
:>is cleared out.

    Well, tailing the queue file doesn't really cost anything, and the
    realtime feed will migrate along with the queue file rename and do
    all 5000.  If the destination can keep up, a realtime feed is
    unlikely to get behind so I don't even think the single-process
    nature of the realtime feed gets in the way all that much.

    With rtflush, the article latency runs about 1 second.  Realtime without
    rtflush runs 5-10 seconds, and normal batch processing runs 5 minutes
    of latency.  I find that outgoing feeds to top-10 sites are extremely
    sensitive to latency mainly because one is reading from, say, #1 on the
    top-1000 and trying to write to, say, #2 on the top-1000 and competing
    against a direct feed from #1 to #2.  This means that #2 will almost
    always have the article ahead of me even with instantanious turnaround.
    Even a 5 second delay can result in #2 not accepting ANY articles.

    I've tested this with our BBN feed.  With realtime+rtflush (1 second
    latency), I actually push 4% of my articles to BBN even though BBN gets
    the same article one hop sooner directly from other sites.  If I use
    only realtime (5 second latency), I wind up pushing 0% of my articles
    to BBN.  If I hack the code and change the sleep() to a usleep(1000)
    to reduce the latency to 1 mS, I can push 6 to 8%, which is getting
    quite significant.  It means that I am beating out their direct feeds.

    I get the exact same behavior for maxwell, erols, and umich.  I also
    see this behavior with other well connected sites not in the top-10,
    such as Aimnet (verio).

    Personally, I see no reason to waste resources on trying to get the 
    latency down below a second.

:>Hacking Diablo to feed from the latest batch file to the earliest
:>might be a good idea -- it will have less of an adverse impact on
:>downstream sites' caches that way.
:>
:>	Jeff

    I've tried this but it doesn't really work well in practice.

						    -Matt


Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22194
Author: Ragnar Lonn
Date: Wed, 08 Oct 1997 00:00
33 lines
1944 bytes
In article <19971008120205.189$DC@newsreader.com>, curt@kcwc.com (Curt Welch) 
wrote:
>dillon@best.net (Matt Dillon) wrote:
>>     Personally, I see no reason to waste resources on trying to get the
>>     latency down below a second.
>
>Trying to get latency down below a second has nothing to do with providing
>a good news feed.  But it has everything to do with trying to get high
>on the top 1000 list.  And that is important for various reasons, but
>it doesn't make Usenet work any better.
>

Aint that the truth. It seems that everybody today is in the business of 
trying to raise their Freenix ranking and it's getting kind of absurd 
sometimes, the propagation delays you have to have in order to climb
a few steps on the list. The end users, for whom we're supposed to be
doing all this, won't notice any difference between 1 and 10 minutes
propagation delays to the server where they read their articles but still
people are hunting for second-small gains in order to go higher on that
"Top1000 resource-wasters" list :-)

I won't say I'm not the same of course... as long as I have the server 
capacity to spare I might aswell use it, that's my reasoning. And everyone
elses I guess :-)

  /Ragnar, Algonet/TNI





Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22209
Author: Curt Welch
Date: Wed, 08 Oct 1997 00:00
19 lines
1622 bytes
dillon@best.net (Matt Dillon) wrote:
>     Personally, I see no reason to waste resources on trying to get the
>     latency down below a second.

I (feed.newsreader.com) hit #204 on the freenix list using diablo with
the standard 5 minute queue time, no realtime feeds, no real users
(other than myself) and it's over a T1.

Trying to get latency down below a second has nothing to do with providing
a good news feed.  But it has everything to do with trying to get high
on the top 1000 list.  And that is important for various reasons, but
it doesn't make Usenet work any better.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22210
Author: Chris Sedore
Date: Wed, 08 Oct 1997 00:00
65 lines
3985 bytes
Ragnar Lonn wrote:
> 
> In article <19971008120205.189$DC@newsreader.com>, curt@kcwc.com (Curt Welch)
> wrote:
> >dillon@best.net (Matt Dillon) wrote:
> >>     Personally, I see no reason to waste resources on trying to get the
> >>     latency down below a second.
> >
> >Trying to get latency down below a second has nothing to do with providing
> >a good news feed.  But it has everything to do with trying to get high
> >on the top 1000 list.  And that is important for various reasons, but
> >it doesn't make Usenet work any better.
> >
> 
> Aint that the truth. It seems that everybody today is in the business of
> trying to raise their Freenix ranking and it's getting kind of absurd
> sometimes, the propagation delays you have to have in order to climb
> a few steps on the list. The end users, for whom we're supposed to be
> doing all this, won't notice any difference between 1 and 10 minutes
> propagation delays to the server where they read their articles but still
> people are hunting for second-small gains in order to go higher on that
> "Top1000 resource-wasters" list :-)
> 
> I won't say I'm not the same of course... as long as I have the server
> capacity to spare I might aswell use it, that's my reasoning. And everyone
> elses I guess :-)

Hey, I figure that I ought to maximize what I get for my $$ in
hardware.  I've got what now is a $4,000 machine handling ~300 incoming
connections, ~380 checks/second (last 4 days avg), and pushing 81
articles/second (last 4 days avg), and it is averaging 25% cpu
utilization.  I figure I can squeeze just a little more out before I've
gotten my first 90% of what the hardware can do (the first 90% is always
the easiest :).

After downtime, it will sustain 1200-1400 checks/sec (10 second
averages) and can do 800-1000 outgoing checks at the same time (at about
90% CPU).  I now catch up in at a 2:1 ratio: one hour of downtime
requires one half hour to get back to normal.  

This is what worrying about latency buys you.  If you worry about
latency, you worry about scaling.  Why?  Because low latency buys you
scalability.  Many of the same factors that affect latency ultimately
control scaling--I don't think that diablo's file based queuing will
scale as well as our single circular feed queue (either in number of
feeds or in article volume).  Someday I'd like to have a chance to see
what cyclone does, last time I talked to the fine folks at Highwind,
they were still doing article per file stuff.

In some ways, I'm sorry that I'm not in a spot where I could really push
the window on this.  I'd like to have a box that was supporting 500
feeds, or one that was pushing 10x current volume to 50, but we've gone
about as far as we're going.  Maybe I'll get that chance someday, or
maybe I'll get to try similar things with our reader code.

(Just so the record is straight, and as noted earlier, we don't push
binaries out (though we do receive them), but our local testing
indicates that they have a small impact on CPU utilization (ie turning
them on now would kill another 15-20% of our CPU, and bury our campus
T3).)

-Chris

Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22230
Author: Ragnar Lonn
Date: Thu, 09 Oct 1997 00:00
24 lines
1851 bytes
In article <343C28FD.7AB3@maxwell.syr.edu>, cmsedore@maxwell.syr.edu wrote:
>
>Hey, I figure that I ought to maximize what I get for my $$ in
>hardware.  I've got what now is a $4,000 machine handling ~300 incoming

Yeah well I guess that if you can get the same no of articles out
the door (and in) without introduced latency as with, then
by all means go for the 'without' :-)   And of course, like Jeff Garzik
mentioned, data is more likely to be cached in memory if latency
is low, possibly improving performance for other sites. I'm not 
complaining against logical software design decisions really, but 
against the general attitude of going out of ones way to improve 
latency in order to climb the list. 

The important thing is to transfer articles efficiently and reliably. If
lowering latency helps achieving that, then it is of course desirable.
You say low latency buys you scalability and maybe it does but I 
would've thought scalability at least wasn't dependent on latency.
Then again, I'm no expert on these matters :-)

  /Ragnar, Algonet/TNI

Re: Raising latency (was Re: Diablo feeder lag?)
#22232
Author: Jeff Garzik
Date: Thu, 09 Oct 1997 00:00
26 lines
1780 bytes
Jeff Garzik wrote:
> A more conservative delay is about seven minutes, which gives INN sites
> time to start up a copy of innxmit and send news, before your site
> offers to the remote peer.
> 
> Look at traceroutes...  Delay feeds over loaded links too.



I meant to conclude with...

I try to make Spinne a good network neighbor.  It's not about getting on
top of the Freenix list (although that is worth something to a
prospective customer or peer).  It's about providing an accurate feed,
while being as conservative as possible about bandwidth.

Express cancel feeds, aliasing out popular feeders (at peers' request),
feed delays for overseas or loaded links, not feeding "junk" articles;
these are all excellent tools for building a better, more solid Usenet.
-- 
Jeff Garzik				Fast and efficient news feeds
Spinne USENET News Service		   News tuning and consulting
http://www.spinne.com/usenet/		     Cyclone, Diablo, and INN

Re: Raising latency (was Re: Diablo feeder lag?)
#22234
Author: Sean Donelan
Date: Thu, 09 Oct 1997 00:00
20 lines
1726 bytes
In article <343D3C75.4FE58498@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> writes:
> A more conservative delay is about seven minutes, which gives INN sites
> time to start up a copy of innxmit and send news, before your site
> offers to the remote peer.

I do this with most of my feeds.  What's surprising isn't I'm not
in the top100 even though I exchange news with several of top10 machines;
but just how many articles I end up sending anyway.  I tend to view
USENET as a set of pools of connectivity.  Rather than trying to get
into the top10, I try to put a straw into various different pools
of connectivity.  The result is I end up passing articles from one
pool of connectivity to another which don't always have great connectivity
to the top10.

-- 
Sean Donelan, Data Research Associates, Inc, St. Louis, MO
  Affiliation given for identification not representation

Re: Diablo feeder lag? (was Re: Accuracy of Freenix Top 1000)
#22238
Author: Jeff Garzik
Date: Thu, 09 Oct 1997 00:00
36 lines
2439 bytes
Chris Sedore wrote:
> After downtime, it will sustain 1200-1400 checks/sec (10 second
> averages) and can do 800-1000 outgoing checks at the same time (at about
> 90% CPU).  I now catch up in at a 2:1 ratio: one hour of downtime
> requires one half hour to get back to normal.

> This is what worrying about latency buys you.  If you worry about
> latency, you worry about scaling.  Why?  Because low latency buys you
> scalability.  Many of the same factors that affect latency ultimately
> control scaling--I don't think that diablo's file based queuing will
> scale as well as our single circular feed queue (either in number of
> feeds or in article volume).

Low latency also means you have a better chance of being in a downstream
site's various caches.  Many spam filters (such as my own) cache the
last N articles for spam scanning, usually 1,000 or 2,000 or so.  Most
machines these days have a recently-received history cache, be it an
explicit one, or just the OS itself caching last-used pages of the
history file.  Reducing latency has a positive effect of both of these
types of caches.


> Someday I'd like to have a chance to see
> what cyclone does, last time I talked to the fine folks at Highwind,
> they were still doing article per file stuff.

I'm sure they would love to have maxwell convert to Cyclone.  :)
I don't really understand what "article per file" means in this case,
but in general Cyclone tends to not have bottlenecks like that.
-- 
Jeff Garzik				Fast and efficient news feeds
Spinne USENET News Service		   News tuning and consulting
http://www.spinne.com/usenet/		     Cyclone, Diablo, and INN

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