🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
114 messages
114 total messages Page 2 of 3 Started by mouse Sat, 25 Mar 2000 00:00
Page 2 of 3 • 114 total messages
Re: News routing software
#45315
Author: Steve Walker
Date: Tue, 28 Mar 2000 00:00
43 lines
2744 bytes
On Tue, 28 Mar 2000 03:59:52 GMT, mouse@NOSPAM.nibble.net (Steve
Walker) wrote:

>On 27 Mar 2000 21:44:58 GMT, davidsen@tmr.com (bill davidsen) wrote:
>
>>|     If you can't do the same with your program, you're going to have a
>>| hard time successfully challenging them.
>>
>>  I don't think that's the only issue, having followed the description
>>thus far. But we will see what transpires after the program matures.
>
>My goal was to write a news router for myself.  I didn't like any of
>the existing software so my only choice was to write my own.  To speed
>up the debuging process I asked if a few people would try it and let
>me know what they observed.  I've received a lot of helpful feedback,
>but I must also say a lot of the discusion has been 

I'm sorry about the unfinished message.  That message got posted
before I finished it.  What I started saying was I a lot of the
current discussion seems to about personal opinion of what software,
inn or diablo, is better.  A more helpful discussion would be what
features are liked the most in each package.  No software package is
perfect, but normally each package has it's strengths.  What is the
best feature/ability of each?  Also I've noticed that most people
agree that NNTPRelay is the fastest news router around.  How do people
come to that conclusion?  Is it just the fact the #1 Freenix spot is
held by a NNTPRelay machine?  Are there any good benchmark tools to
test an nntp server?  Has there been any official public tests of each
major software package?

Also I'm wondering on why the need for speed?  After a certain point
excess speed seems to be pointless.  Is the only reason to get a
better Freenix spot?  If a news hub sends every article it receives to
each of it's peers does it matter that it took 3 seconds compared to
2?

Thanks,
Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net


Re: News routing software
#45318
Author: Steve Walker
Date: Tue, 28 Mar 2000 00:00
23 lines
1504 bytes
On Tue, 28 Mar 2000 23:20:00 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

>In article <38e9f672.1258337254@news.nntpserver.com>, 
>mouse@NOSPAM.nibble.net (Steve Walker) wrote:
>
>> What does it do better?
>
>    Distributed caching reader systems that can be scaled to handle 
>millions of users, and all the associated things that go along with that.

The orginal message was talking about a transit server.  No one has
millions of peers (that would be a very large config file!).  Why does
it make a better transit only server?  

Thanks,
Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net



Re: News routing software
#45320
Author: Ray Rocker
Date: Tue, 28 Mar 2000 00:00
30 lines
1686 bytes
In article <38dc7c3a$1_1@news.nntpserver.com>,
 <mouse@nospam.nibble.net> wrote:
>Hello everyone,
>
>After many weeks of trying to get INN to run correctly as a news router 
>under Linux I gave up and started writing my own software.  btw- I also 
>tried Cyclone and I liked everything except the $15,000.00 price tag.  
>I now have a working beta version and I'm wondering if anyone in this 
>group would like try it out and give suggestions and/or bug reports.  
>
>The end product will support reader access, but for now it's just a router.

[linefeeds added by hand...yeesh]

I haven't read this thread out and am sure someone else will have
mentioned it :), but have you considered Diablo? It's free and
positively rocks for transit. I have a Linux box running Diablo
which is taking in 100+ GB some days, without breaking a sweat.

I can't speak for Diablo's reader side though, never tried it.

--
Ray Rocker
rocker@datasync.com





Re: News routing software
#45321
Author: Brad Knowles
Date: Tue, 28 Mar 2000 00:00
34 lines
2451 bytes
In article <8bolap$586$1@newssvr02.news.prodigy.com>, davidsen@tmr.com 
(bill davidsen) wrote:

>   Matt said some time ago that absolute minimum time article in to
> article out was not his goal, and I believe him. I also played with the
> realtime feed stuff and couldn't make it as fast as INN, looked at the
> code and decided it was not open to casual improvement (i.e. without
> changing the method rather than polishing the implementation).

    I believe that there have been improvements in this area since, and 
I certainly hope to implement further improvements in this area myself.

>   And it just doesn't keep all the logs I want to wave at management
> types from time to time to keep them happy.

    It now logs *far* more information (configurable on a per-feed 
basis) than you could ever possibly want, so this is no longer an issue.

>   As a transit machine it works well, but not quite as well as INN, at
> least in my experience.

    People who are used to INN will probably find it adequate for their 
needs, but with the improvements that have recently (and 
not-so-recently) been made, I believe that Diablo is a superior news 
transit and news spool server.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45322
Author: bill davidsen
Date: Tue, 28 Mar 2000 00:00
41 lines
2819 bytes
In article <brad-B0AA7C.19591028032000@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:
| In article <8bokoq$54e$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
| (bill davidsen) wrote:
|
| >   I don't know what you mean by "Linux threads, do you?" You have your
| > option of two versions of pthreads, one which runs at user level and one
| > which uses kernel threads. Is there someone where else to do context
| > switches?
|
|     Threading support is still not as good as it should be.  Matt is in
| the process of eliminating the BGL in FreeBSD 5.0-CURRENT, and going to
| a finer-grained SMP locking scheme, but that just provides an
| environment where threading could successfully be better supported, and
| doesn't actually implement the improved threading support itself.

  The 2.0 Linux kernels were only a tiny step from the "single lock'
model, while the 2.2 kernels do SMP quite well, although there are some
serious worst cases which don't seem a problem in real life. The 2.3
kernel has done much better, and a lot of stability problems have been
addressed as well. That isn't to say that any kernel just being released
from beta won't have some learning experiences, but I think the
performance for news will be about as good as it gets, certainly it
seems to be as fast as Solaris or UNIXware with two processors.

|     We've still got a ways to go.

  Everybody does. At one point Linux was behind BSD in stability,
network performance, and SMP support. I don't see any of that as the
case anymore, but BSD has some networking advantge in that Linux
reinvents the whole networking structure every major release and the
aplications all have to be redeveloped.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: News routing software
#45326
Author: Brad Knowles
Date: Tue, 28 Mar 2000 00:00
25 lines
2015 bytes
In article <38e9f672.1258337254@news.nntpserver.com>, 
mouse@NOSPAM.nibble.net (Steve Walker) wrote:

> What does it do better?

    Distributed caching reader systems that can be scaled to handle 
millions of users, and all the associated things that go along with that.

    IMO, it's easier to manage as a news peering server, it is very 
robust, it can serve history and overview data from local disk based on 
a header-only feed, and it can cache articles locally from any number of 
back-end servers located anywhere in the world (all they have to handle 
is article retrieval via "ARTICLE <MESSAGE-ID>").


    That's about all I can think of off the top of my head.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45330
Author: News Admin at news.maxwell.syr.e...
Date: Tue, 28 Mar 2000 00:00
66 lines
3885 bytes

On Tue, 28 Mar 2000, Steve Walker wrote:

> 
> 
> On Tue, 28 Mar 2000 03:59:52 GMT, mouse@NOSPAM.nibble.net (Steve
> Walker) wrote:
> 
> >On 27 Mar 2000 21:44:58 GMT, davidsen@tmr.com (bill davidsen) wrote:
> >
> >>|     If you can't do the same with your program, you're going to have a
> >>| hard time successfully challenging them.
> >>
> >>  I don't think that's the only issue, having followed the description
> >>thus far. But we will see what transpires after the program matures.
> >
> >My goal was to write a news router for myself.  I didn't like any of
> >the existing software so my only choice was to write my own.  To speed
> >up the debuging process I asked if a few people would try it and let
> >me know what they observed.  I've received a lot of helpful feedback,
> >but I must also say a lot of the discusion has been 
> 
> I'm sorry about the unfinished message.  That message got posted
> before I finished it.  What I started saying was I a lot of the
> current discussion seems to about personal opinion of what software,
> inn or diablo, is better.  A more helpful discussion would be what
> features are liked the most in each package.  No software package is
> perfect, but normally each package has it's strengths.  What is the
> best feature/ability of each?  Also I've noticed that most people
> agree that NNTPRelay is the fastest news router around.  How do people
> come to that conclusion?  Is it just the fact the #1 Freenix spot is
> held by a NNTPRelay machine?  Are there any good benchmark tools to
> test an nntp server?  Has there been any official public tests of each
> major software package?

