Thread View: news.software.nntp
16 messages
16 total messages
Started by Michael Grimm
Fri, 17 Apr 2009 20:24
good innfeed practices
Author: Michael Grimm
Date: Fri, 17 Apr 2009 20:24
Date: Fri, 17 Apr 2009 20:24
24 lines
1834 bytes
1834 bytes
[xposted to nsn and nap & f'up2 nsn] Hi - I'd like to get some feedback regarding INN's innfeed funnel setup: 1) Does order of peers in newsfeeds file has any significant impact on performance of article forwarding to peers? Regarding INN's logfiles articles are logged to be sent to peers in the order of their appearence in newsfeeds file. I would assume that forwarding a specific article to all peers in question should happen quasi in parallel, right? 2) Would distribution of peers to seperate innfeed funnels have any significant impact of article forwarding to peers? These are rather academic questions. I'm aware of the speed of article propagations nowadays ;-) Regards, Michael -- http://news.enfer-du-nord.net/
Re: good innfeed practices
Author: Grant Taylor
Date: Fri, 17 Apr 2009 21:22
Date: Fri, 17 Apr 2009 21:22
41 lines
2799 bytes
2799 bytes
On 04/17/09 15:24, Michael Grimm wrote: > I'd like to get some feedback regarding INN's innfeed funnel setup: I'm by far no expert, but I'll offer my (mis)understandings as I have them. ;) > 1) Does order of peers in newsfeeds file has any significant impact on > performance of article forwarding to peers? I don't know. I don't think it will make much if any. But seeing as how I have no good information to back this up I may be completely wrong. > Regarding INN's logfiles articles are logged to be sent to peers in > the order of their appearence in newsfeeds file. I would assume that > forwarding a specific article to all peers in question should happen > quasi in parallel, right? *IF* all peers are up, yes I would expect them to be feed "quasi parallel" as you say. Granted there may be some skew based on connection establishment time. Obviously if a peer is down (or you other wise can't establish a connection to it) the articles will be queued for later delivery, thus taking it out of the current cycle. > 2) Would distribution of peers to seperate innfeed funnels have any > significant impact of article forwarding to peers? I don't think so. Or if it did I think you would have to have two completely separate back end innfeeds to funnel articles in to. Having different funnels funneling in to the same innfeed seems silly unless you are specifying different options with the different funnels. > These are rather academic questions. I'm aware of the speed of article > propagations nowadays ;-) As long as everything is up, yes articles do flow extremely quickly. :) Grant. . . .
Re: good innfeed practices
Author: Michael Grimm
Date: Fri, 24 Apr 2009 17:54
Date: Fri, 24 Apr 2009 17:54
22 lines
1660 bytes
1660 bytes
Grant Taylor <gtaylor@riverviewtech.net> wrote: > On 04/17/09 15:24, Michael Grimm wrote: >> 1) Does order of peers in newsfeeds file has any significant impact >> on performance of article forwarding to peers? > > I don't know. I don't think it will make much if any. Me neither, but I hoped to get feedback from those who know better ;-) >> These are rather academic questions. I'm aware of the speed of >> article propagations nowadays ;-) > > As long as everything is up, yes articles do flow extremely quickly. > :) ACK Regards, Michael -- to let
Re: good innfeed practices
Author: Russ Allbery
Date: Fri, 24 Apr 2009 18:06
Date: Fri, 24 Apr 2009 18:06
29 lines
2401 bytes
2401 bytes
Michael Grimm <trashcan@odo.in-berlin.de> writes:
> 1) Does order of peers in newsfeeds file has any significant impact on
> performance of article forwarding to peers?
Yes, my experience when I was tuning my news server at that level is
that it did, although not a big difference. innfeed offers the article
to peers in the order listed, which means that you want your
fast-responding peers to be listed first if you decide to care. You
also want your best-connected, fastest-propagating peers listed first,
since that will increase the chance that by the time you get to other
peers, they'll already have received the article.
This sort of thing only matters for micro-improvements to your Freenix
ranking, though, not for any practical performance case on the system.
I stopped caring at that level a while back.
> Regarding INN's logfiles articles are logged to be sent to peers in
> the order of their appearence in newsfeeds file. I would assume that
> forwarding a specific article to all peers in question should happen
> quasi in parallel, right?
Only very quasi. It's sufficiently serialized that it makes a difference.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: good innfeed practices
Author: Julien ÉLIE
Date: Fri, 24 Apr 2009 18:18
Date: Fri, 24 Apr 2009 18:18
18 lines
1890 bytes
1890 bytes
Hi Russ, >> 1) Does order of peers in newsfeeds file has any significant impact on >> performance of article forwarding to peers? > > Yes, my experience when I was tuning my news server at that level is > that it did, although not a big difference. innfeed offers the article > to peers in the order listed, which means that you want your > fast-responding peers to be listed first if you decide to care. That's also why some people use two innfeed (one for fast-responding peers and one for the others). -- Julien ÉLIE « Qualis artifex pereo. » (Néron)
Re: good innfeed practices
Author: Michael Grimm
Date: Fri, 24 Apr 2009 19:22
Date: Fri, 24 Apr 2009 19:22
25 lines
2008 bytes
2008 bytes
Russ Allbery <rra@stanford.edu> wrote: > Michael Grimm <trashcan@odo.in-berlin.de> writes: > >> 1) Does order of peers in newsfeeds file has any significant impact on >> performance of article forwarding to peers? > > Yes, my experience when I was tuning my news server at that level is > that it did, although not a big difference. innfeed offers the > article to peers in the order listed, which means that you want your > fast-responding peers to be listed first if you decide to care. You > also want your best-connected, fastest-propagating peers listed first, > since that will increase the chance that by the time you get to other > peers, they'll already have received the article. Thanks for clarifying that issue. > This sort of thing only matters for micro-improvements to your Freenix > ranking, But, I didn't expect that it would have any impact at all. Regards, Michael -- to let
Re: good innfeed practices
Author: Michael Grimm
Date: Fri, 24 Apr 2009 19:26
Date: Fri, 24 Apr 2009 19:26
18 lines
1728 bytes
1728 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >> innfeed offers the article to peers in the order listed, which means >> that you want your fast-responding peers to be listed first if you >> decide to care. > > That's also why some people use two innfeed (one for fast-responding > peers and one for the others). Please excuse my lack of knowledge when it comes to internals of the software I'm using: but, are two (or more) innfeed instances really working in parallel? Or is this still some sort of serialization, aka one innfeed after the other? Regards, Michael -- to let
Re: good innfeed practices
Author: Russ Allbery
Date: Fri, 24 Apr 2009 19:50
Date: Fri, 24 Apr 2009 19:50
16 lines
1814 bytes
1814 bytes
Michael Grimm <trashcan@odo.in-berlin.de> writes:
> Please excuse my lack of knowledge when it comes to internals of the
> software I'm using: but, are two (or more) innfeed instances really
> working in parallel? Or is this still some sort of serialization, aka
> one innfeed after the other?
Multiple instances actually work in parallel. I off-load all large
articles to a separate innfeed process, for instance, so that small
articles don't get stuck behind them.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: good innfeed practices
Author: Michael Grimm
Date: Fri, 24 Apr 2009 20:12
Date: Fri, 24 Apr 2009 20:12
23 lines
1937 bytes
1937 bytes
Russ Allbery <rra@stanford.edu> wrote: > Michael Grimm <trashcan@odo.in-berlin.de> writes: >> are two (or more) innfeed instances really working in parallel? Or is >> this still some sort of serialization, aka one innfeed after the >> other? > > Multiple instances actually work in parallel. Understood. > I off-load all large articles to a separate innfeed process, for > instance, so that small articles don't get stuck behind them. I like that idea and I will investigate the documentation how to achieve that. But, coming back to my initial question about potential tuning of article propagation, I would guess that your approach would have more impact than order in newsfeeds, right? Regards, Michael -- to let
Re: good innfeed practices
Author: Russ Allbery
Date: Fri, 24 Apr 2009 23:54
Date: Fri, 24 Apr 2009 23:54
18 lines
2055 bytes
2055 bytes
Michael Grimm <trashcan@odo.in-berlin.de> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> I off-load all large articles to a separate innfeed process, for
>> instance, so that small articles don't get stuck behind them.
> I like that idea and I will investigate the documentation how to
> achieve that. But, coming back to my initial question about potential
> tuning of article propagation, I would guess that your approach would
> have more impact than order in newsfeeds, right?
Oh, yeah, separating large articles has a very significant impact.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: good innfeed practices
Author: Daniel Weber
Date: Sat, 25 Apr 2009 06:05
Date: Sat, 25 Apr 2009 06:05
7 lines
1785 bytes
1785 bytes
Russ Allbery schrieb: > Oh, yeah, separating large articles has a very significant impact. >From which size on should one consider an article as large? Bye, Daniel
Re: good innfeed practices
Author: Russ Allbery
Date: Sat, 25 Apr 2009 06:11
Date: Sat, 25 Apr 2009 06:11
16 lines
2013 bytes
2013 bytes
Daniel Weber <dw2007@news.solani.org> writes:
> Russ Allbery schrieb:
>> Oh, yeah, separating large articles has a very significant impact.
> From which size on should one consider an article as large?
I split at 128KB. 64KB would probably work well too. Something around
that range feels right; you want to split at the point where sending a
single article takes an appreciable amount of time.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: good innfeed practices
Author: Curt Welch
Date: Sat, 25 Apr 2009 14:08
Date: Sat, 25 Apr 2009 14:08
70 lines
5583 bytes
5583 bytes
Russ Allbery <rra@stanford.edu> wrote: > Daniel Weber <dw2007@news.solani.org> writes: > > Russ Allbery schrieb: > > >> Oh, yeah, separating large articles has a very significant impact. > > > From which size on should one consider an article as large? > > I split at 128KB. 64KB would probably work well too. Something around > that range feels right; you want to split at the point where sending a > single article takes an appreciable amount of time. I didn't read this thread so I'm not sure which issues "impact" is being discussed. But for propagation speed, there are some interesting factors at work on Usenet... When I was last running a peering server I would set up small article feeds with a limit of around 10K I think. Because Usenet is a store and forward system, articles are not transmitted to the next peer until they are fully received. A 2K text article moves from peer to peer 1000 times faster than a large 2 MB binary article simply because the article is 1000 times smaller. In the time the large binary article is being received from one peer, your server can receive, and send out again, 1000 small text articles. On a 100 MBit interface, it takes something like .2 ms to transmit a small text article, but 200 ms to transmit a huge binary. With a average hop count of maybe 20, this means the we are talking about a small text article flooding all the fastest servers on Usenet in only a few ms. The speed of light propagation delay moving it around the world becomes a real factor. Stillm, withing 100 ms or so after it's first posted, a small text article will have flooded all the major Usenet servers. If a small text article is being sent out the same TCP feed connection as a large binary, even if there is no backlog, and the text article is the next to go out, it can still be delayed by a few hundred milliseconds before it's even offered to the peers. For small text articles, that's a life time. By the time you offer it to your peer, it's already got the article by another path. So if the idea is to help articles move quickly to your peers, then it's very important to separate the smallest articles into separate outgoing feeds. 128K or 64K is not "small" by this measure. A 64K article is still 32 times larger than a 2K text article, which means when a 2K article gets stuck behind a 64K article, it's fallen behind in the propagation "race" by 32 hops. The "game" is over at that point and your fast peers will have long ago been offered, and would have already received, that article. Moving 2K articles around the world is more like moving ping packets around the world than it is like doing file transfers. So if you mix large articles and small in the same feed, you aren't going to have to send out may small articles to your fast peers because most of them will have already been received by other paths. If you separate the outgoing articles into multiple feed sizes, then the smaller articles don't have the held up unreasonable amounts of time by the larger slow moving "boats" of Usenet. But that also means you end up using more bandwidth when you end up sending out a lot more data to your peers - which may or may not be a "good thing". So to optimize for speed, I would do things like 0-10K in one feed, 10K-100K in another, and 100k+ in the last. I tended to to this more for internal paths between servers actually than to my external peers simply because bandwidth was too expensive and doing too "good" job of sending out full feeds to 20 peers can get expensive. But I would do that type of thing to the fastest peers that always seemed to send me more than I sent them just to try and keep things balanced. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Re: good innfeed practices
Author: Julien ÉLIE
Date: Sat, 25 Apr 2009 14:31
Date: Sat, 25 Apr 2009 14:31
26 lines
2754 bytes
2754 bytes
Hi Curt, Thanks again for your precise (as usual) comments. > On a 100 MBit interface, it takes something like .2 ms to transmit a small > text article, but 200 ms to transmit a huge binary. [...] > By the time you offer it to your peer, it's already got the article > by another path. [...] > The "game" is over at that point and your fast peers will have > long ago been offered, and would have already received, that article. I understand all of that but there is still something which puzzles me. Is it really important for these major Usenet feeders to be the first to propagate articles? It is only a matter of a couple of seconds, which is not a big deal for asynchroneous communications... -- Especially for moderated newsgroups or UUCP :-) What's the stake? -- Julien ÉLIE « Lupus est matrem suum. »
Re: good innfeed practices
Author: Russ Allbery
Date: Sat, 25 Apr 2009 20:43
Date: Sat, 25 Apr 2009 20:43
27 lines
2652 bytes
2652 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> I understand all of that but there is still something which puzzles
> me. Is it really important for these major Usenet feeders to be the
> first to propagate articles? It is only a matter of a couple of
> seconds, which is not a big deal for asynchroneous communications...
> -- Especially for moderated newsgroups or UUCP :-)
>
> What's the stake?
Curt's level of tuning I think mostly matters if you care about Freenix
ranking.
A single split like I do is helpful with slow peers even if you don't
care about ranking. I've had, at various times, some peers that
couldn't keep up with a full feed including the binaries they wanted,
but they could keep up with all of the small articles. If they were all
thrown into the same feed, they would drop articles. By separating out
the large articles, they'd take all the small articles and only drop
large articles, which meant that a larger number of articles by count
made it through.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: good innfeed practices
Author: Curt Welch
Date: Sat, 25 Apr 2009 21:04
Date: Sat, 25 Apr 2009 21:04
45 lines
3947 bytes
3947 bytes
=?Windows-1252?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid> > wrote: Hi Curt, > > Thanks again for your precise (as usual) comments. > > > On a 100 MBit interface, it takes something like .2 ms to transmit a > > small text article, but 200 ms to transmit a huge binary. > [...] > > By the time you offer it to your peer, it's already got the article > > by another path. > [...] > > The "game" is over at that point and your fast peers will have > > long ago been offered, and would have already received, that article. > > I understand all of that but there is still something which puzzles me. > Is it really important for these major Usenet feeders to be the first > to propagate articles? It is only a matter of a couple of seconds, > which is not a big deal for asynchroneous communications... > -- Especially for moderated newsgroups or UUCP :-) > > What's the stake? It's not all that important. It's just a pride and dick size thing. :) It's just fun to see how well you can make your feeds work. There is however, the issue that if you can't peer as well as the guys you are getting feeds from, it will mean that they will end up sending you, a lot more than you can send back to them. That can lead to them cutting back their feeds and not sending you everything to adjust for the bandwidth imbalance which can get you to the point of not getting a full feed if it goes too far with too many of your peers. This is more of an issue when trying to get a full binary feed than when trying to only run a text server but it can be an issue for any size server. The other issue, is that with text articles, Usenet can be (and has at times been) used more like a real time chat system. When articles show up on other servers around the world in less than a second, and you use a newsreader that shows you articles quickly when they show up, Usenet becomes far more than just the overnight message system it once was. It's all a question of what type of quality of service you can provide and whether anyone really cares. I've had users that cared. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
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