[RTC Build] Fetching performance issue
![]()
Philippe Krief (561●1●5●5)
| asked Mar 19 '13, 7:09 p.m.
JAZZ DEVELOPER edited Mar 20 '13, 3:13 p.m. by Spencer Murata (2.3k●11●59●71)
Hi Folks
We have a weird behavior with our build... The Repository Workspace associated to the Build Definition contains 350,000 files. When the build starts from scratch, fetching files in the build machine takes an expected time based on the footprint of our Workspace. Now, if we change only 1 file in our associated Stream and we keep unchecked "Delete directory before loading' option in the build definition is checked?", it takes 2 hours "just" for fetching 1 single file... We are running RTC 4.0.1... And, for our tests, the build engine is on the machine as the JTS. We found few posts mentioning some similar issues:
Now we are not sure what we should do to fix that. Any help will be welcome Thanks a lot. |
3 answers
![]()
we are adding caching proxies to our environment to solve this problem.
As mentioned, there is a LOT of work that goes on to figure out what to load again. many of our builds just load it all. every time. cause it easy. the RTC file naming convention works very well with the squid caching proxy (or similar) Comments Hi,
Please note that you can search Jazz.net.
Please note that I don't see why the performance should be better, if you have everything on the same machine. The JBE's and the caching proxy should be on another machine than the servers.
I manage to make all tests but for now I do not have enough time to do so. My intention is to install DB2 database , RTC and the jbe on separates machines.
|
![]()
Here the results with this configuration
So the problem is with Windows build engine code. I already mentioned this kind of differences between Windows and Linux in this work items. But it skill opened. Long Time spends for "Loading" during sparse loading of large amount of files (208769) Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Consider writing a work item here and provide your data.
Here the WI I created :
|
Comments
How does the RTC SCM system know what has changed in the local sandbox vis what needs to be downloaded fresh ?
Is it doing something like comparing all files in the repository workspace with the sandbox to find out what has changed ?
Philippe,
To reduce the number of moving parts you might try to load the workspace outside of the build using the scm command line. If it also take a long time then we can throw out Build as being involved.