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

RE: [Subclipse-users] Slowness in svn+ssh

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2006-05-04 20:23:28 CEST

Hello Bradley,

I just ran a simple test that checks out JavaSVN's trunk over svn+ssh, on my
computer JavaSVN works faster comparing to command client:

checkout.jsvn: 53813 ms.
checkout.cli: 89360 ms.

(on Windows XP, JDK 1.5.0_06).

So, main suspect for me is symbolic links resolution that indeed could
introduce significant overhead on JavaSVN operations, as Java doesn't
support symbolic links and JavaSVN has to execute native programs to resove
symbolic links. In certain cases it do that for every file in the working
copy, probably that could be your case. I do not think that Ganymed library
is what causes slowdown, at least it less probable.

I will send you a version of JavaSVN with hardcoded disabled symbolic links
support, please try using it. Put the library into
ECLIPSE_HOME/plugings/SUBCLIPSE_CORE_PLUGIN/lib directory (instead of
existing javasvn.jar) and restart Eclipse with -clean option. Before running
a checkout please make sure that JavaSVN is selected as a client adapter in
Eclipse SVN preferences.

In case this version of JavaSVN will not resolve the problem, please enable
debug logging for JavaSVN, put the following in your
JDK_HOME/jre/lib/logging.properties file:

handlers= java.util.logging.FileHandler
.level= FINEST
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 0
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter

Then rerun checkout and send me ~/java0.log file. Thanks!

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

> -----Original Message-----
> From: Bradley Wagner [mailto:bradley.wagner@hannonhill.com]
> Sent: Thursday, May 04, 2006 15:37
> To: alex@tmate.org
> Cc: users@subclipse.tigris.org
> Subject: Fwd: [Subclipse-users] Slowness in svn+ssh
>
> Alex, I'd like to help debug this apparent problem with JavaSVN.
> Please let me know what information I can provide you to help.
>
> Bradley
>
> Begin forwarded message:
>
> > From: Bradley Wagner <bradley.wagner@hannonhill.com>
> > Date: May 3, 2006 4:54:36 PM EDT
> > To: users@subclipse.tigris.org
> > Cc: hh-programmers@hannonhill.com
> > Subject: Re: [Subclipse-users] Slowness in svn+ssh
> > Reply-To: users@subclipse.tigris.org
> >
> > Mark, I'll wait for Alex to get back about what information I can
> > provide him. For now, I guess I'll be using JavaHL. I'm pretty sure
> > I've never enabled any debug logging also.
> >
> > Bradley
> >
> > On May 3, 2006, at 3:58 PM, Mark Phippard wrote:
> >
> >> Bradley Wagner <bradley.wagner@hannonhill.com> wrote on 05/03/2006
> >> 03:55:21 PM:
> >>
> >>> I see what you're saying now and indeed you are correct.
> I installed
> >>> the Metissian binaries and when I have the pub key authentication
> >>> all setup, JavaHL does "just work" as you said. I guess I
> had never
> >>> tried with the pub key auth set up. I tried the same test
> (checking
> >>> out the
> >>> branch) as I did before and it took ~1m30s using the
> JavaHL library,
> >>> so it is DEFINITELY a problem with JavaSVN.
> >>>
> >>> Please advise on any further tests I can perform to help debug as
> >>> I've heard nothing but good things about JavaSVN in the past, but
> >>> I'm somewhat relieved that it is not a fundamental Subclipse
> >>> problem.
> >>
> >> That is a relief (for me). I am sure Alex will get in touch with
> >> what you can do to provide him with info. There is info
> here on how
> >> to turn on logging and he has posted the same info several
> times here
> >> in the
> >> past:
> >>
> >> http://tmate.org/svn/kb/index.html
> >>
> >> Speaking of which, you did not perhaps turn this on in the past to
> >> solve a problem and forget to turn it off?
> >>
> >> I would think any information you can gather about the OS
> and version
> >> of SVN and SSH that is running on the server could help too.
> >>
> >> Mark
> >>
> >>
> >>
> >>
> _____________________________________________________________________
> >> ________
> >> Scanned for SoftLanding Systems, Inc. and SoftLanding
> Europe Plc by
> >> IBM Email Security Management Services powered by MessageLabs.
> >>
> _____________________________________________________________________
> >> ________
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> >> For additional commands, e-mail: users-help@subclipse.tigris.org
> >>
> >
> >
> > --
> > Bradley Mitchell Wagner
> > Software Developer
> > Hannon Hill Corporation
> > main: (678) 904-6900 ext. 115
> > email: bradley.wagner@hannonhill.com
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> > For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu May 4 20:25:37 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.