[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn binary deltas: can they be tuned or sth?..

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-02-09 23:47:41 CET

Daniel Berlin wrote:
> It is a window size of 1 meg at a time.
> So if nothing matches within that 1 meg window, you are out.
>
> My guess is that because you are not sorting in an order where new files
> appear last, the tar gets thrown off by more than the window size and
> nothing ever matches.

Ok, sounds reasonable, thanks :).

But how does that hold up against the repository size:

> > /repos/repos/test2/db/revs/:
> > total 1927032
> > -rw-r--r-- 1 nobody nogroup 115 Feb 6 08:09 0
> > -rw-r--r-- 1 nobody nogroup 697837468 Feb 6 08:44 1
> > -rw-r--r-- 1 nobody nogroup 636746962 Feb 10 01:08 2
> > -rw-r--r-- 1 nobody nogroup 636746967 Feb 10 02:10 3

There's a 5 byte difference between the two last revs.
It seems odd to me that the tar file should be off by more than one
MB, but the repository files end up almost exact the same size.. I
don't know the internals, so maybe I'm just not thinking straight :)..

Does increasing the window size increase the diff time exponentially?
Is changing window size to 128 MB ok, or does madness lie that way?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 9 23:48:21 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.