Article View: news.software.nntp
Article #64083Re: xBin and PARity files
From: 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
Technical Details
Message-ID:
<pan.2003.02.19.08.34.56.817883@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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news03.bloor.is.net.cable.rogers.com!news02.bloor.is.net.cable.rogers.com.POSTED!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>Show Full Headers
Complete Article Headers
Message-ID: <pan.2003.02.19.08.34.56.817883@rogers.com> Subject: Re: xBin and PARity files Date: Wed, 19 Feb 2003 08:34:57 GMT From: "Chris" <nobody@rogers.com> 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> 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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!news03.bloor.is.net.cable.rogers.com!news02.bloor.is.net.cable.rogers.com.POSTED!not-for-mail User-Agent: Pan/0.13.3 (That cat's something I can't explain) Newsgroups: news.software.nntp MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 78 NNTP-Posting-Host: 24.114.32.59 X-Complaints-To: abuse@rogers.com X-Trace: news02.bloor.is.net.cable.rogers.com 1045643697 24.114.32.59 (Wed, 19 Feb 2003 03:34:57 EST) NNTP-Posting-Date: Wed, 19 Feb 2003 03:34:57 EST