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

Re: [PATCH] Replace vdelta with xdelta variant

From: Niels Werensteijn <n.werensteijn_at_student.utwente.nl>
Date: Mon, 21 Jan 2008 16:40:21 +0100

Malcolm Rowe schreef:
> On Mon, Jan 21, 2008 at 02:56:23PM +0100, Niels Werensteijn wrote:
>> Malcolm Rowe schreef:
>>> If I remember correctly, that would disadvantage pre-1.4 clients and
>>> 'svnadmin dump --deltas', but would help in all other cases (in that
>>> vdelta self-compression+zlib is almost guaranteed to be slower/bigger
>>> than zlib alone).
>> It would also probably grow the repository on disk. But it would be a small
>> grow because it would almost only affect first time checkins and files
>> growing over a 100kb boundary.
>>
>
> It shouldn't adversely affect the on-disk size if svndiff1 deltas are in
> use (which is the default in 1.4.x and later). If anything, it should
> improve the size (and speed of reading/writing).
Well, I implemented this idea and you were right. My two test archives
were a little smaller (though not significantly). I am assuming this
also means "over the wire transmission" is reduced, when compression is
used.
And the export times were greately reduced on my high power cpu:

Export Repository1 (delphi source code): from 58,6 to 42,0 seconds
Export Repository2 (big compressed bin): from 10,71 to 5,47 seconds

Should I submit this patch? And if yes, as a new thread or as
continuation as this one? (What should I put in the mail subject)

Regards,
Niels Werensteijn

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-21 16:40:32 CET

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.