You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Giovanni Giorgi <jj...@objectsroot.com> on 2002/12/10 21:45:30 UTC

Speed Problem

Hi all!
         I am using subversion "version 0.15.0 (r3687)"
It works well but it is very slow
I am using a local repository (no http/webdav)
with  4288 files on a standard pc.

It tooks some minutes do do an export or a checkout.
Also the cp commands (for tagging) are very slow!!
What is the reason?
I am using the cygwin as shell.
Some suggestion?

Keep going on!
I like subversion!!!


[   [  [ JJ ]  ]   ]
                     http://www.siforge.org
                     http://groups.yahoo.com/group/siforge-announce/


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

Speed Tests (comments wellcome)

Posted by Giovanni Giorgi <jj...@objectsroot.com>.
At 15.55 10/12/2002 -0600, you wrote:
>[...]
>'svn cp URL URL' should be contant time, extremely fast.  It's

Yes, I have done it again and now it is fast...perhaps an old version of 
svn was slower

I have done some test using a my personal project. It is a set of emacs 
library with a lot of small-medium size files

Machine type: AMD Athlon 1600XP
WindowsXP
Antivirus Disabled (for optimal test)
4288 files
subversion "version 0.15.0 (r3687)"
Cygwin/bash as shell

Note: the time are VERY VERY approximative. Take them "cum grano salis".
Is it correct the checkout is faster then the export? How can it be?

I have done the export two times for checking if it was an error...

CP:
$ time svn cp file:///$SVNREP/truck/emacs  file:///$SVNREP/tags/emacsVERSION-1.
0 -m "First Tag Label"

Committed revision 10.

real    0m1.334s
user    0m0.030s
sys     0m0.020s

EXPORT:
Total Size of emacsVERSION-1.0:  50732Kb
The output has been redirected to dev null for best performance:
$ time svn  export file:///$SVNREP/tags/emacsVERSION-1.0 >/dev/null

real    5m57.648s
user    0m0.010s
sys     0m0.010s

Second time:
real    5m8.661s
user    0m0.020s
sys     0m0.020s

CHECKOUT:
Total Size of emacsVERSION-1.0: 111856Kb
$ time svn  co file:///$SVNREP/tags/emacsVERSION-1.0 >/dev/null

real    4m35.756s
user    0m0.020s
sys     0m0.010s



[   [  [ JJ ]  ]   ]
                     http://www.siforge.org
                     http://groups.yahoo.com/group/siforge-announce/


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

Re: Speed Problem

Posted by Robert North <aq...@sneakemail.com>.
Paul Lussier pll-at-lanminds.com |Subversion list| wrote:

>In a message dated: Tue, 10 Dec 2002 22:45:30 +0100
>Giovanni Giorgi said:
>
>  
>
>>Also the cp commands (for tagging) are very slow!!
>>What is the reason?
>>I am using the cygwin as shell.
>>Some suggestion?
>>    
>>
>
>I noticed the same thing under Debian doing a cp on the wc using 
>ra_local as well, fwiw.  My repo was the linux 2.4.19 kernel tree
>and took an unbearably long time to finish.
>
>I'll be glad to run some tests on this if you'd like, just tell me 
>what type of info you're looking for.
>  
>
cp slow??
Incredibly fast for me on a Suse 8.0 & Athlon 950.

The import is slow, but I wasn't going to compain yet.
This is alpha stuff, and I'd prefer to see it not mangle repository or
segfault rather than import in the blink of an eye.
    -Rob.


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

Re: Speed Problem

Posted by Paul Lussier <pl...@lanminds.com>.
In a message dated: 10 Dec 2002 15:55:10 CST
Ben Collins-Sussman said:

>'svn cp URL URL' should be contant time, extremely fast.

Oh, well sure, you *could* do it that way, but then how would I look 
like an idiot? ;)

>'svn cp wc wc' -- well, it's a heck of a lot of copying.  That really
>is an O(N) operation.

Yeah, that's more likely what I did, not realizing the above was an 
option :)

Thanks for the clueX4, I'll go beat myself with it now :)

-- 

Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!



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

Re: Speed Problem

Posted by Ben Collins-Sussman <su...@collab.net>.
Paul Lussier <pl...@lanminds.com> writes:

> In a message dated: Tue, 10 Dec 2002 22:45:30 +0100
> Giovanni Giorgi said:
> 
> >Also the cp commands (for tagging) are very slow!!
> >What is the reason?
> >I am using the cygwin as shell.
> >Some suggestion?

'svn cp URL URL' should be contant time, extremely fast.  It's
currently seeming that way, because mod_dav_svn is erroneously sending
a full walk of the copied tree back to the client.  There's an issue
filed on this.

'svn cp wc wc' -- well, it's a heck of a lot of copying.  That really
is an O(N) operation.

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

Re: Speed Problem

Posted by Paul Lussier <pl...@lanminds.com>.
In a message dated: Tue, 10 Dec 2002 22:45:30 +0100
Giovanni Giorgi said:

>Also the cp commands (for tagging) are very slow!!
>What is the reason?
>I am using the cygwin as shell.
>Some suggestion?

I noticed the same thing under Debian doing a cp on the wc using 
ra_local as well, fwiw.  My repo was the linux 2.4.19 kernel tree
and took an unbearably long time to finish.

I'll be glad to run some tests on this if you'd like, just tell me 
what type of info you're looking for.
-- 

Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!



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