On Mon, Jun 14, 2010 at 4:56 PM, Matthew Toseland
<t...@amphibian.dyndns.org> wrote:

> - Even segment splitting. Freenet divides large files up into "splitfiles": 
> because a CHK can only be 32KB, Freenet splits larger files up into many 
> blocks, and then divides those blocks into "segments" of no more than 256 
> blocks (128 data blocks, and 128 "check blocks" that are generated for 
> redundancy). Until 1251, on any splitfile of more than 128 blocks (4MB), all 
> but the last segment would be exactly 128 data blocks and 128 check blocks. 
> From this build onwards, all the segments will be roughly the same size. 
> Plus, we allow up to 131 data blocks (with 125 check blocks) to use fewer 
> segments (which is a net benefit for reliability), and we add an extra check 
> block to each segment of less than 128 data blocks.

You're only allowing > 128 data blocks on small files, right?  With >
520 total data blocks, it should be max 128 data blocks per segment
(ie at 5 segments or more).  And with less than that, the appropriate
max depends on file size.

Evan Daniel
_______________________________________________
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to