Thread View: news.software.nntp
15 messages
15 total messages
Started by Jonathan Grobe
Wed, 02 Jan 2002 23:03
Why are binaries posted in parts?
Author: Jonathan Grobe
Date: Wed, 02 Jan 2002 23:03
Date: Wed, 02 Jan 2002 23:03
8 lines
922 bytes
922 bytes
Why are binaries posted in parts? [Other than to get around news administrators who filter out large posts.] Are there limits in news servers or newsreaders or NNTP which require this? -- Jonathan Grobe
Re: Why are binaries posted in parts?
Author: Curt Welch
Date: Thu, 03 Jan 2002 01:02
Date: Thu, 03 Jan 2002 01:02
50 lines
3896 bytes
3896 bytes
grobe@netins.net (Jonathan Grobe) wrote: > Why are binaries posted in parts? [Other than to get around news > administrators who filter out large posts.] Are there limits in > news servers or newsreaders or NNTP which require this? All news servers have hard-coded limits on the maximum size articles they can deal with. It's not directly an NNTP issue (NNTP has no technical limits on article size). But indirectly it's an NNTP problem because there is no way to restart the transfer of a large article with NNTP if you have to abort the transfer mid-stream. The design of servers is greatly simplified if you limit the maximum size of articles. For example, with a 4MB max article size and 1GB memory sizes common, it's safe to assume that the entire article will always be able to "fit" in memory at once. So you can write your entire server based on the assumption that articles can be held in memory at once (even that many articles will fit in memory at once). If there was no article size limit, and people wanted to send 10GB articles, you would have to write the server code very differently. Or just make it a lot more complex so it can deal with small articles one way (holding them in-core) and large articles another way (writing them out to disk as you receive them). It's also an historic issue. The first servers had size limits just to make them easier to write, and once you have a large base of servers with article size limits, there's not much point in trying to increase the limit because the large articles will simply not be transmitted to the old servers. And faced with that fact, people writting new servers have no motivation to write the far more complex code required to support both small and huge articles. Mostly this all has happened because Usenet was designed to transport text messages, not files, and putting a 1MB limit on the size of a single "text" message seemed very resonable. Though, there has been some discussion with the ideas of servers knowing more about "multipart articles" and treating them more like a single post even if they are sent as multiple articles. For example, with new protocols, users could transfer the file to the server as one large article, and the server would generate all the multipart articles. And multipart articles could be better labeled in some well defined standard fashion so that news servers could easilly match them up, decode them, and present them to the user as a single file - and for servers which wanted to limit the size of their feed, they would be easier to filter out as a "whole" instead of the problems we see today where some parts are dropped and the rest transmitted. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Why are binaries posted in parts?
Author: Jonathan Grobe
Date: Thu, 03 Jan 2002 19:58
Date: Thu, 03 Jan 2002 19:58
28 lines
1917 bytes
1917 bytes
In article <20020102200244.648$et@newsreader.com>, Curt Welch wrote: >grobe@netins.net (Jonathan Grobe) wrote: >> Why are binaries posted in parts? [Other than to get around news >> administrators who filter out large posts.] Are there limits in >> news servers or newsreaders or NNTP which require this? > >All news servers have hard-coded limits on the maximum size articles >they can deal with. ... >Mostly this all has happened because Usenet was designed to transport text >messages, not files, and putting a 1MB limit on the size of a single "text" >message seemed very resonable. > So are the usually limits in news servers 1MB? While I haven't looked at any binaries for a long time, my recollection was that the multi-part binaries were split into much smaller posts than that. What are the usual sizes produced by Agent et al? As you increase the number of parts the probability that a site has all of them goes does very rapidly. So it would seem that the problem of missing parts could be improved substantially if news readers were to adopt a 1MB posting size. -- Jonathan Grobe
Re: Why are binaries posted in parts?
Author: Curt Welch
Date: Thu, 03 Jan 2002 20:52
Date: Thu, 03 Jan 2002 20:52
67 lines
4495 bytes
4495 bytes
grobe@netins.net (Jonathan Grobe) wrote: > So are the usually limits in news servers 1MB? The default for INN was always 1MB. (or maybe 1,000,000 bytes - something a saw recently made me wonder about that). I think it still is but I'm not sure. Anyone can change it when it's installed but few do. The default for Typhoon has always been 4MB. > While I haven't looked > at any binaries for a long time, my recollection was that the multi-part > binaries were split into much smaller posts than that. It varies, but 200K to 400K sizes are very common. > What are the > usual sizes produced by Agent et al? As you increase the number of > parts the probability that a site has all of them goes does very > rapidly. You would think so, but that's not how it works. The probability that an article will be lost goes up very rapidly with it's size. Most news feeds are set up to give smaller articles priority, and many news feeds are size limited so that everything over a fixed size is blocked. The larger the article, the fewer paths it has to move though the net, and the more likely it is to be dropped due to a backlog. A news server that doesn't have the bandwidth to get a full feed would rather drop one 500K binary post than drop 250 2K text posts anyday, so most servers that drop articles have been configured to drop the larger articles first. That effect will generally overwhelm the effect you speak off. A file posted as 1000 2K parts will generally show up complete on servers that are unable to get any other multipart post complete. But posting 1000 articles instead of posting 10x200K is very disruptive to the newsgroup (everyone has to download 1000 headers when they should have only been forced to download 10). So that's why it's not done. But that is why multipart post sizes keep creaping downward - people learn that the smaller the parts, the more likely the post is to show up complete. This however is a bad habit - if servers are dropping large binary posts, then you should not cheat their wishes by making your post look like 1000 text posts. It's like cutting in front of a line. When someone posts small articles, it doesn't "fix" the problem, it just causes somebody else's post to be dropped instead of theirs. > So it would seem that the problem of missing parts could be > improved substantially if news readers were to adopt a 1MB posting > size. No, posting large parts just increases the odds that a part will be dropped. The missing part problem is caused because thousands of ISPs and other sites are running news servers that aren't able to keep up with a full feed (or they are not willing to pay for the bandwidth required to get the full feed). The owners don't upgrade them because it costs too much. They simply don't have enough users willing to pay enough to justify the cost. If users want complete multipart posts, all they have to do is pay for it. There are many servers in the world where you can pay $10 per month or less and get complete multipart posts. If the users want to fix the "missing part" problem, all they have to do is pay for it. If they don't pay for it, it won't be fixed. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Why are binaries posted in parts?
Author: Ivar Madsen
Date: Sun, 06 Jan 2002 00:27
Date: Sun, 06 Jan 2002 00:27
15 lines
1658 bytes
1658 bytes
On 03 Jan 2002 20:52:05 GMT, curt@kcwc.com (Curt Welch) wrote: >The default for INN was always 1MB. (or maybe 1,000,000 bytes - something a >saw recently made me wonder about that). I think it still is but I'm not >sure. Anyone can change it when it's installed but few do. >The default for Typhoon has always been 4MB. what about Diablo? -- Ivar Madsen Der med dette indl�g, repr�sentere mig selv, og dem der er enig med mig,,, http://news.milli.dk med info om news.milli.dk opdateret 1/1 WEB serveren k�re nu VirtualHost, og vil blive kraftigt �ndret snarest
Re: Why are binaries posted in parts?
Author: Curt Welch
Date: Sun, 06 Jan 2002 03:43
Date: Sun, 06 Jan 2002 03:43
17 lines
1839 bytes
1839 bytes
Ivar Madsen <news-02-01-02@milli.dk> wrote: > On 03 Jan 2002 20:52:05 GMT, curt@kcwc.com (Curt Welch) wrote: > > >The default for INN was always 1MB. (or maybe 1,000,000 bytes - > >something a saw recently made me wonder about that). I think it still > >is but I'm not sure. Anyone can change it when it's installed but few > >do. The default for Typhoon has always been 4MB. > > what about Diablo? I don't remeber what it used for an article size limit. Maybe someone else here can fill us in? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Why are binaries posted in parts?
Author: user_
Date: Tue, 13 Aug 2002 15:10
Date: Tue, 13 Aug 2002 15:10
44 lines
2673 bytes
2673 bytes
while the number of missing multipart posts would go down ( assuming the failure mode of a missing part is a dropped byte somewhere) the size of the missing parts would go up necesitating increased downloads. thats the reason y setting the packet width on packet switched networks is variable so that if u are getting alot of errors you can decrease the packet size so that you have less re-loads. if you increased the packet size to 10gb and 1 byte is off you have to reload the whole 10gb. "Jonathan Grobe" <grobe@netins.net> wrote in message news:slrna39e01.ukg.grobe@worf.netins.net... > In article <20020102200244.648$et@newsreader.com>, Curt Welch wrote: > >grobe@netins.net (Jonathan Grobe) wrote: > >> Why are binaries posted in parts? [Other than to get around news > >> administrators who filter out large posts.] Are there limits in > >> news servers or newsreaders or NNTP which require this? > > > >All news servers have hard-coded limits on the maximum size articles > >they can deal with. > ... > >Mostly this all has happened because Usenet was designed to transport text > >messages, not files, and putting a 1MB limit on the size of a single "text" > >message seemed very resonable. > > > > So are the usually limits in news servers 1MB? While I haven't looked > at any binaries for a long time, my recollection was that the multi-part > binaries were split into much smaller posts than that. What are the > usual sizes produced by Agent et al? As you increase the number of > parts the probability that a site has all of them goes does very > rapidly. So it would seem that the problem of missing parts could be > improved substantially if news readers were to adopt a 1MB posting > size. > > > -- > Jonathan Grobe >
Re: Why are binaries posted in parts?
Author: Jeffrey M. Vinocur
Date: Wed, 14 Aug 2002 20:24
Date: Wed, 14 Aug 2002 20:24
12 lines
1455 bytes
1455 bytes
In article <uli8aip116bi69@corp.supernews.com>, user_ <user_@mail.com> wrote: >while the number of missing multipart posts would go down ( >assuming the failure mode of a missing part is a dropped byte >somewhere) That's a flawed assumption. NNTP runs over TCP, there had best not be any bytes dropped out of the middle. -- Jeffrey M. Vinocur jeff@litech.org
Re: Why are binaries posted in parts?
Author: itsy bitsy meowbot
Date: Wed, 14 Aug 2002 21:15
Date: Wed, 14 Aug 2002 21:15
9 lines
1565 bytes
1565 bytes
Jeffrey M. Vinocur wrote: > That's a flawed assumption. NNTP runs over TCP, there had best > not be any bytes dropped out of the middle. Lots of funny things can happen between those store and forward steps. Newsfeeds a few months ago, Cidera a couple years ago, Worldnet a year or two earlier...
Re: Why are binaries posted in parts?
Author: Michael Nahas
Date: Fri, 16 Aug 2002 14:25
Date: Fri, 16 Aug 2002 14:25
26 lines
2267 bytes
2267 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in news:ajee9i$ro0$1@puck.litech.org: > In article <uli8aip116bi69@corp.supernews.com>, user_ <user_@mail.com> > wrote: >>while the number of missing multipart posts would go down ( >>assuming the failure mode of a missing part is a dropped byte >>somewhere) > > That's a flawed assumption. NNTP runs over TCP, there had best > not be any bytes dropped out of the middle. > Stone and Partridge estimate that the undetected error rate for TCP is between 1 in "a few" million and 1 in 10 billion. They examined whether or not to trust the network layer under IP. They discovered it was not good to trust it, because some errors occured in the network stack after the ethernet CRC is checked and before the TCP header is processed. Based on that, I'd also recommend not trusting that the IP and NNTP layers be trusted to handle everything correctly. Especially, when it's known that errors get through the TCP layer. Stone and Partridge, "When the CRC and TCP checksum disagree"
Re: Why are binaries posted in parts?
Author: Eric A. Hall
Date: Fri, 16 Aug 2002 15:51
Date: Fri, 16 Aug 2002 15:51
17 lines
1845 bytes
1845 bytes
on 8/16/2002 9:25 AM Michael Nahas wrote: > Stone and Partridge estimate that the undetected error rate for TCP is > between 1 in "a few" million and 1 in 10 billion. The store-and-forward model introduces additional loss conditions, such as can occur from disk errors. The end-to-end design principle says that systems have to pass checksums as separate data in order to ensure that integrity is preserved. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Re: Why are binaries posted in parts?
Author: Curt Welch
Date: Fri, 16 Aug 2002 19:12
Date: Fri, 16 Aug 2002 19:12
65 lines
4460 bytes
4460 bytes
Michael Nahas <mike_at_nahas.com@deletethis.com> wrote: > jeff@litech.org (Jeffrey M. Vinocur) wrote in > news:ajee9i$ro0$1@puck.litech.org: > > > In article <uli8aip116bi69@corp.supernews.com>, user_ <user_@mail.com> > > wrote: > >>while the number of missing multipart posts would go down ( > >>assuming the failure mode of a missing part is a dropped byte > >>somewhere) > > > > That's a flawed assumption. NNTP runs over TCP, there had best > > not be any bytes dropped out of the middle. > > > > Stone and Partridge estimate that the undetected error rate for TCP is > between 1 in "a few" million and 1 in 10 billion. > > They examined whether or not to trust the network layer under IP. > They discovered it was not good to trust it, because some errors > occured in the network stack after the ethernet CRC is checked > and before the TCP header is processed. Based on that, I'd also > recommend not trusting that the IP and NNTP layers be trusted > to handle everything correctly. Especially, when it's known that > errors get through the TCP layer. > > Stone and Partridge, "When the CRC and TCP checksum disagree" If you understand the nature of noise you would know that NOHTHING can be trusted to remove all the errors. No matter how many layers of CRCs etc you add to the system, there will always come a day where an error will slip by undetected. Because of this simple law of nature, people don't use the word "trust" to mean "no errors". What you "trust" is that the error rates will be low enough to keep from being a significant problem. You CAN TRUST TCP to keep the error rate low enough that it's way under the noise/error floor of NNTP problems. On top of this, none of this has much to do with the orginal comment because the false assumption was that NNTP included some type of article level checksums that would cause articles to be dropped when there was a bit error. NNTP has no article level checksums. If there's an undeteced bit error in an article, you simply end up with a corrupted article (and this has happened many times on Usenet), not a dropped article. Missing multipart articles are caused by servers/bandwidth which are unable to keep up with the volume. Bit errors are not causing articles to be dropped at a rate which is even worth thinking about. And back to the orginal discussion... Smaller parts work better because usenet as a whole tends to move smaller articles better than larger articles. When feeds can't keep up, one of the most common things to do is drop all articles over some fixed size. Smaller articles have a lot more paths to make it through Usenet. Larger articles tend to have fewer possible paths and tend to flow over feeds which are dropping a ramdom percentage of all articles. The odds that an article won't move from system A to system B because of "traffic jams" is many orders of magnitude higher (maybe 10^10 or so) than the odds that an undetected bit error will cause an article to be dropped. You can trust that. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Why are binaries posted in parts?
Author: Andrew - Supernews
Date: Fri, 16 Aug 2002 21:38
Date: Fri, 16 Aug 2002 21:38
15 lines
1632 bytes
1632 bytes
In article <20020816151213.714$fg@newsreader.com>, Curt Welch wrote: > You CAN TRUST TCP to keep the error rate low enough that it's way under > the noise/error floor of NNTP problems. This is only true if you _don't_ use network cards that do TCP checksum offload (a deeply evil concept which weakens TCP's reliability significantly). This is not hypothetical; one of the Cidera article corruption incidents was traced to a network card. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Why are binaries posted in parts?
Author: The Nun
Date: Sat, 17 Aug 2002 00:29
Date: Sat, 17 Aug 2002 00:29
45 lines
3194 bytes
3194 bytes
Andrew - Supernews <andrew+nonews@supernews.com> wrote in news:slrnalqs5q.26va.andrew+nonews@trinity.supernews.net: > In article <20020816151213.714$fg@newsreader.com>, Curt Welch wrote: >> You CAN TRUST TCP to keep the error rate low enough that it's way >> under the noise/error floor of NNTP problems. > > This is only true if you _don't_ use network cards that do TCP > checksum offload (a deeply evil concept which weakens TCP's > reliability significantly). > > This is not hypothetical; one of the Cidera article corruption > incidents was traced to a network card. That kind of error was warned about in Stone & Partridge. > If you understand the nature of noise you would know that NOHTHING can > be trusted to remove all the errors. No matter how many layers of > CRCs etc you add to the system, there will always come a day where an > error will slip by undetected. Because of this simple law of nature, > people don't use the word "trust" to mean "no errors". What you > "trust" is that the error rates will be low enough to keep from being > a significant problem. If you're talking about sending a small amount of data, e.g. that generated by a remote terminal program, I do trust TCP. However, when you start talking about the tens (hundreds?) of gigabytes daily that are transmitted a large number of times between servers, the 1 in 10 million packets error rate starts to become a factor. At that level, I do not trust the TCP checksum. Of course, with all that transmission, there are other sources of errors that probably occur more often. I can agree with you that message dropping is much more of an affect than message corruption. Also, yenc supports per-article checksums, but I don't know of any NNTP forwarder that drops articles where the data doesn't match the checksum.
Re: Why are binaries posted in parts?
Author: Curt Welch
Date: Sat, 17 Aug 2002 00:53
Date: Sat, 17 Aug 2002 00:53
26 lines
2603 bytes
2603 bytes
The Nun <none@none.com> wrote: > If you're talking about sending a small amount of data, e.g. that > generated by a remote terminal program, I do trust TCP. However, when > you start talking about the tens (hundreds?) of gigabytes daily that are > transmitted a large number of times between servers, the 1 in 10 million > packets error rate starts to become a factor. At that level, I do not > trust the TCP checksum. Of course, with all that transmission, there > are other sources of errors that probably occur more often. It would be good if Usenet had article level checksums and if all the servers dropped articles (or at least refused to forward them) if they had an invalid checksum. But there are a lot of complex issues on how one would add this to Usenet at this point. > I can agree with you that message dropping is much more of an affect > than message corruption. > > Also, yenc supports per-article checksums, but I don't know of any NNTP > forwarder that drops articles where the data doesn't match the checksum. I don't either. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for 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