I don't know of any "official public tests" that have been published.  My
own benchmarking of NNTPRelay over a year ago showed that 1ms clock
resolution was insufficient to measure latency on a pentium pro class
machine.
 
> Also I'm wondering on why the need for speed?  After a certain point
> excess speed seems to be pointless.  Is the only reason to get a
> better Freenix spot?  If a news hub sends every article it receives to
> each of it's peers does it matter that it took 3 seconds compared to
> 2?

It mattered more when we were going through rapid growth in the # of
articles/day we had to process.  Pre-CNFS INN couldn't hack it, Diablo 
and NNTPRelay were just maturing.

I've played with writing news software for FreeBSD (use anon cvs to grab
it at cvs.maxwell.syr.edu anoncvs/anoncvs retreive urelay)--I grew tired
of trying to work with primitive thread and async io implementations (yes,
I tried Solaris, and Linux, they both are (were, last I tried them) about
a year behind NT).  The async io in FreeBSD is actually useful for
news/network stuff in 4.0 mostly because I submitted patches to make it so
as part of writing the above news software.

(Note: the stuff at cvs.maxwell.syr.edu is not production, is somewhat
ugly, and I advise you to use it at your own risk.)

-Chris


Re: News routing software
#45331
Author: Steve Walker
Date: Tue, 28 Mar 2000 00:00
15 lines
1461 bytes
On 27 Mar 2000 21:44:58 GMT, davidsen@tmr.com (bill davidsen) wrote:

>|     If you can't do the same with your program, you're going to have a
>| hard time successfully challenging them.
>
>  I don't think that's the only issue, having followed the description
>thus far. But we will see what transpires after the program matures.

My goal was to write a news router for myself.  I didn't like any of
the existing software so my only choice was to write my own.  To speed
up the debuging process I asked if a few people would try it and let
me know what they observed.  I've received a lot of helpful feedback,
but I must also say a lot of the discusion has been 

Re: News routing software
#45332
Author: Brad Knowles
Date: Tue, 28 Mar 2000 00:00
24 lines
2006 bytes
In article <8bokoq$54e$1@newssvr02.news.prodigy.com>, davidsen@tmr.com 
(bill davidsen) wrote:

>   I don't know what you mean by "Linux threads, do you?" You have your
> option of two versions of pthreads, one which runs at user level and one
> which uses kernel threads. Is there someone where else to do context
> switches?

    Threading support is still not as good as it should be.  Matt is in 
the process of eliminating the BGL in FreeBSD 5.0-CURRENT, and going to 
a finer-grained SMP locking scheme, but that just provides an 
environment where threading could successfully be better supported, and 
doesn't actually implement the improved threading support itself.

    We've still got a ways to go.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45334
Author: Russ Allbery
Date: Tue, 28 Mar 2000 00:00
14 lines
1290 bytes
bill davidsen <davidsen@tmr.com> writes:

> There are some ifdefs for pthreads, Clayton said they weren't
> functional, and I haven't looked more. There's some THREADFLAGS stuff in
> configure, and I haven't looked hard at what it might do, other than
> some work being done in that area. I have no idea how much if any code
> is behind the definitions ;-)

Practically none.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: News routing software
#45335
Author: bill davidsen
Date: Tue, 28 Mar 2000 00:00
28 lines
2047 bytes
In article <38e72ebc.1207203659@news.nntpserver.com>,
Steve Walker <mouse@NOSPAM.nibble.net> wrote:

| Also I'm wondering on why the need for speed?  After a certain point
| excess speed seems to be pointless.  Is the only reason to get a
| better Freenix spot?  If a news hub sends every article it receives to
| each of it's peers does it matter that it took 3 seconds compared to
| 2?

  Doesn't matter a bit, and if it take 2-3 sec the article won't be sent
anywhere, all your peers will have it already. Now 4 vs. 5ms makes a
difference. Note that the speed of light really does start to make a
difference here, I have some slow transit servers and my own local
articles sometimes go out of a fast transit server and back to another
site I feed direct before I can get the article offered by the slow
server.

  Obviously upgrading in that area is on my plate, but adding capacity
for the push from 56k to DSL is a larger issue today.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: News routing software
#45340
Author: bill davidsen
Date: Tue, 28 Mar 2000 00:00
33 lines
2340 bytes
In article <brad-5F04F8.23200028032000@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:

|     Distributed caching reader systems that can be scaled to handle
| millions of users, and all the associated things that go along with that.
|
|     IMO, it's easier to manage as a news peering server, it is very
| robust, it can serve history and overview data from local disk based on
| a header-only feed, and it can cache articles locally from any number of
| back-end servers located anywhere in the world (all they have to handle
| is article retrieval via "ARTICLE <MESSAGE-ID>").

  Is Diablo still fragemented? At one point there was the base version
by Matt, the one with a lot of neat hacks by JG, and another version by
{someone} which had some other useful changes.

  There was talk of combining them, but I confess that I kind of lost
track when I stopped using Diablo. My impression at that time was that
it was like BSD in having multiple versions, some of which were more
documented or available than others.

  If the caching server stuff works well I'll finish generating a header
only feed from INN to keep the caches happy. Typhoon is a neat product,
but more than a tad costly, and no source.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: News routing software
#45341
Author: Kjetil Torgrim Homme
Date: Tue, 28 Mar 2000 00:00
15 lines
1349 bytes
[Steve Walker]

>   If a news hub sends every article it receives to each of it's
>   peers does it matter that it took 3 seconds compared to 2?

You meant milliseconds, didn't you?

Half of the (text) articles received here arrived in less than one
second from the time it was posted.  And we're only 500 or so on
Freenix...


Kjetil T.

Re: News routing software
#45343
Author: bill davidsen
Date: Tue, 28 Mar 2000 00:00
24 lines
1833 bytes
In article <yl1z4whtre.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| bill davidsen <davidsen@tmr.com> writes:
|
| > There is code in the snapshot for pthreads, but I have always believed
| > that if the author doesn't think it works, it doesn't.
|
| In INN?  There's some random wierd support stuff that Clayton merged in,
| and some configure probes, but there isn't any actual code.  Yet, anyway.

  There are some ifdefs for pthreads, Clayton said they weren't
functional, and I haven't looked more. There's some THREADFLAGS stuff in
configure, and I haven't looked hard at what it might do, other than
some work being done in that area. I have no idea how much if any code
is behind the definitions ;-)

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: News routing software
#45345
Author: Curt Welch
Date: Tue, 28 Mar 2000 00:00
71 lines
4227 bytes
mouse@NOSPAM.nibble.net (Steve Walker) wrote:
> On Tue, 28 Mar 2000 03:59:52 GMT, mouse@NOSPAM.nibble.net (Steve
> Walker) wrote:
>
> >On 27 Mar 2000 21:44:58 GMT, davidsen@tmr.com (bill davidsen) wrote:
> >
> >>|     If you can't do the same with your program, you're going to have
> >>| a hard time successfully challenging them.
> >>
> >>  I don't think that's the only issue, having followed the description
> >>thus far. But we will see what transpires after the program matures.
> >
> >My goal was to write a news router for myself.  I didn't like any of
> >the existing software so my only choice was to write my own.  To speed
> >up the debuging process I asked if a few people would try it and let
> >me know what they observed.  I've received a lot of helpful feedback,
> >but I must also say a lot of the discusion has been
>
> Also I've noticed that most people
> agree that NNTPRelay is the fastest news router around.  How do people
> come to that conclusion?  Is it just the fact the #1 Freenix spot is
> held by a NNTPRelay machine?

Not _a_ NNTPRelay machine, but _the_ NNTPRelay machine.  It was written buy
the guy that runs that machine (right?), and I'm assuming his #1 goal in
writting the package was to get to that spot.

Fast software is only half of what it takes to get that.  The right
peering strategy along with the right peers is half the work as well.
For example, it's best if you don't mess with any large articles if
you want to get in the top 10.

> Are there any good benchmark tools to
> test an nntp server?  Has there been any official public tests of each
> major software package?

Not that I know of.  But lots of people run their own tests either from
simple experience or for the purpose of evaluating options.

You will also find that all the different news packages use slightly
different strategies which can interact in strange ways to produce varying
results depending on who's receiveing and who's sending and what type of
network you are dealing.  It's not as simple of A is faster than B.

> Also I'm wondering on why the need for speed?

Dick Size.

