(This seperates and continues a thought from a previous thread:
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1282572108/0)
Hi Geert,
I looked through SVN logs and found that, during checkout, each .xml file goes through 3 steps that occur in a cumulative 45 second window. Steps are "status," "update", "lock." This means that if I checkout all 77 .xml files, this could take up to an hour (77files*45sec= ~57min)
I also looked in apache access logs. I do see that every time a file is checked out, a checkout request begins w/ a 401 error on a "options" request ("OPTIONS /svn/<my repo name>/<my repo dir> 401 401"). Immediately after this auth failure, the same request is made and is successful ("OPTIONS /svn/<my repo name>/<my repo dir> 200 200"). It's not clear how much time passess between these two events, but is definitely less than 15 seconds.
In summary-- checking out each file takes approx 45 sec / file. Apache & SVN events (Authentication, status, updates, and lock)compose this 45 sec window.
Is this typical? How can it be reduced?
Thanks!
History: --------------------------------------------SVN + EA too slow check operations
Aug 23rd, 2010, 2:01pm Hi, I'm using the trial version of EA 8 integrated with the lastest version of visual svn.
First we guess that only need to do the basic configuration of SVN client with EA but every package have to be configured in order to use the version control.
And when any of the team testing group try to checkout or checkin the operation is really slow (5m - 10m) over a LAN of 100Mpbs.
The testing is in order to select an enterprise architect tool to make the basis of enterprise continuum.
We are testing too Visual Paradigm and Telelogic.
Please give us a response about how to avoid the slow operations and excesive configuration in every package.
Thanks.
--------------------------------------------
Re: SVN + EA too slow check operations
Reply #11 - Yesterday at 8:39pm Hi Geert,
I'm running into the same issue. I have EA v8 configured to work w/ SVN 1.6. (via https) and authenticate to a Windows 2k3 AD server via LDAP (non-encrypted). The EA client application communicates w/ the SVN server over 100/1000mbps connection and the two machines are physically colocated. I am able to check models in and out, but the performance is excruciatingly slow (10-20 min). This is especially slow when I try to add a model to version control for the first time.
I'm not sure if I'm running into a configuration issue, or a limitation of EA. I suspect the former, but I need a concrete test that will help me verify. The Network, memory and CPU are not showing any signs of stress.. it seems like the application just stalls or works at a very slow pace.
Given this configuration, can you describe the sequence of events that occur when I click on "add branch to version control" ? Where would you expect bottlenecks to lie? How can I verify which issue to attribute this performance problem to?
Thanks!
Tim
--------------------------------------------
Re: SVN + EA too slow check operations
Reply #12 - Today at 5:57am
Tim,
EA does version control using xmi files of the controlled packages. This means that everytime you checkout a file EA will get the latest version of the xmi file stored in VC and perform an import of that xmi file.
Same story when checking in, EA exports the package to xmi and checks that file in into version control.
The more packages you check-in/-out , the more time it takes to import/export the xmi file.
The total execution time of a a checkin operation should be the sum of
- time to export each package to xmi
- time to checkin each created xmi file to VC.
If this doesn't add up then there might be a configuration issue between EA and SVN. You might be able to get more detailed information on what is actually happening (and which operations take the most time) if you inspect the SVN logs on the SVN server side.
Geert
--------------------------------------------
Re: SVN + EA too slow check operations
Reply #14 - Today at 1:32pm
Thanks Geert,
I'm checking in 77 .xml files from about 22 folders. The largest one is about 1MB.
how much time would you estimate is involved with exporting one 1MB .xmi file? importing?
I'll check svn logs next.
Tim