Article View: news.software.nntp
Article #62748Re: xBin and PARity files
From: Kjetil Torgrim Homme
Date: Sat, 04 Jan 2003 04:09
Date: Sat, 04 Jan 2003 04:09
42 lines
2892 bytes
2892 bytes
[Rene]: > > If you do a repair attempt, you must go through the whole file, no > matter how small the gap(s) is. That's why I say for small > filesizes/gaps, reposts are better. this is one point in favour of PAR files covering only a range -- you don't have to go through the entire file, so it scales better CPU-wise. also, a lot of files won't need more than one range. 250*400 KB is 100 MB. the downside to it is that the PAR files will always be 400 KB, whereas in your suggestion their size will be a fraction of the total size. > > $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. > > Should the message-id not contain only the hash ? This additional > information is only relevant to xBin-compliant software which can > get that out of the xBin-Signature header. no, this is a fine point: you need to keep the file size in there so that the servers will reject the PAR files as well as the file itself! (well, the alternative is that the server has a special history file for hashes, but I think that complicates implementation for very little gain.) -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Technical Details
Message-ID:
<1rbs2ximim.fsf@ellifu.ifi.uio.no>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!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mailReferences:
<20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <1rbs2ximim.fsf@ellifu.ifi.uio.no> Subject: Re: xBin and PARity files Date: Sat, 04 Jan 2003 04:09:37 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@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!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 41 NNTP-Posting-Host: ellifu.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1041653379 7238 129.240.65.211 (4 Jan 2003 04:09:39 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 4 Jan 2003 04:09:39 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7