> After a certain point
> excess speed seems to be pointless.  Is the only reason to get a
> better Freenix spot?  If a news hub sends every article it receives to
> each of it's peers does it matter that it took 3 seconds compared to
> 2?

Article latency when passing though a server is only important for getting
higher freenix ratings.  It's not that important in terms of quality of a
news server.  And there are a number of "games" you can play in a server
that make it better at freenix, but worse at being a good usenet server.
So pushing Freenix performance too far is actually dangerous and bad for
Usenet.

But performance is very important.  The better the software performs, the
less often you have to upgrade, and the more money you save when buying new
hardware. Or, the faster your machine can catch up from downtime, or the
more users it can support etc.

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

Re: News routing software
#45352
Author: Steve Walker
Date: Tue, 28 Mar 2000 00:00
21 lines
1223 bytes
On Tue, 28 Mar 2000 19:56:38 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

>
>    People who are used to INN will probably find it adequate for their 
>needs, but with the improvements that have recently (and 
>not-so-recently) been made, I believe that Diablo is a superior news 
>transit and news spool server.

What does it do better? 

Thanks,
Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net





Re: News routing software
#45349
Author: Sven Paulus
Date: Wed, 29 Mar 2000 00:00
52 lines
2809 bytes
Brad Knowles <brad@shub-internet.org> wrote:
|>     It's much easier to manage, it's easy to set up a variety of 
|> configuration possibilities depending on what the remote peer 
|> wants/needs (can they support CHECK/TAKETHIS or do they need IHAVE,

Supported by innfeed (innfeed.conf: streaming)

|> do they want a time-delayed feed

Does Diablo offer real time-delayed feeds, in a way that an article is
offered to the peer exactly n minutes after it was received? Or does
Diablo just send a bulk of articles every n minutes like INN does when
using innxmit?

|> how many streams can I open to them

Supported by innfeed (innfeed.conf: max-connections)

|> how large should I allow the backlog to that site to get

Supported by innfeed (innfeed.conf: backlog-highwater)

|> how do I break down articles by their size or what newsgroup(s) they are 
|> posted/cross-posted to

Supported by innd (newsfeeds: flags < and >, newsgroup-patterns
including @-exclusions).

|> do they require that I peer with them on a non-standard port

Supported by innfeed (innfeed.conf: port-number)

|> are they part of our shared network and therefore we 
|> should have a different path alias that we add to any articles we 
|> receive from them versus our peers that aren't part of our shared 
|> network, etc...).

Hm, you add different path-entries depending on the post you receive
the articles from? I can't see a need for this. If it's only about
adding a common path-element once on different servers, this is
supported by innd (inn.conf: pathalias).

|> There's stuff in here that INN still can't do, and even things that 
|> Cyclone/Typhoon can't do or can't do easily.  Do you need any more?

Yes, please. diablo does path verification, AFAIR, but there is a nice
patch for innd by Andrew Gierth for that (why isn't it included yet
into INN-2.3?)

Sven

Re: News routing software
#45358
Author: Curt Welch
Date: Wed, 29 Mar 2000 00:00
33 lines
2346 bytes
Mike O'Connor <mjo@dojo.mi.org> wrote:
> In article <20000329120503.561$xL@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
> :> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
> :> transit server with a mostly-unblemished innfeed.  I've been getting
> :> everything, sans binaries and >250k articles.
> :
> :Sure, that hardly counts as a feed.  Take out all the binaries
> :and what you have left doesn't make a modern server break a sweat.
>
> I was talking about at the time...  Chris asserted that INN couldn't
> handle the # of articles.  I don't think that's the issue, especially
> not then.

Yeah, the last (traditional spool) INN machine I ran had 12 7200 rpm SCSI
drives and would have had problems keeping up with your feed.  If the file
system isn't optimized for creating and looking up all those files, it
really limits what you can do.

Your system seems to be doing a lot better than most I've seen.

> Yeah, but there are some sites that are high on Freenix because they
> actually spread the binaries and do so well.

I'd really like to see someone put together a freenix like system based
on bytes moved instead of articles.  It would be interesting to see that
list.

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

Re: News routing software
#45361
Author: Brad Knowles
Date: Wed, 29 Mar 2000 00:00
40 lines
2838 bytes
In article <000329132356.AA25506@dojo.mi.org>, Mike O'Connor 
<mjo@dojo.mi.org> wrote:

> Am I the last person running a traditional news spool?  :)

    Nope, we're running it too -- at least, on our news spool server.

> My point: Current INN 1.x with traditional news spools _could_ and for
> the most part, still can hack it.

    [ ... deletia ... ]

>        I don't believe that the performance of SGI's XFS filesystem
> doesn't/couldn't have had parallels in some of the other OSes, and I
> have never run with terribly modern disk technology (though I had to
> upgrade the 6 2GB disks to slightly-less-old 4GB disks because I had
> a hard time scraping up old 2GB disks!)

    Actually, SGI's XFS is pretty special.  It is my understanding that 
it is a log-structured extents-based journaling filesystem with hashed 
directories.  This beats out the most modern filesystems available on 
any other platform I know of, including DECompaq's Digital Unix/Tru64 
AdvFS which is also a log-structured extents-based journaling filesystem 
-- SGI still has the directory hashing, which enables them to handle 
hundreds of thousands of files in a single directory with virtually no 
additional overhead at all, whereas all other filesystems I know of 
start crapping out at more than a thousand files in a directory because 
you start getting into too many indirect and double-indirect blocks.

    If this was the only criteria you were looking at, then SGI would 
make an excellent news spool or mail server.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45364
Author: Bill Cole
Date: Wed, 29 Mar 2000 00:00
32 lines
2153 bytes
In article <8brdsh$nen$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:

> In article <38e72ebc.1207203659@news.nntpserver.com>,
> Steve Walker <mouse@NOSPAM.nibble.net> wrote:
> 
> | Also I'm wondering on why the need for speed?  After a certain point
> | excess speed seems to be pointless.  Is the only reason to get a
> | better Freenix spot?  If a news hub sends every article it receives to
> | each of it's peers does it matter that it took 3 seconds compared to
> | 2?
> 
>   Doesn't matter a bit, and if it take 2-3 sec the article won't be sent
> anywhere, all your peers will have it already. 

Just a note of scope for that statement: the above is only true if you are
in the upper part of the Freenix DSW. 

Case in point: I have 6 feeds and a small server. In the past three hours
my peers have accepted from me exactly 1/3 as many articles as I have
received, including those in  groups that I suck from a single feed but do
not ever pass along.   It is literally impossible for my server to pass
along an article in under 1 second, and very unlikely for it to ever pass
along an article in under 1 minute.

-- 
Bill Cole, Geek at large
I was looking for a new job, but that's on hold at the moment...  
See: http://sc1.scconsult.com/~bill/resume.html for a resume and more
4671st at Freenix!!! I'm moving up FAST!

Re: News routing software
#45366
Author: Miquel van Smoorenburg
Date: Wed, 29 Mar 2000 00:00
20 lines
1579 bytes
In article <Pine.BSF.4.05.10003282045310.80591-100000@qwerty.maxwell.syr.edu>,
News Admin at news.maxwell.syr.edu <news@maxwell.syr.edu> wrote:
>I've played with writing news software for FreeBSD (use anon cvs to grab
>it at cvs.maxwell.syr.edu anoncvs/anoncvs retreive urelay)

$ ping cvs.maxwell.syr.edu
PING cvs.maxwell.syr.edu (128.230.104.200): 56 data bytes

--- cvs.maxwell.syr.edu ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss

Slashdot effect ? ;)

Mike.
-- 
Windows never had any potential for soundness or beauty. If you decide to
build a motorcycle, and you start with a bathtub, no good will ever come of it. 
	-- Anonymous Coward

Re: News routing software
#45368
Author: Brad Knowles
Date: Wed, 29 Mar 2000 00:00
30 lines
2556 bytes
In article <38eb21d9.1269450604@news.nntpserver.com>, 
mouse@NOSPAM.nibble.net (Steve Walker) wrote:

> The orginal message was talking about a transit server.  No one has
> millions of peers (that would be a very large config file!).  Why does
> it make a better transit only server?

    It's much easier to manage, it's easy to set up a variety of 
