Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » cvs slows down when using models in synchronisation
cvs slows down when using models in synchronisation [message #314306] Fri, 06 April 2007 19:13 Go to next message
Eclipse UserFriend
Originally posted by: feniksenator+eclipse.gmail.com

Hey,

since we upgraded to eclipse 3.2 in our company a lot of developers
started complaining about CVS that has been slow down. First we tought
this was because our CVS server had a rather heavy load. But closer
examination shows it has to do with the new eclipse version.

Description of our typical environment:
- developers workstation Win XP
- Eclipse: 3.2.2
- Jdk 1.4.2
- cvs server : unix server on solaris, CVS version serverside 1.12.1

I played a bit with different CVS settings in the eclipse Team/CVS
preferences, and came to the following conclusion:
- if I check "Allow models to participate in synchronisations" it takes
really a lot of time to complete a team-> synchronize action. I also
notice that CVS really takes a lot of time with "Receiving file:
Template" (whatever that means).
- unchecking this option solves the problem.
Just to give an idea about the timing: for a project with +-1300 files
synchronizing with models takes about 42 seconds, unchecking the option
and resynchronzing takes +-8 seconds.

So this there seems to be a really big difference.
I started to dig a bit in the CVS logs on the client side using the
debugging options as described :
http://wiki.eclipse.org/index.php/CVS_FAQ#Is_there_any_equiv alent_to_CVS_CLIENT_LOG_is_Eclipse.3F

You find the results of this below. It seems as if when using the models
a lot of time goes to handling directories: Clear-sticky,
Clear-static-directory. However I have no clue what it means.

So for the moment we will disable the "model participation". Maybe this
is a known issue, maybe the performance degradation is normal... any way
I was not able to find more information about this. I just wanted to
let you know this may be a problem for other people also.








With model participation:
--------------------------
CMD> cvs -r version
Global_option -r
version
M Concurrent Versions System (CVS) 1.12.1 (client/server)
ok
RESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null
CMD> cvs -r update -d -P ""
Global_option -r
Argument -d
Argument -P
Directory .
/export/home/cvs/myrepo/project/
Entry /.classpath/1.1//-kk/
Unchanged .classpath
Entry /.cvsignore/1.2//-kk/
Unchanged .cvsignore
Entry /build.bat/1.5//-kk/
Unchanged build.bat
Entry /deploy.bat/1.2//-kk/
Unchanged deploy.bat
Entry /pom.xml/1.38//-kk/
Unchanged pom.xml
..... COMMENT: does the above for all files, and continues afterwards ...

/export/home/cvs/myrepo/project
update
Clear-static-directory ./
/export/home/cvs/myrepo/project/
Template ./
/export/home/cvs/myrepo/project/
0
E cvs server: Updating .
Clear-static-directory .settings/
/export/home/cvs/myrepo/project/.settings/
Template .settings/
/export/home/cvs/myrepo/project/.settings/
0
E cvs server: Updating .settings
Clear-sticky bin/
/export/home/cvs/myrepo/project/bin/
Clear-static-directory bin/
/export/home/cvs/myrepo/project/bin/
Template bin/
/export/home/cvs/myrepo/project/bin/
0
E cvs server: Updating bin
Clear-sticky bin/
/export/home/cvs/myrepo/project/bin/
Clear-static-directory src/
/export/home/cvs/myrepo/project/src/
Template src/
/export/home/cvs/myrepo/project/src/
0
E cvs server: Updating src
Clear-static-directory src/changes/
/export/home/cvs/myrepo/project/src/changes/
Template src/changes/
/export/home/cvs/myrepo/project/src/changes/
0
E cvs server: Updating src/changes
.....


================================================
Without model participation:
----------------------------
Does not do any of the :
Clear-sticky
Clear-static-directory
Re: cvs slows down when using models in synchronisation [message #314362 is a reply to message #314306] Tue, 10 April 2007 10:53 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Erik Ruisma wrote:

> Hey,
>
> since we upgraded to eclipse 3.2 in our company a lot of developers
> started complaining about CVS that has been slow down. First we tought
> this was because our CVS server had a rather heavy load. But closer
> examination shows it has to do with the new eclipse version.
>
> Description of our typical environment:
> - developers workstation Win XP
> - Eclipse: 3.2.2
> - Jdk 1.4.2
> - cvs server : unix server on solaris, CVS version serverside 1.12.1
>
> I played a bit with different CVS settings in the eclipse Team/CVS
> preferences, and came to the following conclusion:
> - if I check "Allow models to participate in synchronisations" it
> takes really a lot of time to complete a team-> synchronize action. I
> also notice that CVS really takes a lot of time with "Receiving file:
> Template" (whatever that means).
> - unchecking this option solves the problem.
> Just to give an idea about the timing: for a project with +-1300 files
> synchronizing with models takes about 42 seconds, unchecking the
> option and resynchronzing takes +-8 seconds.
>
> So this there seems to be a really big difference.
> I started to dig a bit in the CVS logs on the client side using the
> debugging options as described :
> http://wiki.eclipse.org/index.php/CVS_FAQ#Is_there_any_equiv alent_to_CVS_CLIENT_LOG_is_Eclipse.3F
>
>
> You find the results of this below. It seems as if when using the
> models a lot of time goes to handling directories: Clear-sticky,
> Clear-static-directory. However I have no clue what it means.
>
> So for the moment we will disable the "model participation". Maybe
> this is a known issue, maybe the performance degradation is normal...
> any way I was not able to find more information about this. I just
> wanted to let you know this may be a problem for other people also.

Please file a bug report with your data against Platform CVS.

Dani

>
>
>
>
>
>
>
>
> With model participation:
> --------------------------
> CMD> cvs -r version
> Global_option -r
> version
> M Concurrent Versions System (CVS) 1.12.1 (client/server)
> ok
> RESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null
> CMD> cvs -r update -d -P ""
> Global_option -r
> Argument -d
> Argument -P
> Directory .
> /export/home/cvs/myrepo/project/
> Entry /.classpath/1.1//-kk/
> Unchanged .classpath
> Entry /.cvsignore/1.2//-kk/
> Unchanged .cvsignore
> Entry /build.bat/1.5//-kk/
> Unchanged build.bat
> Entry /deploy.bat/1.2//-kk/
> Unchanged deploy.bat
> Entry /pom.xml/1.38//-kk/
> Unchanged pom.xml
> .... COMMENT: does the above for all files, and continues afterwards ...
>
> /export/home/cvs/myrepo/project
> update
> Clear-static-directory ./
> /export/home/cvs/myrepo/project/
> Template ./
> /export/home/cvs/myrepo/project/
> 0
> E cvs server: Updating .
> Clear-static-directory .settings/
> /export/home/cvs/myrepo/project/.settings/
> Template .settings/
> /export/home/cvs/myrepo/project/.settings/
> 0
> E cvs server: Updating .settings
> Clear-sticky bin/
> /export/home/cvs/myrepo/project/bin/
> Clear-static-directory bin/
> /export/home/cvs/myrepo/project/bin/
> Template bin/
> /export/home/cvs/myrepo/project/bin/
> 0
> E cvs server: Updating bin
> Clear-sticky bin/
> /export/home/cvs/myrepo/project/bin/
> Clear-static-directory src/
> /export/home/cvs/myrepo/project/src/
> Template src/
> /export/home/cvs/myrepo/project/src/
> 0
> E cvs server: Updating src
> Clear-static-directory src/changes/
> /export/home/cvs/myrepo/project/src/changes/
> Template src/changes/
> /export/home/cvs/myrepo/project/src/changes/
> 0
> E cvs server: Updating src/changes
> ....
>
>
> ================================================
> Without model participation:
> ----------------------------
> Does not do any of the :
> Clear-sticky
> Clear-static-directory
Re: cvs slows down when using models in synchronisation [message #314367 is a reply to message #314362] Tue, 10 April 2007 12:57 Go to previous message
Eclipse UserFriend
Originally posted by: feniksenator+eclipse.gmail.com

Created a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=181754

Thanks for your answer.
Previous Topic:Dynamic context menu creation
Next Topic:how to include source into PDE headless build?
Goto Forum:
  


Current Time: Tue Sep 17 12:17:34 GMT 2024

Powered by FUDForum. Page generated in 0.02608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top