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

Re: [Subclipse-users] Slow Saving

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-01-25 16:51:14 CET

Georg Nagel <gnagel@holidaycheck.de> wrote on 01/25/2006 10:43:24 AM:

> im running a debian sarge box with samba and subversion on it.
> The repository is accessed via svn+ssh://...
> I have one big sambashare where the users (connecting from windows
> clients) have their userdirs in.
> e.g. \\user\foo\
> in this user foo has a svn directory where all his svn-projects are
> lying in.
> e.g. \\user\foo\svn\project1
> now the user foo opens up a file from project1, changes something and
> saves the changes. That is taking over 3 seconds!
> if the user saves a file in a project which is no svn-project, its going

> fast as usual.
> Every User is using javaSVN and not javaHL.
> So what could be the problem, that saving is taking so long? is
> Subclipse communicating with the svnserver when i save a file ???
> I hope somebody got a solution.

Placing Subversion working copies on a network share is not a good idea
when using a GUI tool. I suspect the problem here is not the actual save
(Subversion does not do anything to that process), but after you do a save
Eclipse will send a notification that the file has changed. This is how
things like the compiler know to do a compile. In the case of Subclipse
we listen for these notifications so that we can update the Subversion
status and the file decorator. Subversion status checks are fairly slow
on a local file system, I cannot imagine the performance to a network
share.

This is not as big of an issue when using a command line client because
you are in control of when this happens. However, once you run an
operation that needs to do a status crawl, even the command line will be
slow.

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
Received on Wed Jan 25 16:51:38 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.