configuration possibilities depending on what the remote peer 
wants/needs (can they support CHECK/TAKETHIS or do they need IHAVE, do 
they want a time-delayed feed, how many streams can I open to them, how 
large should I allow the backlog to that site to get, how do I break 
down articles by their size or what newsgroup(s) they are 
posted/cross-posted to, do they require that I peer with them on a 
non-standard port, are they part of our shared network and therefore we 
should have a different path alias that we add to any articles we 
receive from them versus our peers that aren't part of our shared 
network, etc...).

    There's stuff in here that INN still can't do, and even things that 
Cyclone/Typhoon can't do or can't do easily.  Do you need any more?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45369
Author: Russ Allbery
Date: Wed, 29 Mar 2000 00:00
14 lines
1532 bytes
Sven Paulus <sven@karlsruhe.org> writes:

> Yes, please. diablo does path verification, AFAIR, but there is a nice
> patch for innd by Andrew Gierth for that (why isn't it included yet into
> INN-2.3?)

Pending a rewrite of the header parsing code; that stuff is pretty ugly
right now.  It'll definitely be in 2.4, and probably generalized to
support the new USEFOR syntax if one wishes.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: News routing software
#45371
Author: Mike O'Connor
Date: Wed, 29 Mar 2000 00:00
87 lines
4571 bytes
In article <20000329120503.561$xL@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
:> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
:> transit server with a mostly-unblemished innfeed.  I've been getting
:> everything, sans binaries and >250k articles.
:
:Sure, that hardly counts as a feed.  Take out all the binaries
:and what you have left doesn't make a modern server break a sweat.

I was talking about at the time...  Chris asserted that INN couldn't
handle the # of articles.  I don't think that's the issue, especially
not then.

:> At the time you were
:> talking about --- 1-2 years ago -- they didn't constitute a huge # of
:> articles.  I'm currently in the top 100 on Freenix.
:
:If you want to move up Freenix, just drop the binaries.  I've been thinking
:about setting up a separate feed box to do just that.  I was thinking
:of calling it bigdick.newsreader.com. :)

Yeah, but there are some sites that are high on Freenix because they
actually spread the binaries and do so well.  If you think I'm chasing
Freenix running a traditional spool, you're nuts.  :)

:> It's not because
:> I have local users generating tons of content, use the same bangpath
:> on multiple servers, have monstrous bandwidth or spindles, etc.  I
:> keep most everything in my spool for three days
:
:A _full_ 3 days?  Wow.  That's retention. :)

For one of two main transit servers and a couple internal servers that
crossfeed each other, that seems reasonable.  Unlike most feeds, if I
had a peer that was out for a day, I could actually backfeed.  :)

:> My point: Current INN 1.x with traditional news spools _could_ and for
:> the most part, still can hack it.
:
:Sure, if you reduce your feed to 1992 levels, traditional spool format
:is still great.

A non-binaries feed is about an order of magnitude more than 1992
levels, and probably larger size than the historical norm at that time
(simply because of some of the foreign language encodings).

:Ok, for the fun of it I tried an experiment.  I've got a 5 year old Pentium
:60 Mhz system sitting next to me here.  It's only got 32MB of memory.  It
:normally runs Win95, but on a second 1GB IDE drive is a copy of FreeBSD.
:
:In less than 15 minutes, I booted it up, installed my server on it (with
:a huge 100MB spool :)), and pointed a *,!alt.binaries,!>250K feed at
:it.
:
:It's seeing about 8-10 articles per second, and about 1 to 2 MB of data per
:minute.  So the 100MB spool gives a retention of an hour or so.  A 10GB
:disk would give you something like 4 to 5 days of retention for that feed.
:The bandwidth is less than 200 Kbps. (just a litte too much for ISDN but
:a drop in the bucket for an ADSL line).

I keep three days and have plenty of space left over for bursts.  

:And that old P60 with 32MB of memory is only using up 20% of it's CPU to
:deal with that feed and less than 4 MB of memory. (but memory usage
:would grow a lot as the spool expanded).

There gets to be considerably more thrasing as there are more articles
and as you start feeding out a few million articles per day and having
dozens of feeders hit you.  

:You could buy and old used $25 PC, add some memory and a new disk for a few
:hundred dollars, and upgrade your server tomorrow for probably less than
:$500.  Gee I wish news was that easy today.  Now I've got to get back to
:work and order that new tranist box to deal with a "real" feed....

I'd prefer to think of the binaries, the ostensible news groups that
no one actually reads, as more a surreal feed than anything.  Or at
least, an unrealistic use of bandwidth.  

Oh well...

--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: News routing software
#45372
Author: Brendan Hahn
Date: Wed, 29 Mar 2000 00:00
13 lines
1517 bytes
Brad Knowles <brad@shub-internet.org> wrote:
>-- SGI still has the directory hashing, which enables them to handle 
>hundreds of thousands of files in a single directory with virtually no 
>additional overhead at all, whereas all other filesystems I know of 
>start crapping out at more than a thousand files in a directory because 
>you start getting into too many indirect and double-indirect blocks.

XFS directories are B-trees (some variant), not hashes.  The point still
holds, of course.

bhahn@transoft.mmangle.net   <-- unmangle address to reply

Re: News routing software
#45375
Author: Brad Knowles
Date: Wed, 29 Mar 2000 00:00
21 lines
1660 bytes
In article <8bsue3$e08$1@enterprise.cistron.net>, miquels@cistron.nl 
(Miquel van Smoorenburg) wrote:

> $ ping cvs.maxwell.syr.edu
> PING cvs.maxwell.syr.edu (128.230.104.200): 56 data bytes
> 
> --- cvs.maxwell.syr.edu ping statistics ---
> 6 packets transmitted, 0 packets received, 100% packet loss
> 
> Slashdot effect ? ;)

    Firewalled?  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45376
Author: Russell Vincent
Date: Wed, 29 Mar 2000 00:00
17 lines
1606 bytes
bill davidsen <davidsen@tmr.com> wrote:
>   There was talk of combining them, but I confess that I kind of lost
> track when I stopped using Diablo. My impression at that time was that
> it was like BSD in having multiple versions, some of which were more
> documented or available than others.

They are combined (with lots of extra features) and a release is due out
Real Soon Now. Just a couple of cleanups, better docs and a master
download site (cvsup, http and ftp) to prepare - all almost complete.
Almost certainly within the next few weeks for the beta version. I am
aiming for a similar development model to INN (-current and -stable)
in the long run.

 -Russell


Re: News routing software
#45377
Author: Russ Allbery
Date: Wed, 29 Mar 2000 00:00
28 lines
1997 bytes
Mike O'Connor <mjo@dojo.mi.org> writes:

> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
> transit server with a mostly-unblemished innfeed.  I've been getting
> everything, sans binaries and >250k articles.  At the time you were
> talking about --- 1-2 years ago -- they didn't constitute a huge # of
> articles.  I'm currently in the top 100 on Freenix.

[...]

> (Yes, CPU has actually been a limiting factor for me -- it's a 4-CPU SGI
> R4000 Challenge, but I only permit innd and innfeed to run on a
> particular reserved CPU as the other 3 CPUs are busy :) ).  The rev of
> IRIX I ran didn't have a noatime mount at the time you were talking.

You're running IRIX, and therefore XFS.  That's a big part of it.

> I don't believe that the performance of SGI's XFS filesystem
> doesn't/couldn't have had parallels in some of the other OSes,

XFS is pretty amazing, actually.  It's probably the best currently
available file system.  And more to the point, it's fast for applications
with specifically the profile of news.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: News routing software
#45381
Author: Mike O'Connor
Date: Wed, 29 Mar 2000 00:00
47 lines
3293 bytes
In article <Pine.BSF.4.05.10003282045310.80591-100000@qwerty.maxwell.syr.edu>,
News Admin at news.maxwell.syr.edu <news@maxwell.syr.edu> wrote:
:> Also I'm wondering on why the need for speed?  After a certain point
:> excess speed seems to be pointless.  Is the only reason to get a
:> better Freenix spot?  If a news hub sends every article it receives to
:> each of it's peers does it matter that it took 3 seconds compared to
:> 2?
:
:It mattered more when we were going through rapid growth in the # of
:articles/day we had to process.  Pre-CNFS INN couldn't hack it, Diablo 
:and NNTPRelay were just maturing.

Am I the last person running a traditional news spool?  :)  

