Article View: news.software.nntp
Article #64130Re: xBin and PARity files
From: 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/
Technical Details
Message-ID:
<20030222192405.426$yD@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <1r7kdr2id0.fsf@vingodur.ifi.uio.no> <20021231140408.995$iu@newsreader.com> <1rlm24a74r.fsf@thrir.ifi.uio.no> <20030101222332.694$bV@newsreader.com> <1rptrflqrl.fsf@ellifu.ifi.uio.no> <20030102152631.435$cR@newsreader.com> <20030104175550.818$mI@newsreader.com> <20030105223458.280$SO@newsreader.com> <20030106051307.259$0O@newsreader.com> <20030130214837.046$fc@newsreader.com> <20030206203828.211$Vw@newsreader.com> <20030212160144.071$NF@newsreader.com> <pan.2003.02.19.08.34.56.817883@rogers.com> <20030221183059.584$i2@newsreader.com> <pan.2003.02.22.17.42.19.973258@rogers.com>Show Full Headers
Complete Article Headers
Message-ID: <20030222192405.426$yD@newsreader.com>
Subject: Re: xBin and PARity files
Date: Sun, 23 Feb 2003 00:24:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <1r7kdr2id0.fsf@vingodur.ifi.uio.no> <20021231140408.995$iu@newsreader.com> <1rlm24a74r.fsf@thrir.ifi.uio.no> <20030101222332.694$bV@newsreader.com> <1rptrflqrl.fsf@ellifu.ifi.uio.no> <20030102152631.435$cR@newsreader.com> <20030104175550.818$mI@newsreader.com> <20030105223458.280$SO@newsreader.com> <20030106051307.259$0O@newsreader.com> <20030130214837.046$fc@newsreader.com> <20030206203828.211$Vw@newsreader.com> <20030212160144.071$NF@newsreader.com> <pan.2003.02.19.08.34.56.817883@rogers.com> <20030221183059.584$i2@newsreader.com> <pan.2003.02.22.17.42.19.973258@rogers.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 1@D,NzY1y5wYc,LdWJlnW1M@aLMz_eLF@syeGCQ7WfDOsU
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 68