cvs slows down when using models in synchronisation [message #314306] |
Fri, 06 April 2007 15:13  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11206 seconds