I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
transit server with a mostly-unblemished innfeed.  I've been getting
everything, sans binaries and >250k articles.  At the time you were
talking about --- 1-2 years ago -- they didn't constitute a huge # of
articles.  I'm currently in the top 100 on Freenix.  It's not because
I have local users generating tons of content, use the same bangpath
on multiple servers, have monstrous bandwidth or spindles, etc.  I
keep most everything in my spool for three days so it's not like I'm
babysitting of the filesystem preventing any one directory from being
"too large".  Heck, I can't even do much spam filtering that would
lighten the load on the spindles because the 8-year-old CPU I use for
news is overwhelmed with innd and innfeed.  (Yes, CPU has actually
been a limiting factor for me -- it's a 4-CPU SGI R4000 Challenge, but
I only permit innd and innfeed to run on a particular reserved CPU as
the other 3 CPUs are busy :) ).  The rev of IRIX I ran didn't have a
noatime mount at the time you were talking.

My point: Current INN 1.x with traditional news spools _could_ and for
the most part, still can hack it.  It certainly wasn't and isn't optimal. 
If it weren't for some site-specific crap, I'd ditch traditional news
spooling in a heartbeat.  But INN could work with the volume at the
time.  I don't believe that the performance of SGI's XFS filesystem
doesn't/couldn't have had parallels in some of the other OSes, and I
have never run with terribly modern disk technology (though I had to
upgrade the 6 2GB disks to slightly-less-old 4GB disks because I had
a hard time scraping up old 2GB disks!)

--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: News routing software
#45382
Author: News Admin at news.maxwell.syr.e...
Date: Wed, 29 Mar 2000 00:00
30 lines
1869 bytes

On Wed, 29 Mar 2000, Mike O'Connor wrote:

> 
> 
> In article <20000329120503.561$xL@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
> :> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
> :> transit server with a mostly-unblemished innfeed.  I've been getting
> :> everything, sans binaries and >250k articles.
> :
> :Sure, that hardly counts as a feed.  Take out all the binaries
> :and what you have left doesn't make a modern server break a sweat.
> 
> I was talking about at the time...  Chris asserted that INN couldn't
> handle the # of articles.  I don't think that's the issue, especially
> not then.

The number of articles has largely been flat over the last 1-2 years while
volume has gone through the roof. The # of articles does matter--as Curt
pointed out, a P60 can do 8-10 per second to disk, but the numbers I was
playing with were more like 50-100+/sec sustained incoming (otherwise
outages longer than a few minutes screwed things up for hours) and
200-400+/sec outgoing sustained.  

-Chris


Re: News routing software
#45384
Author: Garrett Wollman
Date: Wed, 29 Mar 2000 00:00
42 lines
2432 bytes
In article <000329191816.AA29693@dojo.mi.org>,
Mike O'Connor  <mjo@dojo.mi.org> wrote:

>A non-binaries feed is about an order of magnitude more than 1992
>levels, and probably larger size than the historical norm at that time
>(simply because of some of the foreign language encodings).

On a three-year-old server repurposed last December (running
1.7.2+insync-1.1d):

expire begin Wed Mar 29 01:59:32 EST 2000: (-v1 '-d/news/var/tmp' '-rExpiring 13
672 on /news/var/tmp' -z/news/log/expire.rm)
    Group not matched (removed?) comp.unix.osf.misc -- Using default expiration
    Article lines processed  2012099
    Articles retained        1564609
    Entries expired           447490
    Files unlinked            261065
    Old entries dropped       451040
    Old entries retained     1240603
expire end Wed Mar 29 02:02:24 EST 2000

This is, of course, a non-binary spool server.  (We carry binaries on
our transit box but not on the reader box.  We also don't carry
joebobisp.* newsgroups, but we do carry any regional hierarchy that
is organized enough to have a periodic checkgroups.)  While this isn't
entirely relevant to the discussion at hand, the article counts should
be.  (Oh, and this is with seven-day article retention.)

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/ccd0c   25842028  6643126 17131540    28% 1783718 4692056    28%   /news

Six spindles and hardly breaking a sweat....

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

Re: News routing software
#45389
Author: Mike O'Connor
Date: Wed, 29 Mar 2000 00:00
38 lines
2824 bytes
In article <brad-7D46EA.17305029032000@news.skynet.be>,
Brad Knowles  <brad@shub-internet.org> wrote:
:>        I don't believe that the performance of SGI's XFS filesystem
:> doesn't/couldn't have had parallels in some of the other OSes, and I
:> have never run with terribly modern disk technology (though I had to
:> upgrade the 6 2GB disks to slightly-less-old 4GB disks because I had
:> a hard time scraping up old 2GB disks!)
:
:    Actually, SGI's XFS is pretty special.  It is my understanding that 
:it is a log-structured extents-based journaling filesystem with hashed 
:directories.  This beats out the most modern filesystems available on 
:any other platform I know of, including DECompaq's Digital Unix/Tru64 
:AdvFS which is also a log-structured extents-based journaling filesystem 
:-- SGI still has the directory hashing, which enables them to handle 
:hundreds of thousands of files in a single directory with virtually no 
:additional overhead at all, whereas all other filesystems I know of 
:start crapping out at more than a thousand files in a directory because 
:you start getting into too many indirect and double-indirect blocks.

Note my "doesn't/couldn't have had" part.  There's VxFS, and WAFL in
the Unix-y space for directory hashing.  I didn't realize that AdvFS
_didn't_ have it <sigh>.  There's NTFS, Netware, and even the Amiga
FFS if you went the road of porting INN to other OSes (what initial
Netscape News application was like).  With Linux and some other OSes,
if you allocated a truly ludicrous hunk of memory to your name cache
(and your system didn't ever crash -- big BIG caveat :) ) you could
potentially improve news performance pretty significantly.

My point is that the INN traditional spool architecture isn't optimal,
but the current INN at the time could in fact "hack it", and I don't
think that one would've had to have run just an SGI to do that.

--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: News routing software
#45391
Author: Curt Welch
Date: Wed, 29 Mar 2000 00:00
81 lines
4792 bytes
Mike O'Connor <mjo@dojo.mi.org> wrote:
> Am I the last person running a traditional news spool?  :)

I'm sure there are others.  You can't beat the convience of articles
stored as files.  For small servers it still works fine.

> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
> transit server with a mostly-unblemished innfeed.  I've been getting
> everything, sans binaries and >250k articles.

Sure, that hardly counts as a feed.  Take out all the binaries
and what you have left doesn't make a modern server break a sweat.

> At the time you were
> talking about --- 1-2 years ago -- they didn't constitute a huge # of
> articles.  I'm currently in the top 100 on Freenix.

If you want to move up Freenix, just drop the binaries.  I've been thinking
about setting up a separate feed box to do just that.  I was thinking
of calling it bigdick.newsreader.com. :)

> It's not because
> I have local users generating tons of content, use the same bangpath
> on multiple servers, have monstrous bandwidth or spindles, etc.  I
> keep most everything in my spool for three days

A _full_ 3 days?  Wow.  That's retention. :)

> so it's not like I'm
> babysitting of the filesystem preventing any one directory from being
> "too large".  Heck, I can't even do much spam filtering that would
> lighten the load on the spindles because the 8-year-old CPU I use for
> news is overwhelmed with innd and innfeed.  (Yes, CPU has actually
> been a limiting factor for me -- it's a 4-CPU SGI R4000 Challenge, but
> I only permit innd and innfeed to run on a particular reserved CPU as
> the other 3 CPUs are busy :) ).  The rev of IRIX I ran didn't have a
> noatime mount at the time you were talking.
>
> My point: Current INN 1.x with traditional news spools _could_ and for
> the most part, still can hack it.

Sure, if you reduce your feed to 1992 levels, traditional spool format
is still great.

> It certainly wasn't and isn't optimal.
> If it weren't for some site-specific crap, I'd ditch traditional news
> spooling in a heartbeat.  But INN could work with the volume at the
> time.  I don't believe that the performance of SGI's XFS filesystem
> doesn't/couldn't have had parallels in some of the other OSes, and I
> have never run with terribly modern disk technology (though I had to
> upgrade the 6 2GB disks to slightly-less-old 4GB disks because I had
> a hard time scraping up old 2GB disks!)

Ok, for the fun of it I tried an experiment.  I've got a 5 year old Pentium
60 Mhz system sitting next to me here.  It's only got 32MB of memory.  It
normally runs Win95, but on a second 1GB IDE drive is a copy of FreeBSD.

In less than 15 minutes, I booted it up, installed my server on it (with
a huge 100MB spool :)), and pointed a *,!alt.binaries,!>250K feed at
it.

