[Http-crcsync] crccache ready for some testing I think

Rusty Russell rusty at rustcorp.com.au
Sun Mar 29 19:09:52 EDT 2009


On Monday 30 March 2009 07:31:38 Alex Wulms wrote:
> Hi,
> 
> Currently I'm experimenting with the various parameters of the cache module to 
> fine-tune the cache behaviour.
> 
> I have also investigated why the cache-server stops finding block matches 
> after the first difference. I think it is because at this moment, the cache 
> server does not read ahead enough in the data-stream. Basically, the 
> crc_read_block function of Rusty must be fed with as much data as possible, 
> so that the crc_read_block function can detect at which point the unmatched 
> data end and a next matching block can be found.

That's weird, it should just Do The Right Thing.  Modulo bugs.

Am looking at code now... hmm, adding test... hmm, segv.

I'll get back to you once I have a fix :)

Rusty.


More information about the Http-crcsync mailing list