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

Re: Subversion 1.0.4 very slow with large files

From: Max Bernhardt - extern TAGP - Tel. 3749 <Max.Bernhardt_at_vodafone.com>
Date: 2004-07-20 09:03:51 CEST

Hi,

i can only second that (ok i'm still using subversion 1.02 but ...)

The time seems to grow exponentially with the filesize. We have
a vendor branch with some libraries exceeding 40MB. The checkout
of such a library can take more than one hour :((

I just tried to check out the lib directory using 'file:///' and it
worked
pretty fast (a few minutes).

Since upgrading to 1.1.0 doesn't seem to do the trick (see mail below),
does anybody have a hint on what to do?

Regards,
                Max

>just tried it with 1.1.0-rc1 (used /lib/ld-linux.so.2 --list to make
>sure
>that not the old libraries are used) and the result is the same.
>
>Christian
>
>On Jul 19, 2004, at 10:22 PM, Christian van der leeden wrote:
>
>> Hi,
>>
>> we've got subversion 1.0.4-r1 with apache2.50 running on linux.
>> (it's the a gentoo ebuild). On a large .jar file (24 MB) subversion
>> needs more than 7 minutes to do a check out (via http://xxx). Import
>> is fine.
>> merge etc. is very slow, too. A local checkout via svn file:///xxx is

>> fine. I've tried the svn 1.1.0-rc1 client, but this didn't help.
>> during checkout svn needs almost 100% cpu, apache is idle.
>>
>>
>> Here is my "data":
>> brain svn # time svn co file:///var/svn/repos/test2
>> A test2/test_enc.jar
>> Checked out revision 4.
>>
>> real 0m15.190s
>> user 0m12.650s
>> sys 0m1.350s
>>
>> brain svn # time svn co http://localhost/svn/repos/test2
>> A test2/test_enc.jar
>> Checked out revision 4.
>>
>> real 10m50.805s
>> user 10m24.080s
>> sys 0m9.500s
>>
>>
>> Steps to reproduce:
>> ==============
>> 1) create an empty repository
>> 2) in /tmp create directory mycase
>> 3) in mycase do (ok, i was lazy with the dd arguments :-)
>> dd if=/dev/zero of=test.jar bs=1 count=24786578
>> openssl enc -des3 -k test -in test.jar -out test_enc.jar
>> rm test.jar
>> 4) svn mkdir http://localhost/svn/repos/test2
>> 5) svn import mycase http://localhost/svn/repos/test2
>>
>> then run the above commands.
>>
>> I couldn't check with 1.1.0-rc1 yet, if anybody has a running
>> instance on his machine (can't compile it on my osx box and
>> no ebuild for gentoo right now at hand) I'd be grateful
>> to hear if this issue is addressed. (gladly I'd migrate, but
>> we've got a large running repository, and a lot of work...)

--
"There is no spoon ..." ;-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Jul 20 09:04:44 2004

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.