It's seeing about 8-10 articles per second, and about 1 to 2 MB of data per
minute.  So the 100MB spool gives a retention of an hour or so.  A 10GB
disk would give you something like 4 to 5 days of retention for that feed.
The bandwidth is less than 200 Kbps. (just a litte too much for ISDN but
a drop in the bucket for an ADSL line).

And that old P60 with 32MB of memory is only using up 20% of it's CPU to
deal with that feed and less than 4 MB of memory. (but memory usage
would grow a lot as the spool expanded).

You could buy and old used $25 PC, add some memory and a new disk for a few
hundred dollars, and upgrade your server tomorrow for probably less than
$500.  Gee I wish news was that easy today.  Now I've got to get back to
work and order that new tranist box to deal with a "real" feed....

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

Re: News routing software
#45392
Author: Brad Knowles
Date: Thu, 30 Mar 2000 00:00
21 lines
1824 bytes
In article <SnxE4.818$75.18975@ptah.visi.com>, drechsau+usenet@yuck.net 
(Mike Horwath) wrote:

> Curt Welch <curt@kcwc.com> wrote:
> :                                                        I was thinking
> : of calling it bigdick.newsreader.com. :)
> 
> I thought of a server called 'bg.news.visi.com' for big gonads and
> doing the same thing.

    How about "seymour"?  Or do we have not any other _Little Shop of 
Horror_ fans here?  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45395
Author: Brad Knowles
Date: Thu, 30 Mar 2000 00:00
43 lines
3192 bytes
In article <38e2872c.67348366@news.nntpserver.com>, 
mouse@NOSPAM.nibble.net (Steve Walker) wrote:

>                              The advantage of a MinQueue over a
> traditional x second delay would be in the following scenario:

    The easy way to solve this is the way Diablo does it, which is to 
create a new queue file (or set of queue files) every five minutes, and 
that's your level of granularity as to how much of a time-delay you can 
give a peer.

    If they want a five minute delay, then you always wait until one 
file is completed writing before you start reading it to offer the 
articles to your peer.  If they want a thirty minute delay, you always 
wait until six sets of queue files have been written.  If they want an 
hour, you wait until twelve sets have been written.

> In the feedin example above it will reject any article from site
> "news.someisp.com" that is not posted into an alt.* newsgroup.  Can
> diablo do that?

    You can perform filters on incoming articles, yes.  However, I'd 
like to see us add the ability to have it filter on article size as well 
as what newsgroups it's posted to.

> In the feedout example it opens 4 streams to the non standard port and
> sends all articles <150000 bytes and articles that match the listed
> header deny patterns.  Can Diablo select articles to feed based on
> header fields like Subject, MessageID, From, and Newsgroups?

    I can't really see a reason why you'd want to select on arbitrary 
headers.  It can select based on distribution, newsgroup(s), and article 
size (minimum and/or maximum), and those are really the only factors 
that I consider to be of importance.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45396
Author: Steve Walker
Date: Thu, 30 Mar 2000 00:00
104 lines
5077 bytes
On Wed, 29 Mar 2000 14:35:20 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

>In article <38eb21d9.1269450604@news.nntpserver.com>, 
>mouse@NOSPAM.nibble.net (Steve Walker) wrote:
>
>> The orginal message was talking about a transit server.  No one has
>> millions of peers (that would be a very large config file!).  Why does
>> it make a better transit only server?
>
>    It's much easier to manage, it's easy to set up a variety of 
>configuration possibilities depending on what the remote peer 
>wants/needs (can they support CHECK/TAKETHIS or do they need IHAVE, do 
>they want a time-delayed feed, how many streams can I open to them, how 
>large should I allow the backlog to that site to get, how do I break 
>down articles by their size or what newsgroup(s) they are 
>posted/cross-posted to, do they require that I peer with them on a 
>non-standard port, are they part of our shared network and therefore we 
>should have a different path alias that we add to any articles we 
>receive from them versus our peers that aren't part of our shared 
>network, etc...).
>
>    There's stuff in here that INN still can't do, and even things that 
>Cyclone/Typhoon can't do or can't do easily.  Do you need any more?

Yes, please list any feature you think gives an advantage.  What can't
they do that would be useful.  

Everything you listed can be done by server except ihave feeding (will
add later) and delayed feeding yet.  I'm still thinking about which
way would be best for the delayed feeding.  I could do the basic time
stamp thing or I could do a MinQueue setting that would pause the
feeding until X number of articles are queued and maintain that amount
of backlog.  Does anyone have any comments?  The main use of a delayed
feed is for people with two or more incoming data paths.  Normally one
is cheap the others aren't.  The goal is to allow the bulk of the data
to come in the cheap path.  The advantage of a MinQueue over a
traditional x second delay would be in the following scenario:

1. You have a 10 delay set for a site you are feeding.
2. They go offline for 10 mins
3. When they bring their server back online all articles meet the 10
min requirement
4. All peers are now on equal footing as to who feeds the article
first.

With the MinQueue method the cheap path still has a limited advantage
in getting to feed first.  I understand that when the downstream
server first comes up their may not be much of a delay due to the
queue overflowing, but it would quickly correct it's self in the fist
few hundred articles.  My point is that it will correct it's self way
before the basic "delay x seconds" type of feed and thus allow more
articles to be transferred via the non delayed feeds.

Does this sound like a better way to do a delayed feed?

Here is an example config snippet for the features you mentioned. Does
it look like an easy to configure setup?

#begin earthquake.conf
PathStamp my.normal.stamp

<FeedIn someisp>
	HostName news.someisp.com
	AllowNewsgroups ^alt\...*

#this overrides the default above just for this inbound feed
	PathStamp came-from-someisp!my.normal.stamp
</FeedIn>

<FeedOut someisp>
	HostName news.someisp.com
	HostPort	2119
	MaxConnections 4
	DenyNewsgroups ^alt\.bad\.group
	DenyMsgID	cancel\.
	DenyFrom	tale@uu\.net
	QueueSize	10000
	MaxSize	150000
</FeedOut>

In the feedin example above it will reject any article from site
"news.someisp.com" that is not posted into an alt.* newsgroup.  Can
diablo do that?  It also uses a custom path stamp to mark all articles
from this site as such. 

In the feedout example it opens 4 streams to the non standard port and
sends all articles <150000 bytes and articles that match the listed
header deny patterns.  Can Diablo select articles to feed based on
header fields like Subject, MessageID, From, and Newsgroups?

I think I have all the basic features anyone could want.  Can anyone
think of anything else that would be useful?

Thanks,
Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net





Re: News routing software
#45398
Author: Brad Knowles
Date: Thu, 30 Mar 2000 00:00
77 lines
4719 bytes
In article <Auferstandene.Schaaf@alimony.pool4.oops.inka.de>, Sven 
Paulus <sven@karlsruhe.org> wrote:

> Does Diablo offer real time-delayed feeds, in a way that an article is
> offered to the peer exactly n minutes after it was received? Or does
> Diablo just send a bulk of articles every n minutes like INN does when
> using innxmit?

    Diablo creates files with lists of message-ids and tokens to 
indicate where the message in question is stored.  Period.

    If it's a real-time feed, then dnewslink will read this file as it 
is being written (and flushed) by the diablo daemon, and as it reads in 
each message-id it will offer that message-id to the remote peer.

    If it's not a real-time feed, then whenever dnewslink is run for 
that particular queue file, it will pick it up and go through it as fast 
as it possibly can, offering each article in turn to the remote peer.


    It's up to you how often you configure dnewslink to be run 
(typically via dspoolout), but you can set parameters in the 
dnntpspool.ctl file that say "let X number of queue files exist before 
you start offering articles to this peer", and if you start up dnewslink 
processes every five minutes (as is typical), you get a five minute 
delay for each additional queue file.

> Hm, you add different path-entries depending on the post you receive
> the articles from? I can't see a need for this. If it's only about
> adding a common path-element once on different servers, this is
> supported by innd (inn.conf: pathalias).

    When you have multiple news transit servers, each of which fully 
peers with all the others, and therefore feeding an article to one of 
them is every bit as good as feeding it to all of them, you want to have 
a single central shared virtual path element that your external peers 
can alias against.

    Diablo lets me specify the path element that will be added for all 
