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

Re: SVN_STREAM_CHUNK_SIZE way too low?

From: Mark Benedetto King <bking_at_answerfriend.com>
Date: 2002-02-08 18:04:48 CET

>
> original CVS repo: 40 meg (two gcc directories):
>
> With SVN_STREAM_CHUNK_SIZE at 102400:
> Time to convert: 2 hours, 16 minutes
> Final Size: 2.3 gig (no joke)
>
> With SVN_STREAM_CHUNK_SIZE at 1024000:
> Time to convert: 1 hour, 10 minutes
> Final Size: 27 meg
>

Since a 10:1 increase in chunk-size yields a 2:1 decrease in
time and a 100:1 decrease in space, we should (obviously) increase
SVN_STREAM_CHUNK_SIZE to 1024000000 (an additional 1000:1). This would
(naturally) yield an additional 8:1 decrease in time (to approximately
9 minutes) and an additional 1000000:1 decrease in space, to 27 bytes.
Further improvements would be diminishing returns at that point, since
you can't have a database much smaller than 27 bytes.

--ben "waiting for 4/1/2002" king

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:05 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.