Thread View: news.software.nntp
83 messages
83 total messages
Page 2 of 2
Started by Rene
Mon, 30 Dec 2002 18:33
Page 2 of 2 • 83 total messages
Re: xBin and PARity files
Author: Curt Welch
Date: Fri, 31 Jan 2003 05:17
Date: Fri, 31 Jan 2003 05:17
22 lines
2264 bytes
2264 bytes
g <gypsy@dont.you.dare.spam> wrote: > Not every multipart binary group works the same way. This "OBF" stuff > would work with cd images and movies and big honkin stuff like that. > Audio formats, for example, are posted (generally) by individual track. Yeah, you wouldn't want to start posting CDs as OBF. You want to continue to post them as sets of files like they do now. Maybe there is more call for defining some type of standard xBin "set description" file used to list all the files in a set by their xBin IDs (like the tracks of a CD along with artwork jpg files; or a picure sets of jpgs along with it's thumbnail index file). You could zip or tar these things together and post it as OBF but then you couldn't download the pices so for all the times you want the ability to download each file separately, you could post them as an xBin set by first posting a standard format "xBin set description file" and then posting all the individual files. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Fri, 31 Jan 2003 05:30
Date: Fri, 31 Jan 2003 05:30
27 lines
2622 bytes
2622 bytes
Rene <invalid@email.addr> wrote: > Well at the end of the day, if people are posting and posting and posting > the same stuff over, nobody's gonna help that. Nothing - on the client > side - does take away the ability to use one's brain... if those posters > want to post things that need no posting, well xBin's not going to stop > them either. Well, more interesting, a well written xBin posting tool will scan a group before starting to post and by default, not repost any part of a file which is already in the group (no matter whether you posted it or somebody else posted it). This would make re-starting a failed post automatic. You just tell the tool to repost the entire file, but the tool's default behavior is to respond with "Parts 1 to 26, 32, and 46 are already on the server - I'll just post the missing parts...". To make it re-post parts which are already on the local server you would have to hit a few extra buttons for "yes I really really know what I'm doing and I want you to do that". At the same time, it could attempt to pick up the subject from the parts already on the server so you don't even have to tell the tool what subject to use. Good tools really can help deal with "refuse to engage brain" problems. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Kjetil Torgrim Homme
Date: Fri, 31 Jan 2003 14:54
Date: Fri, 31 Jan 2003 14:54
75 lines
3855 bytes
3855 bytes
[Curt Welch]: > > > > $H hash > > > $S file size > > > $o segment offset in hash blocks > > > $s segment size in hash blocks > > > $P parity sequence number > > > $N number of segments spanned by parity data (100 in my example > > > above) > > > > > > So, the data out of the full xBin file spanned by this parity data > > > would start at the $o offset, and would continue for $N blocks of size > > > $s. THis means the Message-ID for a PAR file will only have a few more > > > characters than a normal xBin articles. PAR was absent from my xBin draft (I simply forgot about it :-). just a detail: clearly specifying either P or N is mandatory. we could do either: P parity sequence number (defaults to 1) N number of segments spanned by parity data (mandatory) or P parity sequence number (mandatory, the first file has number 1) N number of segments spanned by parity data (defaults to 100) it feels more natural to identify PAR articles by looking for P. the latter approach also has the advantage of giving a strong recommendation for how many parts a PAR file should cover, and it also reduces the msgid size slightly. <...~NBk...> <...~PC~NBk...> <...~PD~NBk...> vs. <...~PB...> <...~PC...> <...~PD...> (we may want to choose a different default value than 100, but it seems a nice and round number to me.) > By adding in the segment offset and size (and for PAR files the par > sequence number) the download tool _never_ had to do anything else besides > look at the message-id to figure out what it has to download to complete > the files it's looking for. the segment size is the size of the PAR article, right? > > > So, if you post a set of articles each with this number of hash blocks > > > each: > > > > > > 20 20 20 20 20 19 19 19 19 19 19 19 19 > > > > > > You can then post par files of size 20 for the first 5 > > > articles, and par files of size 19, which cover the last > > > files. And then the par files exactly match the data they are > > > replacing, and if you are missing 19 blocks of data, you only > > > need to download 19 blocks of par file to replace it. the algorithm I specified will actually produce the sequence 20 20 20 20 19 19 19 19 19 19 19 19 20 where the last block is only partially full. I don't think this matters much, the PAR file covering the last article will simply contain 22500 bytes more than necessary. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin and PARity files
Author: Curt Welch
Date: Sun, 02 Feb 2003 22:02
Date: Sun, 02 Feb 2003 22:02
26 lines
2629 bytes
2629 bytes
g <gypsy@dont.you.dare.spam> wrote: > What you're essentially saying is that usenet is too "troublesome" for > the clueless. Rather than educate 'em, you'd rather reward their > cluelessness and make it easier for them so they don't have to think > before they post that 5 gig xbox image. Yes, that's very helpful and > much less "troublesome." <wg> xBin is likely to make using binary usenet much easier than it is today. This will only help to attract more clueless people, and encourage others to remain clueless. It is likely to change usenet and the change might not be seen as "better" by many of the old timers. Some of the "fun" of usenet is the fact that it requires "so much work". And the same complexity tends to help keep the unwashed masses out of Usenet. I wouldn't want to live without the www today, but, the Internet was sure a hell of a lot more fun 10 years when it was a small place populated by mostly scientist and computer geeks. Do I enjoy getting 10 "make your dick bigger" messages in my mail box every day now? Of course not. It sucks. Is xBin going to bring the masses to usenet and ruin what it once was? Maybe. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Mon, 03 Feb 2003 00:23
Date: Mon, 03 Feb 2003 00:23
143 lines
6947 bytes
6947 bytes
Oh, thank god, I found an aritcle in this thread that was actaully on
topic...
:)
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]:
> PAR was absent from my xBin draft (I simply forgot about it :-). just
> a detail: clearly specifying either P or N is mandatory. we could do
> either:
>
> P parity sequence number (defaults to 1)
> N number of segments spanned by parity data (mandatory)
>
> or
>
> P parity sequence number (mandatory, the first file has number 1)
> N number of segments spanned by parity data (defaults to 100)
or
P mandatory
N mandatory
> it feels more natural to identify PAR articles by looking for P.
It feels that way to me as well.
> the
> latter approach also has the advantage of giving a strong
> recommendation for how many parts a PAR file should cover,
That's a point I wouldn't have thought about. Do we know enough to be in
the position to make a strong recommendation? Is it even resonable to pick
a single number for everyone to use as a default?
My instincts tell me that any number we might pick would tend to become
outdated at some point in the future yet everyone that wrote a xBin
Message-ID decoder would be required to add that "100" default into their
code for the rest of time. It doesn't seem right to force any constant
(other than 0 or 1) into a standard when it's not required and likely to be
ignored at some point in the future.
But before picking a number, we would really need to write proof of concept
code and use it for a while to get a good feel for what the issues are.
> and it also reduces the msgid size slightly.
>
> <...~NBk...>
> <...~PC~NBk...>
> <...~PD~NBk...>
>
> vs.
>
> <...~PB...>
> <...~PC...>
> <...~PD...>
>
> (we may want to choose a different default value than 100, but it
> seems a nice and round number to me.)
Yeah, being able to leave out the the ~N sure makes it look nicer in
your example. But maybe the 4 saved characters are not really that
important and when you look at a full Message-Id is not going to make much
difference???
I think allowing the P to be optional is probably not the way to go. I too
like making the P the main key which makes it clear the ID is for a PAR
file.
If N is optional, then having a "useable" deafult seems wise. I think we
just need to have more experence with what "real" numbers would tend to be
used.
If N is not optional, then maybe it shoudn't even be a separate parameter?
Maybe both the par file number and the span size should be encoded into the
P value somehow? If the par formula number is limited to 256, then put
that in the lower 8 bits and the N value into the higher bits and encode it
as a single number which is the ~P parameter?
> > By adding in the segment offset and size (and for PAR files the par
> > sequence number) the download tool _never_ had to do anything else
> > besides look at the message-id to figure out what it has to download
> > to complete the files it's looking for.
>
> the segment size is the size of the PAR article, right?
That's what I was thinking.
> > > > So, if you post a set of articles each with this number of hash
> > > > blocks each:
> > > >
> > > > 20 20 20 20 20 19 19 19 19 19 19 19 19
> > > >
> > > > You can then post par files of size 20 for the first 5
> > > > articles, and par files of size 19, which cover the last
> > > > files. And then the par files exactly match the data they are
> > > > replacing, and if you are missing 19 blocks of data, you only
> > > > need to download 19 blocks of par file to replace it.
>
> the algorithm I specified will actually produce the sequence
>
> 20 20 20 20 19 19 19 19 19 19 19 19 20
>
> where the last block is only partially full. I don't think this
> matters much, the PAR file covering the last article will simply
> contain 22500 bytes more than necessary.
Yeah, the above makes the article sizes closer but creates a minor problem
with the PAR files. If you want to create a PAR file (using the
specification system we are talking about in this article) that spans the
last 5 articles of the above post you can't do it. The PAR file would end
up covering only the first 19 blocks of that last article.
One thing you could do is post those PAR file (which covers everything
expect the last partial block of the file, and then just re-post the last
partial file as is in a small file in case anyone needed it. But that's
getting strange. It would work however without anyone having to understand
what was going on because the download tool would just automatically figure
out what it needed and do the right thing.
However, posting the orginal as 20 20 19 19 19 18.5 takes the strangeness
out. The article sizes are not as close together in size this way, but,
the shortest article is the one posted last, and since smaller articles
tend to move though usenet slightly faster, that's not really a bad thing
either - i.e. the last article posted moving faster and catching up with
the previous ones.
In the end however, either would work with xBin as we are talking about it
now, so people that write the posting tools could decide for themself what
they think works best and post it either way.
As far as what we talk about in the spec, maybe the simpler way (which
produces posts with articles that aren't as close in size) is the better
one to go with because this is very complex already for a lot of people?
Or maybe we could mention both?
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Mon, 03 Feb 2003 06:06
Date: Mon, 03 Feb 2003 06:06
101 lines
6436 bytes
6436 bytes
g <gypsy@dont.you.dare.spam> wrote: > So - and I am serious - what am I missing about the "good" of [xBin]? > I'm already regretting asking chris to post here about the new PP2K - he > hasn't been seen or heard from since. <G> Well, the answer for Chris (I suspect) is that this stuff might have some potential, but it's just not ready for prime-time and he's looking for something simple he can do now. And because so much of Usenet is based on "something simple you can do now", I have to wonder if these xBin idea will really every go anwywhere... But your question about xBIn is a good one. Just why is it needed? What is it going to do to make things better? Are we really just trying to fix non-problems here? A lot of it is simply that the way large binaries work on Usenet is just technically a huge kludge. It's a mess. It makes everything 10 times harder than it needs to be and causes no end of problems. Most of what xBin is about is trying to clean up this mess. The problem is that Usenet was never designed for transporting large binary files. It's a simple little discussion system, not a P2P network. But full usenet feeds are now 99% binary transport. So designe that way or not, that what it is being used for. So it's high time we fixed this mess. Desiging a new Usenet from the groud up to do it "right" is not hard. But it won't help Usenet if it's not compatible with what happens now. xBin is exciting because it looks like the first workable path to take us from the huge mess we have today, to a Usenet which transports unlimted files with easy and simplicity (and a few OC12s and building full of disk drives). So, most of xBIn is not about fixing current "problems" on binary Usenet as it is about doing it "right" so we can move forward and untangle us from this stupid mess of rar files and PAR files and SFV files and reposts and incomplete posts etc. However, to get Usenet convereted, you have to take one step at a time and everyone (admins and users) have to want to take each of those steps, or else the conversion will never happen. xBin looks like it might make this happen. So back to your question. What does it fix now? Well, not a lot. At first, it is mostly fixing things that aren't really a big problem. Like you have said. It gives us a far far stronger consistency check system, but like you have said, this isn't a big problem now. It gives us a far stronger repost system. But like you said, when done correctly, reposts aren't a big issue already. But what it can give us now is far more accurate, and automated, download system. One which allows you to point to a single article which is only one part of a large post, and tell your newsrader to "get me that file". Even if the nothing else is there, your newsreader will continue collectiong pieces of that file for years for you without you every having to look at or thing about a subject again. With the file-set ideas, it allows you to point to a single file-set post (which is a small text file like a cvs for sfv file), and tell your newsreader to get the set. It gets the entire set of files automatically for you without you having to play string matching games on subjects. And if there are multiple copies of the same articles or files, the download tool will never download too much by mistake. It only downlads what it needs. And here's a cool feature I just realized could be done... People could post these file-set posts for every large xBin post. If we mark these file-set files in the Message-Id (which I have already sugested for other reasons), then the newsreader could scan the Message-Ids only to find just those files. IT could then download all those file-set files from the group. This would be the new way "headers" would work. You would download all these file-set files instead of download the normal Headers. The file-set files would act like part-0 posts. They would include the xBin ID of the full file (or of all the files if there are multiple ones in the set), and include other useful infomration like the file names and file types, a description for the set, and general comments about the set from the poster. The newsreader would use these to create a list of everything in the group to be downloaded, and using the full Message-Id list, would be able to show you completion information about every set and every file in the set, as well. If you want a file set, you just point to it and say "get it". Everything else is automatic. And all this is still compatible with what is done now. And if these file-set files are text files which have a format that can be read even without an xBin tool, (even if the format looks a bit like HTML source), it would allow normal newsreaders to read the files. More thought is needed for that, but the main point of xBin is that it's a way to get us to a Usenet where binaries are done "right", instead of the huge and messy kludge we have now. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Mon, 03 Feb 2003 06:26
Date: Mon, 03 Feb 2003 06:26
62 lines
4661 bytes
4661 bytes
g <gypsy@dont.you.dare.spam> wrote: > Ok, at first reading (going back to october) xbin really sounded good, > but I'm not seeing the good of it anymore. Since I apparently still > don't get it - why xbin? What would xbin change? What problem(s) will > it solve? What "benefit" from it, especialy as it would not be a > "requirement"? And I don't mean the nonexistant (or extremely rare) > stuff that Rene yakked about but common, everyday stuff. Servers have > such variable retention and completion that no two are the same at any > given point. The guy on the 12 hour server is STILL gonna scream for a > repost and some newbie on another server is STILL gonna repost it. xBin is likely to make that only worse at first. Over time however, the servers will be able to improve so they won't need to waste disk space on reposts that are unneeded for that server. xBin I think can take us to a time where that works automatically. > Guys > will still repost "found in another group" stuff so the same stuff will > still be in multiple groups at the same time (and not crossposted). xBin newsreaders will be able to put together files from multiple groups. It will do it by default. If you have your download tool scanning all the mp3 groups for example, and you asked it to download a file from the 1990s group, but some idiot reposted the same file in the complte_cd group, the xbin newreader will see it and use it without the user having to do anything. Even if the repost was using a different article size. All the user knows is that he asked for file X and got it. He have to look at the logs to figure out that 5 of the 20 articles came from a different group. So at least when a stupid repost happens, all the posts will be useable as automatic "repost" data instead of it going to waste. If my server is missing parts 2 and 5 from the post in one gorup, and parts 12 and 18 from the post in the other group, I've got a complete post and don't have to ask anyone for a repost. This will only work if the exact same file is posted however. So if 5 people rip the same songs of a popular CD with different tools, you will still have 5 different versions of the song to deal with and xBin will not be able to combine them or prevent them from being posted. > The > luzers will still create/post from 20-100% parchives for their posts and > still post 'em before the first of the "real" posts go up. xBin gives us some very powerful repost features unlike anything that has been used on Usenet in the past. I suspect it's going to make people use PAR files a lot less. But, it's likely to make overall traffic worse instead of better. But it will allow more people to make better use of the traffic I think. > People will > STILL repost the same thing to a "repost" group. xBin posting tools won't let people repost stuff that's already in the group wihout having to click "Do it anyway". It should help prevent dups. But, at the same time, when dups are posted, at least everyone will be able to make use of all the dumps to fill holes. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: David Magda
Date: Mon, 03 Feb 2003 13:15
Date: Mon, 03 Feb 2003 13:15
14 lines
1876 bytes
1876 bytes
curt@kcwc.com (Curt Welch) writes: [...] > is the fact that it requires "so much work". And the same > complexity tends to help keep the unwashed masses out of Usenet. [...] It's too late for that: it occured when AOL got 'Net access. -- David Magda <dmagda at ee.ryerson.ca> Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Re: xBin and PARity files
Author: Kjetil Torgrim Homme
Date: Mon, 03 Feb 2003 13:32
Date: Mon, 03 Feb 2003 13:32
48 lines
3415 bytes
3415 bytes
[g]: > > >> >bullshit. Norwegian law does not conflict with the Berne Convention > >> >etc., that's the whole point of joining it. come on, stop handwaving > >> >and show us some proof. > >> > >> Oh, bullshit yourself. It's not too difficult - go read even the > >> little blurb about WIPO at www.wipo.org/about-ip/en > > > >why don't you read the treaty instead? that's what matters. > > The treaty says the countries will honor copyright laws of the > other countries. no, it does not. that would be an impossible task, since a member state can change its copyright legislation at any time. > >this does not conflict with what I said. possession of pirated goods > >is not illegal (they can be seized, though). reproducing or selling > >is. > > WTF is "seized" and financial rewards for loss for? Because it's > legal? if I pay for a copy made by someone without reproduction rights, that copy is illegit. this is not illegal, but the police can seize illegit copies if they happen across them. the person making copies and selling them is liable to compensate the owner of the work for his loss. > >again, this relates to reproduction. you are allowed to make copies > >of published works[1] for personal use, but you are not allowed to pay > >someone to make the copy for you. also note that you don't have to > >own the original you make a copy of. > > > >[1] computer programs are exempted. > > Where is that in your law cause I can't find your interpretation. this is in section 12. btw, the legality of personal downloads from the Internet, even of illegitimately published material, was confirmed by the verdict in the case IFPI (the international RIAA) vs. napster.no. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin and PARity files
Author: Curt Welch
Date: Mon, 03 Feb 2003 18:55
Date: Mon, 03 Feb 2003 18:55
54 lines
4148 bytes
4148 bytes
g <gypsy@dont.you.dare.spam> wrote: > Ok, question here and it's based on something I read somewhere withi > one of these posts - and maybe I'm misremembering but it's kinda tough > to find stuff. Yeah. No kiding. > Anyway, dim bell in head says someone somewhere along > the line was saying something to the effect that it doesn't matter which > group the file was posted to - is that right? Not quite. > That if I have an svd, > for example, that had the files by the name of yadayada-svcd.part01.rar > (etc) and contained yadayadadoesdallas.mpg and someone else downloaded > my post and extracted the file - and then tried to repost it, xbin would > recognize the content within the differently named files and bark at the > poster? Are you saying the mpg is inside the rar? If so, no xBin will have no hope of spotting that. It could only have a hope to helping if someone was trying to repost the exactly same raw file (bit for bit) that had been downloaded. If they download part01.rar, and then later try to repost part01.rar, the xBin posting tool could warn them about that. But that of course is up to the posting tool. The xBin article lables just makes it possible. People can still write "cheap" posting tools that make no attempt to warn them of problems. And, if you make so much as one bit change to the file before trying to repost it, it will be see as a "different" file and no dup detection would be possible. xBin might help with dup detection, but it's no solution to the problem of people posting the same "content" over and over again in different forms. And, at least at first, there will be no way for a posting tool the check for dups over the entire server. It would only check for for dups in the groups that it had been told to monitor. And it would have to do that by downloading Message-Ids first. This would work better if the download tool and the posting tool was one and not done as separte applications (or if they could share the same database about the server) Then, then the posting software would have access the the headers on the server without having to do something like re-download message-IDs from the same server. Down the road however, news servers could index "files" just like they index "articles" now. If they did, then the newsreader would be able to ask the server if it had file "~XB~H....." and the server clould tell it all the chunks of the file it had (in any group) just like you can retreive articles by Message-ID now. If that day came, then the posting clients could easilly prevent cross-group dups of the same file (but never solve the "same content" problem). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Mon, 03 Feb 2003 19:50
Date: Mon, 03 Feb 2003 19:50
151 lines
8152 bytes
8152 bytes
Ad�n Eti�n <nomail@co_m.net> wrote: > curt@kcwc.com (Curt Welch) > >xBin is likely to make that only worse at first. Over time however, the > > You have no idea how *worse*? I hate to agree with gypsy but she's > nailed this 100 ways to Sunday <Hi gypsy!> It just won't work ~ anytime > soon. What makes you think I have no idea "how worse"? I've been running full feed servers for some time now. I know all about usenet volume. I look at usenet volume graphs multiple times a day, every day. xBin is not an attempt to "fix" the volume problem. It's an attempt to make dealing with the volume possible. Anything you do to make usenet easier to use will cause the volume to only jump higher. I know that. But I can, and do, deal with the volume. > Put 1/10 the energy into a posting requirement/guideline/policy as you > have in Xbin and you might not have to bother with Xbin for another year > or ten. > > It must be identical across all NSP's so there is NO wriggle room. > Do that and you've removed the largest segment of excess postings. Can't happen. This is Usenet. There is no one in control of Usenet. There never will be. If you want a commercial moderated discussion group, go to AOL. And forget about posting any binaries. The reason the binares are posted here is because no one is in control. You can't have your cake and eat it too. If you put someone in charge of Usenet, then they will also be forced to take responsibility for all the content on Usenet. And that's too risky, so they will be forced to block everything interesting. alt.* would be gone. We don't waste our time trying to do what you suggest because it's totally unworkable. > It's been mentioned the only way out of the mess of excess binaries is by > education, We can't force people to drink the "education" which is available. Peer presure is a major part of what keeps Usenet working at all, but, as you and g know, it only goes so far. What's left is what you have to live with. It's just a fact of life on Usenet. And the more people you have on Usenet, the worse it gets. I've been watching it get worse for over 10 years now, so I have some experience with how it's chagned over the years. What we can do is try to make Usenet more useable given the fact that you will never be able to fix all the users behavior problems. xBin is all about that. xBin for example will allow you to share information about what was posted off-line like on a private moderated mail list where you can keep the "crazy" people out of "your group" yet still use Usenet to share very large files. This is just one of many things that become "more workable" with xBin. > if your new code won't prevent UNnecessary reposts entirely > your're not going to hit the target. Why do you see UNnecessary reposts as the problem which must be solved? > There are many of us who have been on the floor with binary attachments > trying to get the message across to others for years, as long as you guys > writing the code for the servers have been around. YEnc was the first > thing that came around that looked like it had promise, too bad parchive > and PostMost was wrapped and able to burn up the wires, "wrapped and able to burn up the wires"? What does that mean? And what is PostMost? > Xbin may be the greatest downloader ever created but if the people are > not behind it *they wont care* Make it upload or download faster (lie if > you have to) :) not my style. :) > Offering another magic bullet who's claim to fame is that > it eliminates excessive reposts by uniquely ID'ing a binary file > <of whatever form> will turn the stomachs of those that live to repost > day in day out. I've never tried to make that xBin's "claim to fame". I guess part of the problem with people seeing it as valuable is that it doesn't provide "one big fix" for anything tangable. What it does mostly is open the door for advancement by building binary transport into Usnet "correcly". This idea is probably far to abstract for non programmers to "get". I don't think many will have problems "getting it" if they were given a well written xBin compatibale newsreader. > > >>> "click "Do it anyway". It should help prevent dups" <<< > > Does ANYONE have any question what will happen *IF* that function exists? > > They'll push it with their little meese until it falls off. How is > anyone going to migrate all the posters on earth to use this great tool > in the second place? If it is great, the will migrate on their own. If it's not great, then no one will migrate. > I don't think you'll even approach a basic policy > discussion but I'm sending this for the halibut since I've recently > mentioned it to no less than 5 people that all said "your nuts, no one's > going to do that" ! Would you like be named the "Director of Usenet"? Would you like to find yourself in jail for what you allowed someone to "post" on your Usenet? I will never be willing to take responsibilty for what people choose to use Usenet for. I can however help help Usenet work better. So I do what I can. > >servers will be able to improve so they won't need to waste disk space > >on reposts that are unneeded for that server. xBin I think can take us > >to a time where that works automatically. > > You're going to be fixing servers for a long time, That my goal. It's what I've been doing for the past 5 years and I'd like to keep doing for the next 10. > this is not meant to > piss you off, it's humorous to me and probably would be to thousands of > others if they saw these threads. Let them come laugh. It might do them some good. We can cross post to rec.humor.funny if it would help. :) > Let me clarify this - you are proposing software modifications that > will preclude anyone having the necessity to repost 1/2 of discus.XYA > that a person located at server B did not see from the original post at > server A. The guy at server B will be able to "get it all" when it shows > up - one day.. > > meanwhile : > > Randy the Reposter and his 16 evil-eyed twin brothers walk in with > SuperPoster Mega and shoot the missing half (322 rar's!) to server C, D, > E,FGHIJK <ectera> finally "guy at server B" will only have to download > ONE of the 17 extra sets till you get the server side code worked out for > 100,000's of servers. > > Is that it? Yeah. I think so. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Rene
Date: Tue, 04 Feb 2003 23:39
Date: Tue, 04 Feb 2003 23:39
42 lines
3184 bytes
3184 bytes
David Magda <dmagda+usenet@ee.ryerson.ca> wrote: > Basically you're saying that the content is the same, just the > encoding is different. Yes. xBin does not care nor mandate any specific encoding. Its the content, the original file before processing for usenet transport that gets hashed (and by that uniquely identified) > And assuming xBin (or rather the program that implememnts it) is able > to handle UUE, yEnc, Base64, etc., it should be able to piece > together the file regardless of which parts were encoded in which > format. Yes. Mix from whatever is currently available. > So although Alice encoded 'mickeymouse.iso' in UUE resulting in 40 > parts, and Bod encoded the same CD with yEnc and produced 30 parts; > the algorithm should be able to determine that parts 39 and 40 from > Alice are the equivalent as part 30 from Bob. Yes, from the overview data alone, the xBin client sees that this is the very same file that is being posted. This is possible because we put some of that meta-data into the message-ID. > Presumably the filenames don't even have to same if a hash of the > original content is used in matching pieces together. That way if > Alice and Bob both encode the same CD, Alice can name it > 'mickey_mouse.iso' and Bob calls it 'steamboat_mickey.iso' and it > should not matter. > > Is this an accurate summary? Yep. That's exactly what is possible with xBin. Of course that's not all - a lot of cool things are possible once this fundament is standing. But I'm quite sure that you see now that only adding these small (more or less - it can go up to 1000 chars) header data is bringing a huge benefit and possibly more in the future. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Kjetil Torgrim Homme
Date: Wed, 05 Feb 2003 00:59
Date: Wed, 05 Feb 2003 00:59
97 lines
5353 bytes
5353 bytes
[Curt Welch]: > > That's a point I wouldn't have thought about. Do we know enough > to be in the position to make a strong recommendation [about how > many fragments a PAR file should cover]? well, even if we (I) don't know the workings of PAR intimately, I feel I know enough about probability calculation to analyse the problem. not that I have done so, yet :) > Is it even resonable to pick a single number for everyone to use > as a default? a large number like 100 clearly can't be used for small files. btw, the default would be better specified as the smaller of (number of remaining fragments) and 100. > My instincts tell me that any number we might pick would tend to > become outdated at some point in the future yet the optimal number is a function of the lossiness of Usenet. however, if lossiness gets very low, the entire concept of PAR information gets obsoleted. > everyone that wrote a xBin Message-ID decoder would be required to > add that "100" default into their code for the rest of time. It > doesn't seem right to force any constant (other than 0 or 1) into > a standard when it's not required and likely to be ignored at some > point in the future. this is small potatoes compared to the code to handle the possibly obsolete PAR files ;-) > If N is not optional, then maybe it shoudn't even be a separate > parameter? Maybe both the par file number and the span size > should be encoded into the P value somehow? If the par formula > number is limited to 256, then put that in the lower 8 bits and > the N value into the higher bits and encode it as a single number > which is the ~P parameter? ugh! > > the algorithm I specified will actually produce the sequence > > > > 20 20 20 20 19 19 19 19 19 19 19 19 20 > > > > where the last block is only partially full. I don't think this > > matters much, the PAR file covering the last article will simply > > contain 22500 bytes more than necessary. > > Yeah, the above makes the article sizes closer but creates a minor > problem with the PAR files. If you want to create a PAR file > (using the specification system we are talking about in this > article) that spans the last 5 articles of the above post you > can't do it. The PAR file would end up covering only the first 19 > blocks of that last article. right. I misspoke. > One thing you could do is post those PAR file (which covers > everything expect the last partial block of the file, and then > just re-post the last partial file as is in a small file in case > anyone needed it. But that's getting strange. not very :-) > However, posting the orginal as 20 20 19 19 19 18.5 takes the > strangeness out. The article sizes are not as close together in > size this way, but, the shortest article is the one posted last, > and since smaller articles tend to move though usenet slightly > faster, that's not really a bad thing either - i.e. the last > article posted moving faster and catching up with the previous > ones. this would work as well, of course. the downside is that the delta between smallest and largest article is now two blocks rather than just one. > In the end however, either would work with xBin as we are talking > about it now, so people that write the posting tools could decide > for themself what they think works best and post it either way. true, but I think the recommendation on fragment sizes in the spec is needed, and it should give the preferred result. > As far as what we talk about in the spec, maybe the simpler way > (which produces posts with articles that aren't as close in size) > is the better one to go with because this is very complex already > for a lot of people? Or maybe we could mention both? I don't think the algorithm is that different, I think it may actually be a little more complicated. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: xBin and PARity files
Author: Curt Welch
Date: Wed, 05 Feb 2003 02:03
Date: Wed, 05 Feb 2003 02:03
86 lines
5750 bytes
5750 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > the algorithm I specified will actually produce the sequence > > > > > > 20 20 20 20 19 19 19 19 19 19 19 19 20 > > > > > > where the last block is only partially full. I don't think this > > > matters much, the PAR file covering the last article will simply > > > contain 22500 bytes more than necessary. > > > > Yeah, the above makes the article sizes closer but creates a minor > > problem with the PAR files. If you want to create a PAR file > > (using the specification system we are talking about in this > > article) that spans the last 5 articles of the above post you > > can't do it. The PAR file would end up covering only the first 19 > > blocks of that last article. > > However, posting the orginal as 20 20 19 19 19 18.5 takes the > > strangeness out. > this would work as well, of course. the downside is that the delta > between smallest and largest article is now two blocks rather than > just one. > > > In the end however, either would work with xBin as we are talking > > about it now, so people that write the posting tools could decide > > for themself what they think works best and post it either way. > > true, but I think the recommendation on fragment sizes in the spec is > needed, and it should give the preferred result. > > > As far as what we talk about in the spec, maybe the simpler way > > (which produces posts with articles that aren't as close in size) > > is the better one to go with because this is very complex already > > for a lot of people? Or maybe we could mention both? > > I don't think the algorithm is that different, I think it may actually > be a little more complicated. The algorithm for calculating the number of bocks in each article is identical in complexity either way. For your way, when the last block is a parital block, you round down to get the number of blocks to do the calculations with and then just add the "stub" block on the end of the last article. With my way, you round up and make the "stub" block the last block of the last article. What's not as simple is the algorithm for generating par data and the fact that when you want to post PAR files, you end up having to post a very short data article as well. (an article which can be as small as 1 byte). Having to post a 1 block data file when you are trying to post 20 block par files is not exactly keeping the files all the same size nore is it going to be various obvious to the user why the software just posted a short data file when they thought they were trying to post PAR files. And, there's the issue that the posting software has to have the speical code to "know" that it needs to post that data file. Or, maybe the par posting code has to be so complex and general purpose anyway that it can take any strange description of missing data from multiple repost requests and tend to generate a strange mix of par and "real" data files all the time so none of my concerns is really relevent? :) What I'm talking about is you can have a case where a file gets posted in a normal way, and someone picks up 80% of it but is missing a bunch of articles. Then the file gets reposted a few weeks later but the article size is completely different. The first guy then fills in a lot of his missing data with articles from this new post. But there are still many "holes". However, the actual location of these holes is a strange mix of the alignemt of the posts from the first and second post. He then sends out an autmoated "repost request file". A few others send out equally strange descriptions fo the "holes" they have left in their data. The software then combines all those requests together and ends up with a bunch of data that needs to be reposted. Then it uses an internal algorithm to figure out the minimum amount of data that can be posted to fill all the requests using a strange combination of PAR files and data files with the PAR files having block alignments that seem to have nothing to do with either of the orginal posts. If PAR data is always generated by a complex algorithm like that, then it makes no difference how the stuff is first posted so why not use the file leveling technique. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Rene
Date: Wed, 05 Feb 2003 16:21
Date: Wed, 05 Feb 2003 16:21
119 lines
7335 bytes
7335 bytes
g <gypsy@dont.you.dare.spam> wrote: > That's what rene says based on his two months experience on binary > usenet. I go a little farther back and say it ain't necessarily so. Three now, but read on... > A ".ISO" file that contains an image of an ISO-9660 filesystem can be > manipulated in a number of ways: it can be written to a CD-ROM; mounted > as a device with the Linux "loopback" filesystem (e.g. "mount > ./cdimg.iso /mnt/test -t iso9660 -o loop"); copied to a hard drive > partition and mounted under UNIX; or viewed with WinImage (section > (6-2-2)). There is no guarantee, however, that a ".ISO" file contains > ISO-9660 filesystem data. And it is quite common to hear people refer to > things as "ISO" which aren't. > > Note the last two sentences in particular. That's what I'm talking > about and that's what rene doesn't even know exists. OR you could Yes I *do* know that it does exist. I wasn't saying every file with an .iso extension is an iso. I was ALWAYS talking about an iso-image which is an iso Image with regard to the ISO-9660 specification. I've also made that clear, two times IIRC. It is perfectly clear to me that anyone can rename a .jpg file to .iso. That doesn't make an iso out of the jpg. Such a thing was perfectly clear to me and obviously I wrongly thought that it would be clear for anyone. So let me just say: Whenever I said ISO file or "a .iso" for short, I meant a fully compliant ISO-9660 image. There, three times now. But you know, just push me far enough and I do the work *you* should have done for you: I've taken a hour of my time and sat down, grabbed a CD and made images out of it. Here's the result: I took my 97 (or 98?) Original Unreal 1 CD - that's a PC game. Its succsessor has just been released and is currently provoking repost-storms in some NGs. But that's irrelevant. Anyhow, I booted up my old Win98 installation which I only rarely use nowadays since having moved to W2K for serious work. I only had 2 programs installed which were capable of doing cd-images, CDRWIN3 (exact version 3.7F from August 1999) and CloneCD (Version 3.3.4.1). CDRWin created a bin/cue set, CloneCD created CCD, CUE, IMG and a SUB file. And guess what, CloneCD's IMG file has the exact same length as CDRWin's BIN file. And guess what's more, both files produce the same MD5 fingerprint. And guess what's *even* more, that's exactly what I am talking about all the time: That these image formats are 1:1 bitwise copies of a CD-content and therefor *C*A*N* be exactly the same. There are different formats and they can differ, because some include ECC, some not, some include subchannel data and some not. And considering ISO-images, my argument was and still is, that ANY programm who creates an ISO-image that is indeed a ISO-image (iso-9660) and not something similar, will create the very same file. Additionally I also made a dd=/if/cdrom of=/file.iso to create a .iso. That file became smaller and is therefor clearly something else. Or I better say: It proofs that the BIN/IMG file of the programs mentioned above is not an ISO-image. Also it is clear that Clone-CD *did* do some additional work, because it also did save the subchannel data in the .SUB file. Here's the full details of my test: First block is the md5 sums of the files, second is the directory listing: 736afdf67c28ddf0e04969ce4ac15431 *U1-CLONE.CCD 4304222f5fad65690daf7494921a2515 *U1-CLONE.CUE d2f781754e8c4c4103ad541078ee9050 *U1-CLONE.IMG cdc08d3193e0d49c1bd0fd82f7fee1a6 *U1-CLONE.SUB d2f781754e8c4c4103ad541078ee9050 *u1-cdr3.bin d11df6642e1f3e15c3926de313e26f51 *u1-cdr3.cue 8520d2cb3f041a067b19b87bd2857868 *u1dd.iso -rw-r--r-- 1 drax users 773 2003-02-05 15:53 U1-CLONE.CCD -rw-r--r-- 1 drax users 72 2003-02-05 15:53 U1-CLONE.CUE -rw-r--r-- 1 drax users 531540240 2003-02-05 15:56 U1-CLONE.IMG -rw-r--r-- 1 drax users 21695520 2003-02-05 15:56 U1-CLONE.SUB -rw-r--r-- 1 drax users 531540240 2003-02-05 15:53 u1-cdr3.bin -rw-r--r-- 1 drax users 81 2003-02-05 15:53 u1-cdr3.cue -rw-r--r-- 1 drax users 462837760 2003-02-05 15:02 u1dd.iso Back to the first paragraph: It seems that the three-month binary newbie just told you how that technical stuff works. As I've written already, my access time on binary usenet bears no information at all of what I know and understand and of what I am capable of. You've chosen to ignore that the first time I wrote it, but this time I even sat down and wasted some time to proof my point. It is by no means a scientific work and I am not going to waste more time to make it such, but I did at least provide proof that what I claimed does exist. I did never nor do I say so now that *all* image formats are equal. They all are very similar because they don't invent stuff that's not on the original disk, but they can and will differ in details. But not always. And they won't if they are truely .iso files. And the chain of argumentation that lead us here was: IF it is the same file, THEN it has the same hash. IF it has the same hash, THEN xBin is going to pick it up. Unfortunately I don't have any Windows Program that does create .iso images, because I'd liked to compare it to the output my Linux dd has produced. But I didn't knew in advance that the files produced by CDRWin and CloneCD are going to be equal. > rummage through cdmage or isobuster and the assorted ISO formats within > them. Unless xbin is gonna handle converting ISO formats also? No. It is not going to and it doesn't need to. We came to this little dispute because of xBin's ability to pick up data even if it is differently labelled and as you hopefully see now, EVEN if another program created the image and the image has a different file-extension but is in fact the very same thing. EOD? -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Thu, 06 Feb 2003 21:04
Date: Thu, 06 Feb 2003 21:04
161 lines
8931 bytes
8931 bytes
Dr. Cd Image <yaba@delphi.c_c> wrote: Do you always change the name to a Dr. of a specific field to avoid having to provide proof? > >considering ISO-images, my argument was and still is, that ANY programm > >who creates an ISO-image that is indeed a ISO-image (iso-9660) and not > >something similar, will create the very same file. > > That logic is flawed and you missed the boat. Showing what an ISO is No it is not. See [1] and [3]. "Disc Image A single large file which is an exact representation of the whole set of data and programs as it will appear on a CD, in terms of both content and logical format. This may be an ISO 9660 image (adhering strictly to the ISO 9660 standard), or some proprietary format such as the .cif format used by Easy CD Creator. " Or how about [4] ? "A CD image is a file which contains a complete CD. A CD is made of one or more tracks. An image is essentially a byte for byte, sector for sector duplicate of those tracks. A true image is made by doing what is called a track read, that is reading the track or tracks and dumping the data in them into a single file. The good thing about an image is that even if you do not have the original CD, you can still make an exact duplicate from an image. " There, another proof. I've yet to see *any* proof from your side. You tend to simply say "no, you're wrong." or "no, you're too inexperienced" or you simply ignore parts of my replies. That behaviour really reminds me of something. In which consulting company do you work? > supposed to _be_ is not equal to what an ISO currently _is_ or may be > tomorrow. I can upload *YABA* [yet another burner app] it writes strict I know what an ISO is. It is a filesystem complying to the ISO-9660 Standard that has been written and *finalized* in 1988. Anything that is not complying to this (old) standard is either something entirely different or an *extension* of it. And there are many extensions. And it was never mattering anyway. I said I am refering to ISO-9660 and not to something similar. Thanks for once again ignorantly leaving that out. Or, to use a source that has been given to me in this thread, [2] says: "In common use, an "ISO" is a file that contains the complete image of a disc. Such files are often used when transferring CD-ROM images over the Internet. Depending on who you're talking to, "ISO" may refer to all disc image files or only certain kinds. Going by the more restrictive definition, an "ISO" is created by copying an entire disc, from sector 0 to the end, into a file. Because the image file contains "cooked" 2048-byte sectors and nothing else, it isn't possible to store anything but a single data track in this fashion. Audio tracks, mixed-mode discs, CD+G, multisession, and other fancy formats can't be represented. " That's what I said. 1-to-1 representation of the disk. I said it in a less fancy way and we can argue in how far "cooked" invalidates my argument. But that won't happen, because you're going to just overlook that *fact* - again. But while we are at that webpage, why don't we just read a bit along, shall we? He continues to write - and this is very important, so don't overlook it as you tend to overlook my text (Still quoting from [2]): "(The rest of this section is a philosophical rant, and can safely be skipped. This is intended to be more illustrative than factual, and any relation to actual events is strictly coincidental.) [..] As a result of this filename extension convention, any file that contained a sector-by-sector CD-ROM image was referred to as an "ISO file". When CD recorders hit The Big Time and many people started swapping image files around, the newcomers didn't know that there was a distinction between one type of disc image and another, and started referring to *any* sort of disc image as an "ISO". " Two things in this paragraph: a) "sector-by-sector" - is what I refer to as 1:1-representation. b) "the newcomers didn't know [..] and started referring to *any* sort of disc image as an "ISO". " - I was always talking about strict ISO-9660 .iso images. I was always seeing .iso and ISO-9660 compliant as equivalent. I saw that there seemingly are people who don't do this, so I wrote it explicitly and repeatedly from one point on. > comparative data bits or file structures. The app routes through ASPI so > I can run it on Win 2 k. Its not a slick package for sale but has a gui > and works perfectly when creating and injecting iso to disc with a > generic SCSI MMC command set. You are free to create any software that does whatever you like. However I don't see any relevance of this to our discussion here. > 3 months of binary usenet and a few images combined with your immense > file storage knowledge dont automatically give you the inside track of > what a real ISO-9660 compliant file structure is compared to the images > that software packages used on linux or windows based computers generate, > now does it? Look for many years of Deidre Straughan's archived Oh be careful when you give references. I might just look them up and they might just again proof my point. See [5] (read the full thread): " : Or is the *.cif proprietary to EZCD Creator, versus the *.iso file which : I can only assume is a standard ISO 9660 file format??? Yes - cif is proprietary, iso is standard and the images can be used with other software." By the way, my google only found 3 archived articles matching "Deidre Straughan ISO" and about 65 without ISO. > newsletters on google. You are about 1,000,000 pages behind so dont > expect to catch up with people who have 20 plus years of intimate > experience in this technology in a few months your false bravado is > unbecoming. Again you are slamming my knowledge while providing no proof from your side and only ignoring the ones I have given to you. You really are a consultant, aren't you? > Youre the person getting it wrong its only right for you to perform your > own work or be stuck playing with geek code on newservers forever, your > choice. Extreme cool way to avoid the need to counter my proof ! I will certainly write that up so I can use such a great maneuver once I cannot back up my claims with facts. I'll name it "The G-avoidance maneuver", I hope that's ok with you ! [*] > >I've taken a hour of my time and sat down, grabbed a CD and > >made images out of it. Here's the result: > > Amazing ~ :) Yes indeed. I didn't knew before that CDRWIN and CloneCD produce the very same files. You neither, otherwise you'd have to admit I'm right at some point in this discussion. Still awaiting *any* proof from your side, but I'm no longer expecting it. You know, should you simply not like me or something, just say so outright. I can handle that. But don't repeatedly try to display me as stupid idiot with claims you cannot back up. Thank you. [1] http://www.roxio.com/en/common/gloss1.jhtml#DiscImage [2] http://www.cdrfaq.org/faq02.html#S2-28 (Link given to me in <0mis3v81ali5gtnromaikatsqih4ndck1l@4ax.com> ) [3] http://www.cdmediaworld.com/hardware/cdrom/cd_cdr_glossary.shtml#D [4] http://www.cdrwcentral.com/modules.php?name=Sections&op=viewarticle&artid=5 [5] http://groups.google.com/groups?hl=de&lr=&ie=UTF-8&selm=69d8hj%24eod%40sf18 .dseg.ti.com [*] That's my kind of sarcasm. I have a habit of writing back in the same tone I'm being talked to. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Thu, 06 Feb 2003 23:22
Date: Thu, 06 Feb 2003 23:22
67 lines
4357 bytes
4357 bytes
Jango Fett's Clone <jango_fetts_clone@yahoo.com> wrote: > >There, another proof. I've yet to see *any* proof from your side. You > >tend to simply say "no, you're wrong." or "no, you're too inexperienced" > >or you simply ignore parts of my replies. > > Sorry Rene, but everyone who has told you that not all ISO images of a > given CD are the same are right. I just made images of my Norton Arghhh! Yes I KNOW. The point is, just because it calls itself iso, does not mean it IS an iso. (Gypsy even said so) iso is short for ISO-9660 compliant, and *any* tool which creates an ISO-9660 image MUST come up with the same data in the file or it is NOT creating an ISO-9660 image but something else. Unfortunately, people started to call anything ISO, but IMG or "image" would have been correct. Today, a pure 9660 iso is seldom used, because it does not contain the data necessary to circumvent copy protection schemes. Almost anything sent today called xyz.iso is not an iso. However, the paragraph you quote above was not directly about this but about the fact that gypsy insisted to say that a disc-image is not a 1:1 representation of what is on a cd. Up to a certain point this is even true, because some image formats don't include subchannel or ecc data, which *is* on the CD. However that doesn't matter at all regarding from where this discussion came from: If two times the same file is being posted from different people using their respective software producing a disc image, then chances are quite high that they are sending the very same file, independently. And xBin could profit from both (or an xBin server could reject the later one) > Internet Security 2003 CD with several different utilities, all as > standard ISO images, not proprietary formats, and created SFV files to Nope, if they would adhere to the standard, they would be identical. That's my point. Or did the content of your CD change while switching your program? I guess not. So if they WOULD adhere to the standard, how do you explain the differences ? Why does one programm see something the other do not, when all it does is dump what's on the CD ? Seemingly, they add some data of their own. But that's NOT what an ISO-9660 image is. If your .iso file contains something that is not on the CD, then it is not a pure disc-image. It would be interesting to see if the checksums of only the first, say 1MB of data are the same. If so, they append something. If your CD has a copy protection (and something bearing the name 2003 is quite likely so) then a pure ISO-9660 iso-image would result in a copy which fails the copy-protection test and is therefor unusable. Your disc-images are very likely usable, they are very large (800MB) which tells me that they include ECC data, a thing that ISO-9660 does not. (2048 vs 2352 bytes per sector) > Now will you PLEASE drop this pointless thread? Yep, its boring myself. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Thu, 06 Feb 2003 23:46
Date: Thu, 06 Feb 2003 23:46
45 lines
3209 bytes
3209 bytes
curt@kcwc.com (Curt Welch) wrote: (I'm also replying a bit out of order, sorry) > Or, maybe the par posting code has to be so complex and general purpose > anyway that it can take any strange description of missing data from > multiple repost requests and tend to generate a strange mix of par and > "real" data files all the time so none of my concerns is really relevent? > :) Yep, I thought about something like that. Its not even that complicated. - collect repost requests - "line them up" (overlay where applicable) - then scan the imaginary band with gaps from left to right. Seek small (however that is defined) gaps. "Fix" them with reposts. - For any remaining gap, prepare for PAR creation and look up how many gaps one PAR can fix (especially when a PAR is region dependent). Repeat until all gaps are fixed. Optimisation: Once it is known where PARs are going to be created, try to remove some reposts and see if they can be dealt with PARs at the same time. > The software then combines all those requests together and ends up with a > bunch of data that needs to be reposted. Then it uses an internal > algorithm to figure out the minimum amount of data that can be posted to > fill all the requests using a strange combination of PAR files and data > files with the PAR files having block alignments that seem to have > nothing to do with either of the orginal posts. If PAR data is always Yep. The problem we are having is, that article size and therefor any PAR-alignment is unpredictable. If there is only one poster then it is more or less clear, however xBin has the power to combine a file from any source anywhere so the chances are quite high that any assumption about article size and par-alignment will fail. > generated by a complex algorithm like that, then it makes no difference > how the stuff is first posted so why not use the file leveling technique. Yes, go with that. We don't have any influence about alignment anyway. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Fri, 07 Feb 2003 00:38
Date: Fri, 07 Feb 2003 00:38
50 lines
3499 bytes
3499 bytes
Jango Fett's Clone <jango_fetts_clone@yahoo.com> wrote: > begin 664 oeblocker.exe On 06 Feb 2003 23:22:10 GMT, Rene > <invalid@email.addr> wrote: > > > > >Your disc-images are very likely usable, they are very large (800MB) > >which tells me that they include ECC data, a thing that ISO-9660 does > >not. (2048 vs 2352 bytes per sector) > > 800MB???? Where do you get that? Can you not count the digits in a > number? Each of them is only around 80MB. Jup, right sorry. I was off by 10. Looking at the sample data again one other thought strikes me. All images are multiple's of 2048, so there is no subchannel and ECC data in them. Now suppose they all adhere to the iso-standard, then you see at the file size alone that every image has a different number of sectors. There is one .iso with the least number and one with the most and one in the middle. So if they all claim to be iso-9660 images, and the creation of those happen by starting at sector 0 of the track to the end at the last sector. How then can the sector count be different ? Either the larger ones have superflous sectors or the smaller ones have too few sectors for the full iso-9660 file system (iso-9660 defines a filesystem, not the layout of an arbitrary file!) ?? How can they all claim to be iso-9660 compliant when all of them get a different sector count? Which one is right? Which one is wrong? You surely see that they can't *all* be adhering to iso-9660 when that is a defined filesystem mapped on a CD-rom starting from the first sector in the track to the last one ? In my eyes this is a clear contradiction. At least two of the three files can't be iso-9660 if one is a iso-9660 compliant .iso image. Please note that non-iso-9660 compliant doesn't mean you can't mix and burn them with each others programms. These are essentially raw CD-ROM sector blocks, so they are more or less universally usable. The link [1] originally provide by Gypsy is really a very good one. It explains it a lot better than I could ever do. [1] http://www.cdrfaq.org/faq02.html#S2-28 -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Fri, 07 Feb 2003 01:27
Date: Fri, 07 Feb 2003 01:27
39 lines
2933 bytes
2933 bytes
curt@kcwc.com (Curt Welch) wrote: > Rene <invalid@email.addr> wrote: > > Well at the end of the day, if people are posting and posting and > > posting the same stuff over, nobody's gonna help that. Nothing - on the > > client side - does take away the ability to use one's brain... if those > > posters want to post things that need no posting, well xBin's not going > > to stop them either. > > Well, more interesting, a well written xBin posting tool will scan a > group before starting to post and by default, not repost any part of a > file which is already in the group (no matter whether you posted it or > somebody else posted it). This would make re-starting a failed post > automatic. You just tell the tool to repost the entire file, but the > tool's default behavior is to respond with "Parts 1 to 26, 32, and 46 are > already on the server - I'll just post the missing parts...". To make it Yep. But the problem arises if this user is on the only server which has these parts - all others are missing them. Then you need to have the ability to override. If those with missing parts are using xBin clients though, the won't cry for parts that are available to them. > re-post parts which are already on the local server you would have to hit > a few extra buttons for "yes I really really know what I'm doing and I > want you to do that". Yes, and this *will* create unneccessary reposts. They may make sense in that scenario but it is still a duplicate on at least one server. > Good tools really can help deal with "refuse to engage brain" problems. Yes, and if there are only 30% duplicates instead of 50% then it does help. I've lost count on how many tdi-lotr-ttt's I've been seeing lately. Server side rejection, will help tremendously. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Rene
Date: Fri, 07 Feb 2003 01:38
Date: Fri, 07 Feb 2003 01:38
42 lines
3212 bytes
3212 bytes
curt@kcwc.com (Curt Welch) wrote: > Rene <invalid@email.addr> wrote: > > Well why not simply define the regions such as they are power of two's > > blocks, so they are (in the full hash tree of the full file) covered > > somewhere by one single hash ? Then you'll only need to include that > > single hash. > > Well, that's not bad. But it makes it hard to do that and to also keep > the PAR file virtual regions aligned with the orginal articles you are > trying to repair. So then you are forcing the PAR articles to be strange > sizes and you are forcing the user to download extra PAR data (because of > the alignment problems). You can't align anyway. The user can get his blocks from any number of sources who may or may not use different article sizes. There will be overhead at the edges - it's unavoidable. That's why we need to find a good threshold where a repost is better than a par. I certainly see the reason why to make a PAR fit in a single article, but when we really want to do that, I say kick PAR and use a one-article repost in the first place. PAR is powerfull but not when cut down to such small sizes ! The advantage of PAR over repost is that it can fix more than one gap for several users. If the PAR has to be small, the region it can cover is going to be small too. Thus the potential benefit decreases while a certain overhead in producing the PAR data remains. The disadvantage therefor is that it is additional data taking up space on newsservers and has overhead to calculate and use. The question thus becomes: How do we weight the one against the other? I still stick with "fix small gaps or gaps almost everyone has with reposts and only use (big) PAR when you can fill-up several gaps in one turn" But what is a small gap and what not? Where is the threshold that says now use PAR ? -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: Curt Welch
Date: Fri, 07 Feb 2003 21:46
Date: Fri, 07 Feb 2003 21:46
438 lines
22492 bytes
22492 bytes
Ad�n Eti�n <nomail@co_m.net> wrote:
> curt@kcwc.com (Curt Welch)
> >Ad�n Eti�n <nomail@co_m.net> wrote:
> >> curt@kcwc.com (Curt Welch)
> >> >xBin is likely to make that only worse at first. Over time however,
> >> >the
> >>
> >> You have no idea how *worse*? I hate to agree with gypsy but she's
> >> nailed this 100 ways to Sunday <Hi gypsy!> It just won't work ~
> >> anytime soon.
> >
> >What makes you think I have no idea "how worse"? I've been running full
> >feed servers for some time now. I know all about usenet volume. I look
> >at usenet volume graphs multiple times a day, every day.
>
> Apparently looking at charts and graphs all day every day has little
> informative value of who, how, when, where, or why, usenet has so much
> repetitious content to deal with. That is a problem, one that should be
> getting a lot of attention on how to repair a little, IMO.
>
> You want to manage the content that contains binary attachments <yenc'd>
> that's really a cool idea Curt. There should be a way for news service
> providers to manage the users via their TOS that puts REPETITIOUS content
> 'out of bounds' too.
>
> You say that's content oversight, I think not, the MPAA or NSA didn't
> write the current TOS's in use - you guys did. You can modify them at
> will to preclude people redoing others uploads with a single line
> statement and possibly a link to {Read This}
>
> Tell folks coming onto the systems that there are 2 ways to put the
> content on the system. A "right way" and the "other way" let users that
> generate many complaints from OTHER users hit the highway at some point
> if need be. I tend to think many will fall in line out of fear of
> getting a 'non-compliance' e-mail. Peer pressure may be able to have a
> positive effect again, instead of being regarded as net-nazis and usenet
> kooks who sit at a pc in the corner of some flop 20 hours a day.
My TOS says you can't do anything to "disrupt the functioning of Usenet".
I've never received a _single_ complaint about one of my users flooding a
binary group with repetitiuous content. If I had, I would have acted on
it.
This hasn't been a problem for me, or for the way my TOS is written. I
have no problem if you want other servers to respond to problems better
than they currently do. I was just saying that any ideas of getting
_every_ usenet site to agree and act on a resonable TOS is just crazy.
> >xBin is not an attempt to "fix" the volume problem.
>
> That's not what I saw, it looks like you're working on a way to prevent
> people from injecting bogus parts into an ongoing or reasonably fresh
> binary upload. Did I get that part wrong?
Yeah. That's not we are "working on". It was just a possible beniffit of
what we had come up with.
> >It's an attempt to make dealing with the volume possible. Anything you
> >do to make usenet easier to use will cause the volume to only jump
> >higher. I know that.
>
> Dealing with volume seems to go hand in hand with keeping the systems
> operational, that is and should be transparent at the user level, until
> it breaks :)
Volume doubles every year. Every year we have to double the size of our
servers. Every year. Year after year. The only issue with keeping it
working is making sure you have someone to pay for it.
> >But I can, and do, deal with the volume.
>
> I have a couple of questions.
> Were any savings realized by implementing yenc?
For total usenet volume? None.
If you upload, or download, a fixed size bianary file, the end-user sees a
real savings in the amount of data they have to transfer (a 28% savings),
but there was no savings on Usenet volume. It continued to grow at the
same rate it has always grown. More people simply started to upload more
data once they had yenc.
> Using off the cuff measurements, assuming yenc has saved bandwidth,
> if 100% posts were uue today, what would the % saved be in real world
> dollars - and whose dollars are those - user dollars or News Provider
> dollars?
0. Yenc didn't reduce the operational costs of running a server at all.
> <just that I'm just curious, and you're pretty open to talk - so far :)>
> I'm not here to be a pest, this is interesting and your ideas are pretty
> damn innovative, it's nice to be able to read them.
>
> >> Put 1/10 the energy into a posting requirement/guideline/policy as you
> >> have in Xbin and you might not have to bother with Xbin for another
> >> year or ten.
> >>
> >> It must be identical across all NSP's so there is NO wriggle room.
> >> Do that and you've removed the largest segment of excess postings.
> >
> >Can't happen. This is Usenet.
>
> Yes it can Curt, it takes one (did I say one, yes 1) line in the TOS,
> besides that who's to say that all newservers can't use the same TOS - a
> generic 'one fits all' that contains the best of the best and ditches the
> rest?
There are 100,000 servers out there. Feel free to contact them all and ask
them. No one is going to do it.
> >There is no one in control of Usenet.
>
> No there are several people at the systems that matter. All the control
> that's needed is in those TOS "agreements" people have to live by when
> they sign up for service.
>
> You, as a news provider have head bonking power.
And I use it. And like I've said, I respond to all abuse complaints and
will help everyone work out their problems. And I've had _no_ complaints
about binary posting habits of my users.
But a lot of the larger sites just won't do that. Some mostly ignore abuse
issues (usenet server), other's just TOS people at the drop of a hat
(giganews).
There's no way in hell you are going to get all the sites to agree on one
TOS. If you have a problem with someone posting, send the site an abuse
complaint. If they ignore your abuse complain, how do you think you, or I,
am going to get them to change their TOS to "make them" respond to an abuse
complatin they already decided to ignore?
> We're on a divergent point, the 'clean hands' part of usenet says a
> newsadmin doesn't know doesn't see doesn't censor, therefor cant have his
> feets put to the fire over what users upload or download as long as DMCA
> requirements are met. That's fine, no need wasting time trying to get
> around the impregnable.
Well, the way most that works means that you can "pretend" not to "know" as
long as you are willing to respond to problems when they are reported. But
that's all about real "legal" problems. Flooding usenet with duplicate
content is not a legal problem, it's a usenet problem. Spending the time
to research and respond to those problems costs a lot of real money. Not
all sites can justify spending that money.
> >We don't waste our time trying to do what you suggest because it's
> >totally unworkable.
>
> You said it, but the fact is that TOS agreements are everywhere I've seen
> where people can (publicly) gain entry to usenet - and by extension that
> should apply to outsourced customers.
TOS aren't unworkable, getting _every_ usenet site to agree on the same TOS
is what I said was unworkable. Feel free the start contacting sites and
make it happen. All it takes is someone to spend the time to make it
happen. If you think it's imporant, feel free to start working.
> >> It's been mentioned the only way out of the mess of excess binaries is
> >> by education,
> >
> >We can't force people to drink the "education" which is available.
>
> If you give them the first dose right up the nose in the TOS it's almost
> guaranteed that as soon as 'someone' jacks 100 triplicated attachments
> into a group as 'unnecessary replication' that 'someone' will have
> generated complaints to the system administrators whose machine can smack
> them with a canned 'don't do that' letter. How often do you have to deal
> with a user over a 3rd or 4th DMCA hits?
Sure, TOSs work. Mine works fine. It gives me full power to wack any user
that I think is causing probems. Getting all 100,000 admins to respond to
abuse complaints and to agree on what's "abuse" is what is not workable.
No one is in charge of Usenet. All 100,000 sites have pretty much the right
to define "abuse" any way they want. If they are too far outside the
"norm", their peers will drop them and they won't be part of Usenet, but
you have to be way outside the norm, and generating a huge amount of abuse
volume, before that happens.
> >Peer
> >presure is a major part of what keeps Usenet working at all, but, as you
> >and g know, it only goes so far. What's left is what you have to live
> >with. It's just a fact of life on Usenet. And the more people you have
> >on Usenet, the worse it gets. I've been watching it get worse for over
> >10 years now, so I have some experience with how it's chagned over the
> >years.
>
> I've seen many changes as a user and a minor operator in these
> parts. I like usenet, I like the size, the growth, the ability to expand
> across continents, generations, cultures and become a smelter that
> anyone can pour almost anything they want into, but limits are there
> on 'what's acceptable' already. What IS the big deal to tell people via
> the TOS that posting in a manner as described {here} is unacceptable?
>
> What I don't like is uploading 500mb of binary attachments and seeing
> that before the post is finished someone else has taken it upon
> themselves to replicate it 'just to help out' (and all they really wanted
> were the parts that haven't arrived yet).
>
> Resmelting part of someones uploads in the hope of someone else
> resmelting those that didn't make it to crapnews.B is not acceptable.
> The various TOS's can say such.
>
> Peer pressure without a SUPerior has no thooth and cannot generate even
> a lowly automated bitch complaint from the news service to the person
> doing the uncalled for (aforementioned) resmelt. (I'm getting hungry for
> a McSmelt Sandwich, wish I'd come up with a better term)
>
> If users don't see a downside they wont NOT do something that they
> shouldnt. (a triple negative!)
>
> Put a name on it and stick it in the TOS, take 'some kind' of action on
> valid complaints from the community and part of the madness will
> disappear.
>
> Or not, heh. Absolutes on usenet can get your ass in a sling.
>
> >What we can do is try to make Usenet more useable given the fact that
> >you will never be able to fix all the users behavior problems. xBin is
> >all about that.
> >
> >xBin for example will allow you to share information about what was
> >posted off-line like on a private moderated mail list where you can keep
> >the "crazy" people out of "your group" yet still use Usenet to share
> >very large files. This is just one of many things that become "more
> >workable" with xBin.
>
> We can and do that now! Generate a unique "fileset ID" for an upload and
> the download tool will find them. What remains is indexing those fileset
> ID's to a human readable form - like the list we get now.
>
> Since I brought that up why reinvent that part of the wheel? It's
> already done and offload from-Usenet tools are short work. What else do
> you need besides a kind of fileset id? Web front ends do a good job on
> usenet article indexing,, running the search on the fileset id via web or
> an NNTP tool sounds good. I don't have a clue how to do that I hope xbin
> can - if this is intended to be used for uploads and generates some tag
> to grab a complete set of files "off of usenet somewhere" the sooner you
> have that hammered out the better.
What xBin does is give you a small (50 character or so) ID to define the
file set which can not be forged. If I want to tell you about something
neat on Usenet, I can pass you that ID, and you will be able to get the
files I wanted you to get and not be tricked into geting something else.
And it's all automated. So you just give you download tool that small ID,
and it will get all the files for you without you having to go "searching"
for a post with a given name or without the web site listing all 2000
Message-IDs of all the articles in the set. THis power opens up a lot of
possibilities.
> >> if your new code won't prevent UNnecessary reposts entirely
> >> your're not going to hit the target.
> >
> >Why do you see UNnecessary reposts as the problem which must be solved?
>
> UNnecessary reposts are the genesis of poor posting, it is THE action
> people find that is extremely easy to do, one bad process learned leads
> to another.
>
> I'm not sure but I think you began looking for a way to stop people /
> tools from usurping posts with bad parts <sections> - yes?
Well, where we really started was with trying to get better information in
the article headers so download tools could do a better job of
automatically graping the right articles and graping the correct reposts or
par files to make it all work without _any_ help from the user. But, once
you take the human out of the loop, you need to put some security in to
prevent people from abusing the group by posting files to "trick" these
automatic download tools. So that was step two.
> Did you know
> anyone can currently do that with lowly agent *if* they bother to look
> for the correct procedure? It's in there and can be used several ways,
> not to mention the other tools that were designed to blast supersedes
> and cancels around willy nilly.
Sure, it's trivial right now to fuck up the current download tools by
posting fake messages with the correct subjects. With xBin, it's
impossible to stop the tool from getting the correct file. At best, you
can slow it down by tricking it into downloading some fakes as it tries to
find the real ones. But with xBIn, finding the real ones is all automatic
so the user doesn't need to step in and help it.
> >> There are many of us who have been on the floor with binary
> >> attachments trying to get the message across to others for years, as
> >> long as you guys writing the code for the servers have been around.
> >> YEnc was the first thing that came around that looked like it had
> >> promise, too bad parchive and PostMost was wrapped and able to burn up
> >> the wires,
> >
> >"wrapped and able to burn up the wires"? What does that mean? And what
> >is PostMost?
>
> "wrapped up and ready to use" (my bad). PostMost is Powerposts internal
> name on windows.
Got it.
> >> Xbin may be the greatest downloader ever created but if the people are
> >> not behind it *they wont care* Make it upload or download faster (lie
> >> if you have to)
> >
> >:) not my style. :)
>
> heh - I read your posts, get someone else to do it! I know one fella
> that got something over on usenet not so long ago.
I talk a lot with Juergen.
> >> Offering another magic bullet who's claim to fame is that
> >> it eliminates excessive reposts by uniquely ID'ing a binary file
> >> <of whatever form> will turn the stomachs of those that live to repost
> >> day in day out.
> >
> >I've never tried to make that xBin's "claim to fame". I guess part of
> >the problem with people seeing it as valuable is that it doesn't provide
> >"one big fix" for anything tangable. What it does mostly is open the
> >door for advancement by building binary transport into Usnet "correcly".
>
> To do this don't you need to restructure nntp into nntp2? New server
> software, new storage software, new client software and new posting
> software?
Nope. That's why xBin looks so interesting. It's something small we can
do now without having to change NNTP or the servers yet it gives us the
ability to much of what we would like with "binary transport" on Usenet.
Mostly, it's just a matter of adding stuff to the headers so by looking at
the headers, the servers and the clients can figure out that the article is
transporting data, and not a "text message". Sure, the article still _is_
a text message with data encoded into it, but now we can treat it like data
because just by looking at the Message-ID, we know it's a data article, and
we know "whats" in the article, wihtout having a human read the subject.
> >This idea is probably far to abstract for non programmers to "get". I
> >don't think many will have problems "getting it" if they were given a
> >well written xBin compatibale newsreader.
>
> I just caught up with the threads, and a reread is in the works, you
> generate almost as much text as I do. Your code is out of my range, but
> the concept is easy enough to grasp. I felt the impending need to unload
> the lack of usenet binary repost guidelines somewhere. Your bad luck.
>
> >> > >>> "click "Do it anyway". It should help prevent dups" <<<
> >>
> >> Does ANYONE have any question what will happen *IF* that function
> >> exists?
> >>
> >> They'll push it with their little meese until it falls off. How is
> >> anyone going to migrate all the posters on earth to use this great
> >> tool in the second place?
> >
> >If it is great, the will migrate on their own. If it's not great, then
> >no one will migrate.
>
> I have no doubt, is this a 3 month process from here to -> there?
Hard to say. I have a working xBin posting tool right now. No one has
tried to write an xBin download tool - and that's where most the real work
is in the software. But before we do that, we are still hashing over
potential future issues. If we were to drop everyhing and code our current
ideas, we could have nice tools in place in weeks and have usenet addicted
to it in a few months. But we realy realy don't want to lock anything in
stone until we are sure it's something we think would be fair to force
Usenet to live with for the next 50 years. This isn't something that will
be easy to change after it's in use. YOu need to make sure you've done
everything you can to "get it right" be you let it out.
> >> I don't think you'll even approach a basic policy
> >> discussion but I'm sending this for the halibut since I've recently
> >> mentioned it to no less than 5 people that all said "your nuts, no
> >> one's going to do that" !
> >
> >Would you like be named the "Director of Usenet"?
>
> Only if I get a commemorative plaque or something of similar value.
> If it's a paying job thing, no, maybe, vote me in and I'll think on it.
>
> >Would you like to find yourself in jail for what you allowed someone
> >to "post" on your Usenet?
>
> How do you know I'm not in jail? (you guys have a hot backchannel 'eh?)
>
> >I will never be willing to take responsibilty for what people choose to
> >use Usenet for. I can however help help Usenet work better. So I do
> >what I can.
>
> Thank you, I take responsibility for my posts*. If you can help
> usenetters understand that they don't need to pitch in without looking,
> with a chunk of software or a TOS statement - the planet will probably
> rotate with less friction. <*not this one>
>
> >> >servers will be able to improve so they won't need to waste disk
> >> >space on reposts that are unneeded for that server. xBin I think can
> >> >take us to a time where that works automatically.
> >>
> >> You're going to be fixing servers for a long time,
> >
> >That my goal. It's what I've been doing for the past 5 years and I'd
> >like to keep doing for the next 10.
>
> aha! Curt at work, I see job security in your future ;)
>
> >> this is not meant to
> >> piss you off, it's humorous to me and probably would be to thousands
> >> of others if they saw these threads.
> >
> >Let them come laugh. It might do them some good. We can cross post to
> >rec.humor.funny if it would help. :)
>
> feh. Some joker would send it into alt.alien.vampires.fffffffff
>
> >> Let me clarify this - you are proposing software modifications that
> >> will preclude anyone having the necessity to repost 1/2 of discus.XYA
> >> that a person located at server B did not see from the original post
> >> at server A. The guy at server B will be able to "get it all" when it
> >> shows up - one day..
> >>
> >> meanwhile :
> >>
> >> Randy the Reposter and his 16 evil-eyed twin brothers walk in with
> >> SuperPoster Mega and shoot the missing half (322 rar's!) to server C,
> >> D, E,FGHIJK <ectera> finally "guy at server B" will only have to
> >> download ONE of the 17 extra sets till you get the server side code
> >> worked out for 100,000's of servers.
> >>
> >> Is that it?
> >
> >Yeah. I think so. :)
>
> ok. you do the snipping, cause I DONT WANT TOOOOOO ::))
I don't either. :)
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Wed, 12 Feb 2003 19:16
Date: Wed, 12 Feb 2003 19:16
38 lines
3283 bytes
3283 bytes
Rene <invalid@email.addr> wrote: > curt@kcwc.com (Curt Welch) wrote: > > Rene <invalid@email.addr> wrote: > > > Well at the end of the day, if people are posting and posting and > > > posting the same stuff over, nobody's gonna help that. Nothing - on > > > the client side - does take away the ability to use one's brain... if > > > those posters want to post things that need no posting, well xBin's > > > not going to stop them either. > > > > Well, more interesting, a well written xBin posting tool will scan a > > group before starting to post and by default, not repost any part of a > > file which is already in the group (no matter whether you posted it or > > somebody else posted it). This would make re-starting a failed post > > automatic. You just tell the tool to repost the entire file, but the > > tool's default behavior is to respond with "Parts 1 to 26, 32, and 46 > > are already on the server - I'll just post the missing parts...". To > > make it > > Yep. But the problem arises if this user is on the only server which has > these parts - all others are missing them. Then you need to have the > ability to override. If those with missing parts are using xBin clients > though, the won't cry for parts that are available to them. Yeah, or if someone is posting from a server with 30 days retnetion it's not going to help the rest of the world to have parts misssing just because they were posted 3 weeks ago. We need a lot more practical experience with these types of tools to know for sure what they should do and to really understand the problems. You want the software to default to "doing the right thing" but you don't want it to end up creating more problems than it solves by sending out partial posts which most people won't be able to use or which most people will simply ask for reposts of the missing parts. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Curt Welch
Date: Wed, 12 Feb 2003 21:01
Date: Wed, 12 Feb 2003 21:01
189 lines
11187 bytes
11187 bytes
Rene <invalid@email.addr> wrote: > curt@kcwc.com (Curt Welch) wrote: > > Rene <invalid@email.addr> wrote: > > > Well why not simply define the regions such as they are power of > > > two's blocks, so they are (in the full hash tree of the full file) > > > covered somewhere by one single hash ? Then you'll only need to > > > include that single hash. > > > > Well, that's not bad. But it makes it hard to do that and to also keep > > the PAR file virtual regions aligned with the orginal articles you are > > trying to repair. So then you are forcing the PAR articles to be > > strange sizes and you are forcing the user to download extra PAR data > > (because of the alignment problems). > > You can't align anyway. The user can get his blocks from any number of > sources who may or may not use different article sizes. There will be > overhead at the edges - it's unavoidable. It's all a matter of probability. What are the odds that people got their data from more than post? If I post a 1000 part file which has never been posted before, and I start to see repost requests, I know for a fact that all of them got the data from my orginal post. If I post par data which is allined with the orgnal articles, then that data is going to be of maximum use to everyone asking for a repost. Of course, without the system in use, it's very hard to know how it's going to be used. However, with your system, where the PAR data is defined by some constant defintion and is _never_ alingned to the articles, people will always be forced to download extra PAR data which will be of no use to them. If you can prevent downloading extra data 50% of the time, why not do that? > That's why we need to find a good threshold where a repost is better than > a par. This is something that's had to understand without more re-world usage to guide us. It is something the repost tool can always calcaulte no matter what system we use. But it can only calculate it if it has all the repost requests - which it never will. There will always be people missing parts which don't bother to post a repost request. The more par data you post, the more likely you are helping someone who didn't ask for help. > I certainly see the reason why to make a PAR fit in a single > article, but when we really want to do that, I say kick PAR and use a > one-article repost in the first place. You are mis-understanding something very basic about RS data. I know you understand this, but you just haven't "seen it" yet. Let me help... Par data is not article, or file oriented. It's word oriented (i.e. the word sized used for the RS calculation). For the rest of this, I'll assume we are talking about 8-bit words, i.e. bytes, but as you know, we could pick 16 bit words as well... Every byte of RS data protects N well defined bytes from the file. Every byte of RS data is useful on it's own. If I was able to recover only 10 bytes of RS data from a PAR file, it would be useful to help fill in missing bytes of a file I wanted to download. For your idea, you are thinking about dividing the large file into some fixed sized virtial segments (like 8MB), and them posting PAR "files" for those virtual segments. But because your virtual segments are larger than a typical article, one of your "PAR" files, might actaully be 16 articles of 512K each. However, your virtual "PAR FILE" will have problems if one of it's articles is lost. But, what's important, is that every byte, of every PAR article is useful by itself. One of your par articles is useful even if the other 9 were lost. Your first 512K PAR article, ends up protecting the first 512K over every one of you 8MB "virtual" segements. A download tool needs to know this. It needs to know exactly what PAR bytes are in every article, and it needs to know which bytes from the full file it's protecting so that it can calculate which articles it needs to download. It's stupid as hell to make a download tool download 16 par articles when in fact, all it needed was articles 3 and 4 from that. So what's most important is that the headers (hopfully the Message-ID alone) will tell the download tool everything it needs to know about the par data in eacy article to figure out if that article is useful and to figure out "how" useful that article is to minimize wasted downloads. > PAR is powerfull but not when cut down to such small sizes ! PAR is defined in terms of small sizes - bytes. > The > advantage of PAR over repost is that it can fix more than one gap for > several users. If the PAR has to be small, the region it can cover is > going to be small too. If a PAR article is 500K it covers multiple 500K chunks of file wether you use your system or mine. It's the same either way. It's only a question of how those 500K virtual segments are spread over the file. With your system, the 500K chunks one of your PAR articles covers are spread out through the file with gaps between them but will always span the entire file. With mine, the chunks are always contiguous, but may not span the entire file. So, if you break the large file into "article-size" chunks, and number all the chunks in the file from 0 to 10,000, one of your par articles (one "chunk" in size), might cover chunks 0, 100, 200, 300, etc from the file. The next article you post then covers 1, 101, 201, 301, etc, the third article you post will cover 2, 102, 202, etc.... One of my chunks instead covers 0 to 99. The next one covers 100 to 199, the next one 200 to 299, etc. You see, there is in fact very little difference between our systems. What's most important is that that the download tool can figure out exactly what data is being protected by each PAR article posted. We can actaully label the articles so either could be used. But it would requre either adding yet another paramater to the Message-ID from what I had proposed. It would require that you not only specify the size of the chunk, the offset of the first chunk, and the repeat count (which I had already specified), but it would also require a "spacing" argument which specifies how far apart each chunk was spaced. In your idea, this "spacing" would be pre-defined for all par files as your "virtial PAR segment size". And the repeat count would be unneeded because your PAR files are always assumed to span the entire file. However, to allow the download tool to make use of each PAR article without forcing them to have to find the entire "set" for a virutal segemnt, you need to label each article to make it clear what the offset, and size, of the RS data in the PAR article was. > Thus the potential benefit decreases while a > certain overhead in producing the PAR data remains. If someone is missing articles 4 and 5, and can post two par files which scan articles 1 to 100. The amount of data I have to scan to calculate the par files is 100 articles. The amount of data they have to download is exactly the same as the amount they are missing. If anyone is missing 1 or two articles out of those first 100 they can use my par files. If your "virtial" files span 8.5 articles each, and if the entire post is 500 articles, then with your system you are trying to get people to post 2 PAR files of 8.5 articles each, and to calculate those PAR files, the code will have to scan all 500 articles of the file. How is forcing the par generation system to scan 500 articles instead of 100, and forcing someone to post 17 articles instead of 2, and forcing someone to download 17 articles instead of 2 "more effecent"? So you say they should just repost articles 4 and 5 in this case. How is that better than reposting two par files of the same size which lots of people might have been able to use? And, in your system, as it turns out, the first person didn't really have to post 17 articles anyway because not all that PAR data was needed. Only the par data spanning articles 4 and 5 was needed. So if your "8.5 article PAR FILES" where actually posted as 8.5 articles, then only articles 4 and 5 from the first set would be needed. So with your system, you could post "the right thing" as long as they are labled correctly so the download tool could figure that out. So, mostly what is important here is to have a system that correctly labels each file so that each PAR file can be used on it's own to fix missing data. > The question thus becomes: How do we weight the one against the other? The question is how complex do you really need to make par articles. Is consetive par segements (my system) good enough, or is it really important to be able to space them out over the file (your system). And is it important to limit the range of the protected segments (required in my system because 8 bit words can't span larger files), or is it wise to force them to always span the entire file (your system). If they always span the entire file, then either you have to limit the max size of the file, or define the "virtual PAR segments" as a function of the file size. BTW, I don't expect 99% of the people that read this post to understand what the fuck I'm talking about. If you don't understand how the RS algortihm works, and carfully follow my use of terms like "file", "virtual segment", "chunk", and "article", you will get lost very quickly. It would really be a lot easier to explain this if I could draw pictures. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Chris
Date: Wed, 19 Feb 2003 08:34
Date: Wed, 19 Feb 2003 08:34
79 lines
5503 bytes
5503 bytes
I figured this was a good place to jump in... On Wed, 12 Feb 2003 21:01:44 +0000, Curt Welch wrote: [snip] > The question is how complex do you really need to make par articles. Is > consetive par segements (my system) good enough, or is it really > important to be able to space them out over the file (your system). And > is it important to limit the range of the protected segments (required > in my system because 8 bit words can't span larger files), or is it wise > to force them to always span the entire file (your system). I've just read through the RS Coding pdf that was linked to somewhere in this thread, and it seems that implementing a 16 bit parchive system isn't that difficult. That would mean that the number of segments covered + number of parity volumes could be up to 65536. 24 bits is feasible as well, but 32 bits requires too much memory. Using a 16 bit parchive would mean that your parity posts could cover a larger span of articles. Why couldn't xBin handle both systems (consecutive par segments vs. spanning entire file)? In the Message-ID where you're specifying that this article contains parity data, you can just as easily specify what data it is protecting. As long as each article specifies this, it doesn't really matter which method is used, does it? > For your idea, you are thinking about dividing the large file into some > fixed sized virtial segments (like 8MB), and them posting PAR "files" > for those virtual segments. But because your virtual segments are > larger than a typical article, one of your "PAR" files, might actaully > be 16 articles of 512K each. [snip] > We can actaully label the articles so either could be used. But it would > requre either adding yet another paramater to the Message-ID from what I > had proposed. It would require that you not only specify the size of the > chunk, the offset of the first chunk, and the repeat count (which I had > already specified), but it would also require a "spacing" argument which > specifies how far apart each chunk was spaced. > > In your idea, this "spacing" would be pre-defined for all par files as your > "virtial PAR segment size". And the repeat count would be unneeded because > your PAR files are always assumed to span the entire file. However, to > allow the download tool to make use of each PAR article without forcing > them to have to find the entire "set" for a virutal segemnt, you need to > label each article to make it clear what the offset, and size, of the RS > data in the PAR article was. Sorry, I'm not familiar with how you have specified the parity data header so far, so bear with me. Is the specification that difficult? For parity data covering consecutive articles you could do something like: ~P1~S524288~R0-99 meaning that this is the first parity volume, with size 512K and that it spans articles 0-99 alternatively: ~P1~S524288~R0,8388608 meaning that this is the first parity volume, with size 512K and that it spans data starting at 0 with virtual segment size 8MB The only real difference is how the data is being split up...Maybe allowing both is the best solution. Allow the header to specify consecutive sets of articles and/or bytes, or uniformly spaced sets of articles and/or bytes. The CPU time involved is only less for the consecutive article method when you don't intend to post redundant data for the entire file. You say posting parity data along with (or even before) the actual data is bad. It's only bad if people are willing to promptly honour request for reposts. I almost never find 100% of an original post, so I appreciate it when people post a few parfiles along with so that I can fill in any missing gaps. In the end, I think it's the specification of what data is being protected with parity that is really important, not what that data is. Cheers, Chris
Re: xBin and PARity files
Author: Kjetil Torgrim Homme
Date: Fri, 21 Feb 2003 19:55
Date: Fri, 21 Feb 2003 19:55
117 lines
6360 bytes
6360 bytes
[Chris]:
>
> I've just read through the RS Coding pdf that was linked to
> somewhere in this thread, and it seems that implementing a 16 bit
> parchive system isn't that difficult.
interesting. how about CPU, RAM and temporary disk space
requirements? won't the computation for PAR file 1000 be prohibitive?
(I should read that PDF myself...)
> That would mean that the number of segments covered + number of
> parity volumes could be up to 65536. 24 bits is feasible as well,
> but 32 bits requires too much memory. Using a 16 bit parchive
> would mean that your parity posts could cover a larger span of
> articles.
that would be useful.
> Why couldn't xBin handle both systems (consecutive par segments
> vs. spanning entire file)? In the Message-ID where you're
> specifying that this article contains parity data, you can just as
> easily specify what data it is protecting.
it does, actually, but we don't support fragmentation of PAR files.
> Sorry, I'm not familiar with how you have specified the parity
> data header so far, so bear with me.
| P parity file number. the type is integer. this parameter is
| mandatory for parity files.
|
| N parity fragment coverage. how many fragments the parity
| information contains redundancy information for. the type is
| integer. this parameter defaults to 100[TBD] or the number of
| remaining fragments, whichever is smaller.
> Is the specification that difficult? For parity data covering
> consecutive articles you could do something like:
> ~P1~S524288~R0-99
> meaning that this is the first parity volume, with size 512K and
> that it spans articles 0-99
this is almost exactly what we have, except we use "s" for "S" and a
combination of "N" and "o" for "R". as worded, your "R" requires
information of the segment sizes of the original posting...
> alternatively:
> ~P1~S524288~R0,8388608
> meaning that this is the first parity volume, with size 512K and that it
> spans data starting at 0 with virtual segment size 8MB
... but you probably noticed that :)
> The only real difference is how the data is being split up...
the PAR tools in current use contain metadata. we (well, at least I)
want pure parity information, and keep the metadata separate. this
means breaking compatibility, unfortunately.
> In the end, I think it's the specification of what data is being
> protected with parity that is really important, not what that data
> is.
I wrote a little more on the draft:
parity files
============
a parity file can be recognised by looking for the tag "P". the hash
("H") and total size ("S") are the values from the original, complete
file. by tagging the parity data with the xBin file id of the
original file, software can easily find and download the parity
information it needs. it is also useful for news administrators, as
any administrative policy which hits the articles containing the data
(e.g., refused due to its total size) will also hit the articles
containing the parity for it (no use keeping parity for a refused
file).
the offset value "o" points to the first block of the original file
which can be reconstructed using the parity data. the parity data
covers the next "s" * "N" blocks of the original file.
for a parity file, the "s" tag is mandatory. the parameter holds the
size of the parity data contained in the article. the size MAY be
different than the segment size of the original article, but this is
discouraged:
* differently sized articles will see differences in propagation,
meaning some users will see only the parity or only the original
data, depending on which is sent in larger segments.
* if parity data straddles the segment boundaries of the original
articles, the user may have to download two parity files to
compensate, even though s/he only needs the last half of one and
the first half of the other.
file identification
===================
the msgid only identifies a single article, so users need a way of
referring to a complete file.
the xBin file identifier consists of the root hash and the total size
of the file. when a user is presented with an offer to download a
file, it is convenient to know the size of the it in order to estimate
download time or free disk space. including the total size in the
identifier also reduces the risk of hash collisions.
the format of an xBin file id is "~XB~H" hash "~S" size "~~". the
ordering of "H" and "S" MUST be followed.
--
Kjetil T. | read and make up your own mind
| http://www.cactus48.com/truth.html
Re: xBin and PARity files
Author: Curt Welch
Date: Fri, 21 Feb 2003 23:30
Date: Fri, 21 Feb 2003 23:30
214 lines
12473 bytes
12473 bytes
"Chris" <nobody@rogers.com> wrote: > I've just read through the RS Coding pdf that was linked to somewhere in > this thread, and it seems that implementing a 16 bit parchive system > isn't that difficult. That would mean that the number of segments > covered + number of parity volumes could be up to 65536. 24 bits is > feasible as well, but 32 bits requires too much memory. Using a 16 bit > parchive would mean that your parity posts could cover a larger span of > articles. It's unclear to me what the cost and value of that is. I really feel the need to write some RS code to get a better understanding of this. From the pdf, it seems that you need to do that special type of math on those 16 bit words, and it seems like the math is best done using lookup tables. And I think that means for 16 bit words, you need two lookup tables which have 65536 entries with each entry being 16 bits. So you need 256KB of lookup tables in your code to do that math. That seems workable, but it is a lot of data and limits the size of machine you can run the algorithm on. Though that may not be relevent. (and I may have my facts wrong about the size of the look-up tables needed). However, what I suspect becomes more important is the amount of CPU and DISK overhead comes into play when you use RS data which spans thousands of virtual segements. If I download a 1,000 part post (over a period of a week maybe) and I'm missing 1 part, then it is of course neat that someone could post a single PAR article to help anyone which lost any single post. But, once I get that par article, the RS code will be forced to scan all 999 parts of the file and do the math, on all that data. If the PAR files only covered sets of 100 articles each, then the people posting the PAR data will be forced to post more PAR articles to cover the entire post, but everyone missing a single article will still only have to download a single PAR file to fix it. And, the compution work will only have to scan, and do math, on 100 articles instead of 999 articles. As files get really huge (and over time, they are only going to get worse), this might become very significant. But, how much of a factor is this? How hard (CPU and disk-IO wise) is it to do the math to use the PAR data? The other issue is that we have no way of knowing if a par file is fake just by looking at the file (like we do with all the real data segments with xBin). This means someone can attempt to abuse the system and cause problems by posting fake PAR data. The only way to veryify the PAR data is to use it to generate real data, and then check the real data to see if it's valid. However, if i have a 10,000 part post, and I'm missing 200 parts, then, with PAR files spanning the entire post, I won't be able to generate any real data until I've downloaded 200 PAR files. Then, when I do all the math across my 9,800 valid parts and 200 unknown par parts, and find that the real data it generators is bogus, this only tells me that at least one of those 200 PAR files is a fake. I have no way of knowing which of those 200 par files is a fake without simply playing an computationaly huge game of mix-and match. I think, because of that problem, we will be forced to use PAR data which spans far fewer segments just to prevent abuse. And if, in practice we never need to span more than 100 posts, and seldom span more than 20, then what's the point of using a 16 RS word size instead of 8? And, no matter what word size you use, it will never be large enough to span the entire post. File sizes will continue to increase over time, and the number of articles the file is split into will also continue to increase, so any word size you pick will one day reach it's limits. So, is there a justifiable reason to allow the RS word size to be specified in the data and force the tools to be smart enough to deal with different word sizes? Or do we pick one size? And if we do that, is there a good reason to go with 16 bits instead of 8? I really don't know the answers to this and feel I need to have a better understanding of real RS code before I can make any judgement about which is more important. > Why couldn't xBin handle both systems (consecutive par segments vs. > spanning entire file)? As currently proposed, it can of course span the entire file and be consecutive if the number of parts in the file is small enough (for whatever word size is used for the RS algorithm). We could add a little more information into the Message-Id to also allow the spanned data to be non-consecutive. (every 10th block) But I question the value of that. It seems to add nothing useful and only adds more complexity the algorithms will have to deal with to figure out what blocks are "prorected" by each PAR article. > In the Message-ID where you're specifying that > this article contains parity data, you can just as easily specify what > data it is protecting. As long as each article specifies this, it > doesn't really matter which method is used, does it? That mostly is what we are doing. The debate is really a matter of the amount of "power" you feel needs to build into the specification language. > Sorry, I'm not familiar with how you have specified the parity data > header so far, so bear with me. > > Is the specification that difficult? For parity data covering > consecutive articles you could do something like: > ~P1~S524288~R0-99 > meaning that this is the first parity volume, with size 512K and that it > spans articles 0-99 I think we were using ~S for the full file size, and ~s for the segment size. We used the normal offset and segment size to specify the first block of data covered by the PAR article and then simply added a repetition count to specify how many segments were covered (100 in your example). The word size of the RS algorithm was assumed to be fixed at whatever we picked for the standard - which would also limit the max repetition count. We could do something assuming the word size was defined by the count. So a count of 500 would meant the par data was using 16 bit RS words. This would allow download tools to only deal with PAR data that it knew it could work with I guess. > alternatively: > ~P1~S524288~R0,8388608 > meaning that this is the first parity volume, with size 512K and that it > spans data starting at 0 with virtual segment size 8MB Well, articles are not typically 8MB in size. So you can't post a single 8MB PAR article. If the PAR "files" are logically 8MB, that's fine, but then you have to post them in multiple parts. Which is also fine. But, the Message-ID needs to specify exactly what part this is and what data from the orginal file it covers. So think about what that means. If you break the file into 400KB articles, then you have 20 articles (of raw data) for each virtual 8MB PAR "segment". So, if I construct a single 8MB PAR file, I then have to post it as 20 articles of 400KB each. So look at the first PAR article you post. What data from the orginal "file" does it protect? It protects the first 400KB form each 8MB "virutal" par segment. Or, it protects articles 1, 21, 41, 61, etc from the orginal post. It does not in fact protect "the entire file". Each par article in that example only protects 1 out of every 20 posts. If I'm missing article 21, then I can doanlod that par article to "fix" my post. And I don't need to waste my time downloading the other 19 PAR articles which were posted. No mater how you split up the orginal file, and how you create PAR data, it's important for the tool to know exactly which segments of the file are protected by each PAR article so it will only have to download the PAR articles it needs and not waste it's time downloading 19 articles it doesn't need. To be able to specify the above, all you have to do is add a "skip count" of sometype, to the previous specification. i.e., you specify the first block protected by the par article using the offset and size, and then instead of assuming it's consecutive, you add a skip count of 20 (i.e. skip each 20 segments), and then use the same repitition count as before. But what does that buy you. Why is it better to have one PAR article covering posts 1, 21, 41, 61, and the next covering articles 2, 22, 42, etc, instead of having one PAR article covering posts 1-100, and the next cover article 101-200, etc? It just seems to me that supporting a specification language which allows for the coverage of non-consecutive ranges of data buys you nothing but unneeded complexity. > The only real difference is how the data is being split up...Maybe > allowing both is the best solution. Allow the header to specify > consecutive sets of articles and/or bytes, or uniformly spaced sets of > articles and/or bytes. Yeah, you can do that, but why? Why is supporting both better than one? What does it buy you? > The CPU time involved is only less for the consecutive article method > when you don't intend to post redundant data for the entire file. No, it's identical for both systems. It's just an issue of whether each PAR article you post covers articles 1,2,3,4 vs 1,5,9,13. With both systems you have the same options of posting par data for the entire file, or par data for just parts of the file. > In the end, I think it's the specification of what data is being > protected with parity that is really important, not what that data is. Yeah. Eacatly. Each _article_ of PAR data posted needs to have a specification that allows the download tool to know exactly what data from the full file is being proteced. The only question is how complex does the language need to be and what does it need to be able to specify. The download tool is going to have a very complex problem of looking at the articles on the server, and looking at it's internal knowledge of what bytes from the file it has, and what is still missing, and what PAR articles it might have already downlaoded, and trying to figure out what it needs to download to complete the puzzle. Given the fact that the data posts on the server can be all different sizes, and the PAR posts can span all sorts of different ranges, and the data currentely needed may have nothing in commong with the alignement of the articles on the server, the job of figuring out what to download in order to minimze waste I suspect is a very complex problem. Does allowing PAR data to span non-consecutive segments make this somehow easier or better? I really don't have the answers to that yet. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Chris
Date: Sat, 22 Feb 2003 17:42
Date: Sat, 22 Feb 2003 17:42
161 lines
9968 bytes
9968 bytes
On Fri, 21 Feb 2003 23:30:59 +0000, Curt Welch wrote: > From the pdf, it seems that you need to do that special type of math on > those 16 bit words, and it seems like the math is best done using lookup > tables. And I think that means for 16 bit words, you need two lookup > tables which have 65536 entries with each entry being 16 bits. So you > need 256KB of lookup tables in your code to do that math. That seems > workable, but it is a lot of data and limits the size of machine you can > run the algorithm on. Though that may not be relevent. (and I may have > my facts wrong about the size of the look-up tables needed). True, for the 16-bit version you need 256KB of lookup tables. You do need lookup tables for 8-bit too, but that's only 512 bytes. > However, what I suspect becomes more important is the amount of CPU and > DISK overhead comes into play when you use RS data which spans thousands > of virtual segements. > > If I download a 1,000 part post (over a period of a week maybe) and I'm > missing 1 part, then it is of course neat that someone could post a > single PAR article to help anyone which lost any single post. > > But, once I get that par article, the RS code will be forced to scan all > 999 parts of the file and do the math, on all that data. If the PAR > files only covered sets of 100 articles each, then the people posting > the PAR data will be forced to post more PAR articles to cover the > entire post, but everyone missing a single article will still only have > to download a single PAR file to fix it. And, the compution work will > only have to scan, and do math, on 100 articles instead of 999 articles. > > As files get really huge (and over time, they are only going to get > worse), this might become very significant. But, how much of a factor > is this? How hard (CPU and disk-IO wise) is it to do the math to use the > PAR data? The number of words read required to recover missing articles is equal to nArticlesSpanned * articleSize. The number of computations done is equal to nArticlesSpanned * articleSize (once you have the matrices set up...you have to invert a square matrix of size nArticlesSpanned). The 16-bit math is no more expensive than the 8-bit math (it's just all lookups in the tables). So it's a linear increase in processor time and disk accesses as you span more articles. > The other issue is that we have no way of knowing if a par file is fake > just by looking at the file (like we do with all the real data segments > with xBin). This means someone can attempt to abuse the system and > cause problems by posting fake PAR data. The only way to veryify the > PAR data is to use it to generate real data, and then check the real > data to see if it's valid. Yeah, I've been thinking about this...You do need to use the par data to generate real data and then validate it. A simple hash of the data included in the headers would be useful to detect corrupt articles, but won't protect against attack. > However, if i have a 10,000 part post, and I'm missing 200 parts, then, > with PAR files spanning the entire post, I won't be able to generate any > real data until I've downloaded 200 PAR files. Then, when I do all the > math across my 9,800 valid parts and 200 unknown par parts, and find > that the real data it generators is bogus, this only tells me that at > least one of those 200 PAR files is a fake. I have no way of knowing > which of those 200 par files is a fake without simply playing an > computationaly huge game of mix-and match. That's an aspect I hadn't thought about...That could be a really nasty problem. Heh, what about doing some cryptography in here too? We can validate articles, so include a public key in the article headers. Sign the par data with the corresponding private key. Everybody writing an xBin client will love us! > I think, because of that problem, we will be forced to use PAR data > which spans far fewer segments just to prevent abuse. And if, in > practice we never need to span more than 100 posts, and seldom span more > than 20, then what's the point of using a 16 RS word size instead of 8? None. > And, no matter what word size you use, it will never be large enough to > span the entire post. File sizes will continue to increase over time, > and the number of articles the file is split into will also continue to > increase, so any word size you pick will one day reach it's limits. Assuming you want to have the par blocks line up with the xbin blocks (22500 bytes), 16-bit par data can cover just over one gig. (22500 * 65534) > So, is there a justifiable reason to allow the RS word size to be > specified in the data and force the tools to be smart enough to deal > with different word sizes? Or do we pick one size? And if we do that, > is there a good reason to go with 16 bits instead of 8? No, we should pick one size...But this brings up something else I've been thinking about. There's been a lot of discussion about various constants...22500 block size, 4500 block size, maximum article size, RS word size, etc. What about including some kind of version number in the id? Like ~~XB0~ would be the prototype version and would have various constants defined as part of that version. >> Why couldn't xBin handle both systems (consecutive par segments vs. >> spanning entire file)? > > As currently proposed, it can of course span the entire file and be > consecutive if the number of parts in the file is small enough (for > whatever word size is used for the RS algorithm). > > We could add a little more information into the Message-Id to also allow > the spanned data to be non-consecutive. (every 10th block) But I > question the value of that. It seems to add nothing useful and only > adds more complexity the algorithms will have to deal with to figure out > what blocks are "prorected" by each PAR article. That kind of depends on why articles are lost in the first place. If articles close together are more likely to get lost than articles that are spread out, then consecutive coverage is the way to go. >> The only real difference is how the data is being split up...Maybe >> allowing both is the best solution. Allow the header to specify >> consecutive sets of articles and/or bytes, or uniformly spaced sets of >> articles and/or bytes. > > Yeah, you can do that, but why? Why is supporting both better than one? > What does it buy you? Flexibility! (I'm a CS major, so I love for everything to be completely generalized) You're probably right, the added complexity isn't worth any of the possible benefits. >> In the end, I think it's the specification of what data is being >> protected with parity that is really important, not what that data is. > > Yeah. Eacatly. Each _article_ of PAR data posted needs to have a > specification that allows the download tool to know exactly what data > from the full file is being proteced. The only question is how complex > does the language need to be and what does it need to be able to > specify. > > The download tool is going to have a very complex problem of looking at > the articles on the server, and looking at it's internal knowledge of > what bytes from the file it has, and what is still missing, and what PAR > articles it might have already downlaoded, and trying to figure out what > it needs to download to complete the puzzle. Given the fact that the > data posts on the server can be all different sizes, and the PAR posts > can span all sorts of different ranges, and the data currentely needed > may have nothing in commong with the alignement of the articles on the > server, the job of figuring out what to download in order to minimze > waste I suspect is a very complex problem. > > Does allowing PAR data to span non-consecutive segments make this > somehow easier or better? > > I really don't have the answers to that yet. Well, let's stick with 8-bit parity data spanning consecutive segments for now, and get some specifications and test implementations out there :) Also need to figure out how to encode the parity data...Hmmm... Cheers, Chris
Re: xBin and PARity files
Author: Curt Welch
Date: Sun, 23 Feb 2003 00:24
Date: Sun, 23 Feb 2003 00:24
69 lines
5093 bytes
5093 bytes
"Chris" <nobody@rogers.com> wrote: > Assuming you want to have the par blocks line up with the xbin blocks > (22500 bytes), 16-bit par data can cover just over one gig. (22500 * > 65534) Yeah, but it's assumed the article-sized segments are consicutive, not just the xbin blocks, so the limit would be much higher than 1GB. You can fit about 44 xBin blocks into a 1MB article, so the limit would be around 44GB if you were willing to use 1MB article sizes. It would be nice if we could span that much data with a single PAR article. > ...But this brings up something else I've been > thinking about. There's been a lot of discussion about various > constants...22500 block size, 4500 block size, maximum article size, RS > word size, etc. What about including some kind of version number in the > id? Like ~~XB0~ would be the prototype version and would have various > constants defined as part of that version. ~XB~ does serve as a "major version" tag. If you need to make a major change which will make the label incompatable with current clients, you can pick another tag like ~XC~. Though it's unlikely what a change that drastic will ever be justified. The system of labeling attributes like ~S ~P etc gives us the ability to add more information at any time. Clients should be written to ignore attributes they don't understand. Any future enhancements should be done by adding data as new tags instead of making changes to the previous well-defined tags. I don't see any advantage to adding a version number per se. If there is a growth path that seems like it could take advantage of a version number, we could add it later with a new paramater like ~V0. We do however have to take care to write the spec clearly so implementors understand how to correctly parse the the xBin ID so future changes will not break clients (such as exactly what characters are allowed after the ~ as a "tag" name) and to make it clear how the code needs to react to different forms of the xBin ID. > Well, let's stick with 8-bit parity data spanning consecutive segments > for now, and get some specifications and test implementations out there > :) Yeah, that's where I feel we are at this point. We need to get something working so we can get some more real-world experence with it. I think we have hashed over most of the PAR issues and understand what we are up against in terms of trying to build PAR/RS support into a xBin client. But the other possible approach of using external PAR tools (and perhaps making something work with current PAR tools (which is a completely different approach) might turn out to be more practical. The first step is to get the other basic stuff worked out and get a feel for how important PAR support really is in an xBin "world" in the first place. > Also need to figure out how to encode the parity data...Hmmm... Current PAR files not only have the RS data but also includes extra metadata about the file sets. Most the metadata we need is in the xBin id, however, there's no direct consistency check for the data, so using yEnc and including a crc for the RS data would be good for helping to detect accidential corruption. How the rest of the data is "labeled" I don't see as being very important. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: xBin and PARity files
Author: Rene
Date: Sun, 23 Feb 2003 16:22
Date: Sun, 23 Feb 2003 16:22
39 lines
3065 bytes
3065 bytes
curt@kcwc.com (Curt Welch) wrote: > > I certainly see the reason why to make a PAR fit in a single > > article, but when we really want to do that, I say kick PAR and use a > > one-article repost in the first place. > > You are mis-understanding something very basic about RS data. I know you > understand this, but you just haven't "seen it" yet. Let me help... > > Par data is not article, or file oriented. It's word oriented (i.e. the > word sized used for the RS calculation). For the rest of this, I'll [..] Curt, you're absolutely right. I was on the wrong train. I was still thinking "file-centric" whereas that is completely unneeded in our case here. Since we don't need any par-metadata (well we do but it's in the header, not in the "file") any xBin par-article contains useful data. Right. I think I'll switch trains now :) > assume we are talking about 8-bit words, i.e. bytes, but as you know, we > could pick 16 bit words as well... Well 8-bit limits us down to 256 segements per "range". We still need some segmentation, because for par to be able to repair, it needs some good data already present. Damn, it really gets rather unintuitive. I do need to draw it up somewhere. I must get myself clear on some aspects first before I continue to argue here and possibly getting on the wrong track again. Not to mention that I haven't read up again - after my hd crash in the server last month now my workstation followed suit and decided to quit working. At least I've got a decent fast pc now, but it always takes so long until I have my software installation back on the former level. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: xBin and PARity files
Author: J.B. Moreno
Date: Mon, 24 Feb 2003 03:18
Date: Mon, 24 Feb 2003 03:18
14 lines
2138 bytes
2138 bytes
In article <20030222192405.426$yD@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > We do however have to take care to write the spec clearly so implementors > understand how to correctly parse the the xBin ID so future changes will > not break clients (such as exactly what characters are allowed after the ~ > as a "tag" name) and to make it clear how the code needs to react to > different forms of the xBin ID. And write a good sample implementation... -- J.B. Moreno
Re: xBin and PARity files
Author: Mirco Romanato
Date: Wed, 09 Apr 2003 10:09
Date: Wed, 09 Apr 2003 10:09
21 lines
2309 bytes
2309 bytes
Rene wrote: > curt@kcwc.com (Curt Welch) wrote: > Well 8-bit limits us down to 256 segements per "range". We still need > some segmentation, because for par to be able to repair, it needs > some good data already present. If you want go down to this way, you could find useful to look at http://mnet.sourceforge.net/ and to their code. They are developing a distributed filesystem with FEC capability and the planning is to have files published on the network with a 32.000/64.000 blocks. This will let them to publish 2 GB files on their network. This will also let to have only good blocks, because any block is useful like the other. PARs have different usefulness in respect the files they repair. Mirco
Page 2 of 2 • 83 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