incoming articles on the command-line when I start up the daemon, and it 
also lets me specify what port to listen to.  The combination of these 
two things, along with setting up my transit servers to peer with each 
other on non-standard ports, lets me add a single virtual path element 
whenever an article enters one of my servers, and to ensure that it 
doesn't get added more than once.


    For example, this could be pretty important if you were running a 
world-wide news transit service.



    While INN may be capable of any of the things I mentioned, I 
certainly wasn't aware of it being able to do most of those things, 
otherwise I wouldn't have mentioned them as advantages.

    Perhaps this says more for my ignorance of INN than anything, but I 
believe that since Diablo does these things pretty easily, this speaks 
more for the ease of configuration and management of Diablo than it does 
my ignorance of INN.

> Yes, please. diablo does path verification, AFAIR, but there is a nice
> patch for innd by Andrew Gierth for that (why isn't it included yet
> into INN-2.3?)

    Sorry, I'll have to take a bit of a breather to think some more 
about some other advantages Diablo has, before I can get back to you on 
this.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45399
Author: Mike O'Connor
Date: Thu, 30 Mar 2000 00:00
40 lines
2456 bytes
In article <Pine.BSF.4.05.10003291444060.86828-100000@qwerty.maxwell.syr.edu>,
News Admin at news.maxwell.syr.edu <news@maxwell.syr.edu> wrote:
:
:
:On Wed, 29 Mar 2000, Mike O'Connor wrote:
:
:> 
:> 
:> In article <20000329120503.561$xL@newsreader.com>,
:> Curt Welch <curt@kcwc.com> wrote:
:> :> I'm still running INN 1.7.2+insync (+ some non-performance mods) as a
:> :> transit server with a mostly-unblemished innfeed.  I've been getting
:> :> everything, sans binaries and >250k articles.
:> :
:> :Sure, that hardly counts as a feed.  Take out all the binaries
:> :and what you have left doesn't make a modern server break a sweat.
:> 
:> I was talking about at the time...  Chris asserted that INN couldn't
:> handle the # of articles.  I don't think that's the issue, especially
:> not then.
:
:The number of articles has largely been flat over the last 1-2 years while
:volume has gone through the roof. The # of articles does matter--as Curt
:pointed out, a P60 can do 8-10 per second to disk, but the numbers I was
:playing with were more like 50-100+/sec sustained incoming (otherwise
:outages longer than a few minutes screwed things up for hours) and
:200-400+/sec outgoing sustained.  

So you were seeing 4+ million articles/day two years ago?  If two
years ago, Usenet as we knew it had that magnitude of throughput and
you concluded that INN wouldn't scale to meet that demand, I'd buy
that.  I certainly agree that # of articles is a factor.  But 4-8+
million articles/day wasn't and isn't real-world Usenet traffic yet.

--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: News routing software
#45401
Author: Steve Walker
Date: Thu, 30 Mar 2000 00:00
60 lines
3865 bytes
On Thu, 30 Mar 2000 02:50:05 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

>In article <38e2872c.67348366@news.nntpserver.com>, 
>mouse@NOSPAM.nibble.net (Steve Walker) wrote:
>
>>                              The advantage of a MinQueue over a
>> traditional x second delay would be in the following scenario:
>
>    The easy way to solve this is the way Diablo does it, which is to 
>create a new queue file (or set of queue files) every five minutes, and 
>that's your level of granularity as to how much of a time-delay you can 
>give a peer.
>
>    If they want a five minute delay, then you always wait until one 
>file is completed writing before you start reading it to offer the 
>articles to your peer.  If they want a thirty minute delay, you always 
>wait until six sets of queue files have been written.  If they want an 
>hour, you wait until twelve sets have been written.

That's the same thing (almost).  You are maintaining a minimum number
of queued articles.  I'm guessing that round about way was chosen
because of the way Diablo works internally.  In my case it would be
very easy to keep a minimum queue size with just one queue file
because my queue system returns the number of items in the queue every
time an item is popped off the queue.

Thanks for the input.  I'm going to add the delay code now.  I just
wasn't sure if the method had been tried before.

>> In the feedout example it opens 4 streams to the non standard port and
>> sends all articles <150000 bytes and articles that match the listed
>> header deny patterns.  Can Diablo select articles to feed based on
>> header fields like Subject, MessageID, From, and Newsgroups?
>
>    I can't really see a reason why you'd want to select on arbitrary 
>headers.  It can select based on distribution, newsgroup(s), and article 
>size (minimum and/or maximum), and those are really the only factors 
>that I consider to be of importance.

My idea was to allow the ability and let others find uses for it.  I
can think of several uses for incoming/outgoing/spool filters like
this.  For example, what if site you feed doesn't want cancel
messages.  You could use "DenySubject cmsg cancel" just for that
outbound feed.   Another example would be what if you didn't want to
route articles from a certain adult web site spam factory and they use
different nntp account every week, but they always use the same From
field or the same domain name in the MessageID.  You could use a
global Deny rule drop any article from them.  Then you wouldn't route
the article or even store it in your spool.  It's just nice to be able
to do stuff like this.  It's one of those things I think people will
like the more they use it.

Steve Walker
mouse@nibble.net
http://nntprouter.nibble.net



Re: News routing software
#45403
Author: Joe Greco
Date: Thu, 30 Mar 2000 00:00
42 lines
3101 bytes
In news.software.nntp article <38e44efa.118505996@news.nntpserver.com>, mouse@NOSPAM.nibble.net (Steve Walker) wrote:
:>> In the feedout example it opens 4 streams to the non standard port and
:>> sends all articles <150000 bytes and articles that match the listed
:>> header deny patterns.  Can Diablo select articles to feed based on
:>> header fields like Subject, MessageID, From, and Newsgroups?
:>
:>    I can't really see a reason why you'd want to select on arbitrary 
:>headers.  It can select based on distribution, newsgroup(s), and article 
:>size (minimum and/or maximum), and those are really the only factors 
:>that I consider to be of importance.
:
:My idea was to allow the ability and let others find uses for it.  I
:can think of several uses for incoming/outgoing/spool filters like
:this.  For example, what if site you feed doesn't want cancel
:messages.  You could use "DenySubject cmsg cancel" just for that
:outbound feed.   Another example would be what if you didn't want to
:route articles from a certain adult web site spam factory and they use
:different nntp account every week, but they always use the same From
:field or the same domain name in the MessageID.  You could use a
:global Deny rule drop any article from them.  Then you wouldn't route
:the article or even store it in your spool.  It's just nice to be able
:to do stuff like this.  It's one of those things I think people will
:like the more they use it.

And those few that do actually want to do this, certainly do so... they
just pop it into the filter, which was explicitly designed to allow more
complex policy-driven stuff to go on.  Using "DenySubject cmsg cancel"
is certainly wrong, in any case, as that does not work the way you
suggest.  As long as you're chugging away, though, you should also
consider ways to filter stuff like body text, or content within encoded
files...  filtering based just on headers is not too useful for the
long term.

I think if I believed that there was a wide interest in this, that I'd
probably put support into Diablo for it.  But I don't, so...

Diablo allows you to eliminate (or select) control messages, incidentally,
just "{del,add}group control.*".

... JG

Re: News routing software
#45408
Author: Eric Edwards
Date: Thu, 30 Mar 2000 00:00
16 lines
1618 bytes
On 30 Mar 2000 10:29:50 -0600, Joe Greco <jgreco@ns.sol.net> wrote:
>suggest.  As long as you're chugging away, though, you should also
>consider ways to filter stuff like body text, 

For me, that would be threshold of utility.  If my peers could filter on
body text than I (and other small sites) could make use of 
news.lists.filters.  Right now, most of the NoCeEm messages in
news.lists.filters pertain to groups I don't carry and the result is way
too much volume.  Of course, this would only help if the overhead were
low enough that my peers would actually do this for me.

-- 
Real courtesy requires human effort and understanding.  
Never let your machine or your habit send courtesy copies.

Re: News routing software
#45411
Author: Kjetil Torgrim Homme
Date: Thu, 30 Mar 2000 00:00
15 lines
1415 bytes
[Brad Knowles]

>       Using VxFS implies having real money to spend for real
>   machines and real operating systems (like $100k or more, just for
>   VxFS), and that just isn't true at most shops.

Oh dear, is academic pricing that extreme?  We paid ~$15k for an Sun
A1000 with 12x18GB drives and an VxFS licence included.  (Well,
perhaps the licence was included with the Sun E250, which cost
approximately the same.)


