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

svn 1.2.1 client x20 slower than 1.1.x

From: Michael S. Tsirkin <mst_at_mellanox.co.il>
Date: 2005-07-10 19:49:44 CEST

Hi!

Quoting r. Michael S. Tsirkin <mst@mellanox.co.il>:
> Subject: issue with svn 1.2.0 client against 1.1.x server
>
> Hello!
> With subversion client version 1.2.0
>
> >time /usr/local/svn12/bin/svn list https://openib.org/svn
> branches/
> gen1/
> gen2/
> tags/
> trunk/
> 0.395u 0.067s 1:53.62 0.3% 0+0k 0+0io 0pf+0w
>
> While with client 1.1.4 against the same server I have:
>
> >time svn list https://openib.org/svn
> branches/
> gen1/
> gen2/
> tags/
> trunk/
> 0.019u 0.007s 0:04.29 0.2% 0+0k 0+0io 11pf+0w
>
> So subversion 1.2.0 is taking 2 minutes where 1.1.4 takes 4 seconds
> to contact the same remote repository.
>
> This observation was independently confirmed by another svn user.
> Running strace on versions 1.2.0 and 1.1.4, I see that subversion 1.2.0
> does around 17000 system calls, while 1.1.4 only around 750.
> Further, most of the time while client 1.2.0 appears stuck,
> it is actually performing read/write/select calls, presumably from the socket.
>
> Both clients are built from source with ./configure --prefix=xxxxx --with-ssl
> The openib.org server is AFAIK 1.1.x
>
> This problem prevents me from changing my client to 1.2.0.
> Is this a known issue?

I just re-tested with subversion 1.2.1 and I still have this issue.

/tmp>/usr/local/svn121/bin/svn --version
svn, version 1.2.1 (r15230)
   compiled Jul 10 2005, 20:35:28
[...]

/tmp>time /usr/local/svn121/bin/svn list https://openib.org/svn
[...]
1.550u 0.130s 2:20.21 1.1% 0+0k 0+0io 832pf+0w

/tmp>svn --version
svn, version 1.1.4 (r13838)
   compiled May 2 2005, 15:50:29
[...]

/tmp>time svn list https://openib.org/svn
[...]

0.070u 0.020s 0:04.28 2.1% 0+0k 0+0io 818pf+0w

openib.org subversion server is world-readable, so its easy to test.
Please contact me off-list if you have questions - I'm not subscribed.

-- 
MST
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 10 19:49:52 2005

This is an archived mail posted to the Subversion Dev mailing list.