You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Han The Man <ha...@hotmail.com> on 2003/08/18 11:21:42 UTC

Weird performance problem

I use subversion 0.24 with apache 2.0.47. The server is running on Redhat 
8.0.

When I use "http://myserver/svn/myrepos" from Internet Explorer, Subversion 
appears to be extremely fast. Listing the files and directories is almost 
instant.

However, using the same url from the Windows XP command line (svn list ...), 
it takes forever (well, it works, but it's useless due to the bad 
performance.) TortoiseSVN over the http protocol is equally slow.

Any idea why? Also, svn import, svn co, etc is slow as hell too. Using the 
svnserve / svn-protocol is much, much faster.

The two repositories I have tried this on is rather small.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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

Re: Weird performance problem

Posted by Ben Collins-Sussman <su...@collab.net>.
"Han The Man" <ha...@hotmail.com> writes:

> I use subversion 0.24 with apache 2.0.47. The server is running on
> Redhat 8.0.
> 
> When I use "http://myserver/svn/myrepos" from Internet Explorer,
> Subversion appears to be extremely fast. Listing the files and
> directories is almost instant.
> 
> However, using the same url from the Windows XP command line (svn list
> ...), it takes forever (well, it works, but it's useless due to the
> bad performance.) TortoiseSVN over the http protocol is equally slow.
> 
> Any idea why? Also, svn import, svn co, etc is slow as hell too. Using
> the svnserve / svn-protocol is much, much faster.

Yes, because your web-browser is doing a GET on the directory -- bam,
the repository gives a single, fast HTML response listing files.

The svn client issues a whole bunch of webdav requests, which is a
much more complex process.. it includes a whole bunch of PROPFIND
requests, among other things.  But that's also the reason you can
mount the repository as a DAV share.

Stop using 0.24 -- it's really old.  We're up to 0.27 now.  It should
be faster.


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

Re: Weird performance problem

Posted by cm...@collab.net.
"Han The Man" <ha...@hotmail.com> writes:

> I use subversion 0.24 with apache 2.0.47. The server is running on
> Redhat 8.0.
> 
> When I use "http://myserver/svn/myrepos" from Internet Explorer,
> Subversion appears to be extremely fast. Listing the files and
> directories is almost instant.
> 
> However, using the same url from the Windows XP command line (svn list
> ...), it takes forever (well, it works, but it's useless due to the
> bad performance.) TortoiseSVN over the http protocol is equally slow.
> 
> Any idea why? Also, svn import, svn co, etc is slow as hell too. Using
> the svnserve / svn-protocol is much, much faster.

Put simple, a GET on a directory (which is what your IE use is doing)
that just spews HTML around directory entries is just faster than a
PROPFIND on that directory, which has to package up a bunch of stuff
(like properties) that your web browser doesn't need, but that the
Subversion client does, and marshal all that back to the client.

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

Re: Weird performance problem

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Han The Man wrote:
> I use subversion 0.24 with apache 2.0.47. The server is running on 
> Redhat 8.0.
> 
> When I use "http://myserver/svn/myrepos" from Internet Explorer, 
> Subversion appears to be extremely fast. Listing the files and 
> directories is almost instant.
> 
> However, using the same url from the Windows XP command line (svn list 
> ...), it takes forever (well, it works, but it's useless due to the bad 
> performance.) TortoiseSVN over the http protocol is equally slow.

Well, keep in mind that 'svn list' is doing considerably more work than 
just hitting the URL in IE.  'svn list' involves making several 
different requests to the server to get various different kinds of 
information, where hitting the URL in IE just does one.  Granted, it 
shouldn't be all that much slower, but it will always be slightly slower.

This isn't much of an answer to 'why is this so slow', but just so you 
are aware that you're comparing two things that aren't exactly the same.

-garrett


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