Kjetil T.

Re: News routing software
#45413
Author: Russ Allbery
Date: Thu, 30 Mar 2000 00:00
16 lines
1756 bytes
Sven Paulus <sven@karlsruhe.org> writes:

> Yes, you're right, this is the better approach. If you assign the
> classifications in newsfeeds (or whatever this file might be called
> then) there should be a way to choose if these cause an inclusion or an
> exclusion ("binaries,!porn,@teens" or "@binaries,porn" if you detected
> "binaries" based on contents and "porn" and "teens" based on newsgroup
> patterns).

Which definitely points at wanting a rewrite of the newsfeeds syntax
before adding something like this.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: News routing software
#45414
Author: Andrew Gierth
Date: Thu, 30 Mar 2000 00:00
19 lines
1851 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 > mouse@NOSPAM.nibble.net (Steve Walker) wrote:
 >> For example, what if site you feed doesn't want cancel
 >> messages.  You could use "DenySubject cmsg cancel" just for that
 >> outbound feed.

 Curt> Just a note...

 Curt> You must use the Control: header to spot cancel messages.  Not
 Curt> all cancel messages have a "cmsg cancel" subject.

Tell that to Highwind, they don't seem to have figured that one out at
all.

-- 
Andrew.

Re: News routing software
#45416
Author: Brad Knowles
Date: Thu, 30 Mar 2000 00:00
49 lines
3334 bytes
In article <000329161548.AA27341@dojo.mi.org>, Mike O'Connor 
<mjo@dojo.mi.org> wrote:

> Note my "doesn't/couldn't have had" part.  There's VxFS, and WAFL in
> the Unix-y space for directory hashing.

    Using VxFS implies having real money to spend for real machines and 
real operating systems (like $100k or more, just for VxFS), and that 
just isn't true at most shops.

    Using WAFL implies having real money to spend for lots of expensive 
Network Appliance filers, which again, most people don't have.  That and 
running news with NFS writes would seriously suck.

>                                       With Linux and some other OSes,
> if you allocated a truly ludicrous hunk of memory to your name cache
> (and your system didn't ever crash -- big BIG caveat :) ) you could
> potentially improve news performance pretty significantly.

    You could run softupdates on *BSD, and get much higher performance.  
Back before the code was widely available and Kirk was still mostly 
playing around with it, I had heard about it so I asked Eric what this 
thing was and what it could mean for performance.  He told me that he 
and Kirk had done some tests and found that it resulted in about a 10x 
speedup for sendmail and traditional news spools.

    However, this is neither here nor there -- softupdates wasn't 
available years ago, and simply wasn't an option.  It's an option today 
if you're using *BSD, but the news server world has moved on to other 
schemes that don't require that kind of performance anyway -- CNFS and 
timecaf leap to mind.

> My point is that the INN traditional spool architecture isn't optimal,
> but the current INN at the time could in fact "hack it", and I don't
> think that one would've had to have run just an SGI to do that.

    If you weren't running INN on an SGI at that time, then I'd say 
you'd have to put a lot more work into making INN "hack it" on 
traditional spool.  You could probably still do it, but it would take 
quite a bit more work.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45418
Author: Curt Welch
Date: Thu, 30 Mar 2000 00:00
18 lines
1860 bytes
mouse@NOSPAM.nibble.net (Steve Walker) wrote:
> For example, what if site you feed doesn't want cancel
> messages.  You could use "DenySubject cmsg cancel" just for that
> outbound feed.

Just a note...

You must use the Control: header to spot cancel messages.  Not all cancel
messages have a "cmsg cancel" subject.

I dont see filtering based on arbitrary headers as that important, but
it's nice to have extra power even if you don't need it.

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

Re: News routing software
#45423
Author: Russ Allbery
Date: Thu, 30 Mar 2000 00:00
25 lines
2234 bytes
Sven Paulus <sven@karlsruhe.org> writes:

> No, these are different things. At the moment, the Perl code hasn't the
> capabilities to select which hosts get an article. You only can check if
> you want to take an article or not. There is no way saying "I want to
> send this article to peer a and peer c, not to peer b" from the perl
> subroutine.

> Modifying innd for example to add this feature to the perl hooks would
> require a major design change (you would need another perl call
> somewhere in ARTpropagate, but again you should have all the headers
> available as well as an list of all peers, which should get this article
> ...).

A better way of implementing this is to have the Perl code return a list
of classifications for the article ("binary", "control", "local", etc.)
and then be able to assign classifications to particular outgoing feeds so
that they only get articles with that classification.

This is actually on my long-term list of things to look at adding to INN.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: News routing software
#45437
Author: Jeremy
Date: Fri, 31 Mar 2000 00:00
15 lines
1198 bytes
Russ Allbery  <rra@stanford.edu> wrote:

> A better way of implementing this is to have the Perl code return a list
> of classifications for the article ("binary", "control", "local", etc.)
> and then be able to assign classifications to particular outgoing feeds so
> that they only get articles with that classification.
> 
> This is actually on my long-term list of things to look at adding to INN.

Good; bCandid is putting it in too.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: News routing software
#45438
Author: Brad Knowles
Date: Fri, 31 Mar 2000 00:00
20 lines
2057 bytes
In article <38e44efa.118505996@news.nntpserver.com>, 
mouse@NOSPAM.nibble.net (Steve Walker) wrote:

> My idea was to allow the ability and let others find uses for it.  I
> can think of several uses for incoming/outgoing/spool filters like
> this.

    Thing is, you can always add whatever Perl code you want to 
cleanfeed, and that's going to be infinitely more powerful than any 
pre-programmed filtering capabilities you can put into your news 
transfer agent.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a news server administrator outside of North America and Western
Europe?  If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.

Re: News routing software
#45439
Author: Chris Sedore
Date: Fri, 31 Mar 2000 00:00
61 lines
3386 bytes
Mike O'Connor <mjo@dojo.mi.org> wrote in message
news:000330055657.AA6645@dojo.mi.org...
> In article
<Pine.BSF.4.05.10003291444060.86828-100000@qwerty.maxwell.syr.edu>,
> News Admin at news.maxwell.syr.edu <news@maxwell.syr.edu> wrote:
> :
> :
> :On Wed, 29 Mar 2000, Mike O'Connor wrote:
> :
> :>
> :>
> :> In article <20000329120503.561$xL@newsreader.com>,
> :> Curt Welch <curt@kcwc.com> wrote:
> :> :> I'm still running INN 1.7.2+insync (+ some non-performance mods) as
a
> :> :> transit server with a mostly-unblemished innfeed.  I've been getting
> :> :> everything, sans binaries and >250k articles.
> :> :
> :> :Sure, that hardly counts as a feed.  Take out all the binaries
> :> :and what you have left doesn't make a modern server break a sweat.
> :>
> :> I was talking about at the time...  Chris asserted that INN couldn't
> :> handle the # of articles.  I don't think that's the issue, especially
> :> not then.
> :
> :The number of articles has largely been flat over the last 1-2 years
while
> :volume has gone through the roof. The # of articles does matter--as Curt
> :pointed out, a P60 can do 8-10 per second to disk, but the numbers I was
> :playing with were more like 50-100+/sec sustained incoming (otherwise
> :outages longer than a few minutes screwed things up for hours) and
> :200-400+/sec outgoing sustained.
>
> So you were seeing 4+ million articles/day two years ago?  If two
> years ago, Usenet as we knew it had that magnitude of throughput and
> you concluded that INN wouldn't scale to meet that demand, I'd buy
> that.  I certainly agree that # of articles is a factor.  But 4-8+
> million articles/day wasn't and isn't real-world Usenet traffic yet.

(back from vacation and to my normal posting arrangements, so I'm not "news
admin at news.maxwell.syr.edu")

No. Try rereading.  The problem with handling 8-10 articles/sec is that when
you've been down for two hours you don't want to take 4 hours to catch up.
Try taking a news machine with 50-100 incoming feeds, the same number of
outgoing feeds, shutting it down for two hours and then turning it back on.
Some configurations would practically _never_ catch up, because they became
so overloaded that the processing rate would barely exceed the incoming
rate.  If you want to be equipped for serious transit you need to be able to
comfortably manage 5-10x the "normal" incoming rate so when you're down you
can recover in 5-10x clock time.

Usenet article volume has been in the 600-800k article range for the last
two years, maybe three.

-Chris



Page 2 of 3 • 114 total messages
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