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

RE: [Subclipse-users] extremely slow commit revised

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2006-02-07 13:09:34 CET

Thanks for the log Udo,

There is no special delay in JavaSVN of course. The only difference is that
JavaSVN tries to reuse the same connection (uses keep-alive http header flag
and doesn't close socket after each request).

I will check what other things could cause 15-secs delay, among those could
be also TortoiseSVN program - it uses service that caches Subversion
administrative files and sometimes locks files, forcing JavaSVN to retry
rename operation for several times, but in general comand line client should
suffer from that as well.

Also, if possible, please try JavaSVN 1.0.3 (checkout it from
http://svn.tmate.org/repos/jsvn/branches/1.0.3/ branch, set env. variable
ECLIPSE_HOME so that it points to Eclipse home and use "ant deploy" command
to build the library).

Alexander Kitaev,
TMate Software,
http://tmate.org/
http://jetbrains.com/tmate/

> -----Original Message-----
> From: Udo Rader [mailto:udo.rader@bestsolution.at]
> Sent: Tuesday, February 07, 2006 2:53 PM
> To: users@subclipse.tigris.org
> Subject: [Subclipse-users] extremely slow commit revised
>
>
> Hi,
>
> we have the same problem as mentioned in a post some days
> ago, commits are now extremely slow.
>
> To give you an impression of what I mean, here's an apache
> logfile excerpt containing the comparison commandline vs. subclipse:
>
> 1. subclipse with changes on two files:
> ---------CUT---------
> 192.168.100.152 - - [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 401 502 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 207 788 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/!svn/vcc/default HTTP/1.1" 207 395 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/!svn/bln/1825 HTTP/1.1" 207 410 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "OPTIONS
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 200 185 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100]
> "MKACTIVITY /repos/!svn/act/000001094451c816 HTTP/1.1" 201
> 307 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 207 486 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/!svn/vcc/default HTTP/1.1" 207 395 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "CHECKOUT
> /repos/!svn/bln/1825 HTTP/1.1" 201 324 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPPATCH
> /repos/!svn/wbl/000001094451c816/1825 HTTP/1.1" 207 440 "-"
> "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 207 499 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "CHECKOUT
> /repos/!svn/ver/1802/foobar/abssystem/webapp/trunk/JavaSource/
> at/foobar/webapp/ABS.java HTTP/1.1" 201 388 "-" "JavaSVN
> 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:22 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp/actions HTTP/1.1" 207 515 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:23 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp/actions/audit HTTP/1.1" 207 527 "-" "JavaSVN 1.0.2
> (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:23 +0100] "CHECKOUT
> /repos/!svn/ver/1822/foobar/abssystem/webapp/trunk/JavaSource/
at/foobar/webapp/actions/audit/AuditFUPCycleListAction.java HTTP/1.1" 201
422 "-" "JavaSVN > 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:23 +0100] "PUT
> /repos/!svn/wrk/000001094451c816/foobar/abssystem/webapp/trunk
/JavaSource/at/foobar/webapp/ABS.java HTTP/1.1" 204 - "-" "JavaSVN 1.0.2 >
(http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:38 +0100] "PUT
> /repos/!svn/wrk/000001094451c816/foobar/abssystem/webapp/trunk
/JavaSource/at/foobar/webapp/actions/audit/AuditFUPCycleListAction.java
HTTP/1.1" 204 - > "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:53 +0100] "MERGE
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 200 1253 "-" "JavaSVN 1.0.2 (http://tmate.org/svn/)"
> 192.168.100.152 - udo [07/Feb/2006:12:42:53 +0100] "DELETE
> /repos/!svn/act/000001094451c816 HTTP/1.1" 204 - "-" "JavaSVN
> 1.0.2 (http://tmate.org/svn/)"
> ---------CUT---------
>
> the most interesting part here is that the two PUTs are exactly
> 15 seconds away from each other. When committing more files,
> each put is quite exactly 15 seconds after the previous one.
> No idea, why this should be neccessary.
>
> 2. commandline with changes on the same two files:
> ---------CUT---------
> 192.168.100.152 - - [07/Feb/2006:12:47:17 +0100] "OPTIONS
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 401 502 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "OPTIONS
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 200 185 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100]
> "MKACTIVITY
> /repos/!svn/act/18e28abe-6f07-4a4a-a27c-715b98431297
> HTTP/1.1" 201 327 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 207 486 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPFIND
> /repos/!svn/vcc/default HTTP/1.1" 207 395 "-" "SVN/1.3.0
> (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "CHECKOUT
> /repos/!svn/bln/1827 HTTP/1.1" 201 344 "-" "SVN/1.3.0
> (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPPATCH
> /repos/!svn/wbl/18e28abe-6f07-4a4a-a27c-715b98431297/1827
> HTTP/1.1" 207 353 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 207 499 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "CHECKOUT
> /repos/!svn/ver/1827/foobar/abssystem/webapp/trunk/JavaSource/
> at/foobar/webapp/ABS.java HTTP/1.1" 201 408 "-" "SVN/1.3.0
> (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp/actions HTTP/1.1" 207 515 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PROPFIND
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp/actions/audit HTTP/1.1" 207 527 "-" "SVN/1.3.0 (r17949)
> neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "CHECKOUT
> /repos/!svn/ver/1827/foobar/abssystem/webapp/trunk/JavaSource/
at/foobar/webapp/actions/audit/AuditFUPCycleListAction.java HTTP/1.1" 201
442 "-" > "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PUT
> /repos/!svn/wrk/18e28abe-6f07-4a4a-a27c-715b98431297/foobar/ab
ssystem/webapp/trunk/JavaSource/at/foobar/webapp/actions/audit/AuditFUPCycle
ListAction.jav> a HTTP/1.1" 204 - "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "PUT
> /repos/!svn/wrk/18e28abe-6f07-4a4a-a27c-715b98431297/foobar/ab
ssystem/webapp/trunk/JavaSource/at/foobar/webapp/ABS.java HTTP/1.1" 204 -
"-" "SVN/1.3.0 > (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:17 +0100] "MERGE
> /repos/foobar/abssystem/webapp/trunk/JavaSource/at/foobar/weba
> pp HTTP/1.1" 200 1253 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> 192.168.100.152 - udo [07/Feb/2006:12:47:18 +0100] "DELETE
> /repos/!svn/act/18e28abe-6f07-4a4a-a27c-715b98431297
> HTTP/1.1" 204 - "-" "SVN/1.3.0 (r17949) neon/0.24.7"
> ---------CUT---------
>
> As you see here, the two PUTs seem to be sent just one after
> the other without a 15 seconds delay.
>
> If for whatever reason such a delay is necessary (or seams
> reasonable), it would be very important to make that
> configurable. Otherwise committing with subclipse becomes
> virtually impossible.
>
> We are using eclipse 3.1.1, subclipse 0.9.105 and javasvn 1.0.2.
>
> Regards
>
> Udo Rader
>
> --
> B e s t S o l u t i o n . a t EDV
> Systemhaus GmbH
> --------------------------------------------------------------
> ----------
> udo rader technischer leiter/CTO mobile ++43
> 660 5263642
> --------------------------------------------------------------
> ----------
> eduard-bodem-gasse 8/3 A-6020 innsbruck fax ++43
> 512 935833
> http://www.bestsolution.at phone ++43
> 512 935834
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Feb 7 13:10:21 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.