"Get Latest Version" performance problem after 3.0
Moderator: SourceGear
"Get Latest Version" performance problem after 3.0
We just upgraded from Vault 2.0.6 to 3.0.7 yesterday. Most of the client computers are running smoothly. However one of the computers is having significant performance problems after the installation. Before the upgrade, the computer had no performance problems getting the latest version of the main branch to an empty folder. After the upgrade, the computer has significant performance problems performing the same operation (each file takes 1-2 seconds to pull down from the local server).
Some pertinent parameters:
- Windows 2000 with all the latest updates applied
- 512 GM RAM
- Working folder is on a local disk drive with 12 GB free
- 11386 files in 1077 folders in the repository
- Vault server is in the same location as the client
A 30 MB file located on the same server as the Vault server copies to the client machine in a few seconds so the network throughput does not appear to be an issue.
Any ideas?
Todd Breyman
SunGard Insurance Systems, Inc.
Some pertinent parameters:
- Windows 2000 with all the latest updates applied
- 512 GM RAM
- Working folder is on a local disk drive with 12 GB free
- 11386 files in 1077 folders in the repository
- Vault server is in the same location as the client
A 30 MB file located on the same server as the Vault server copies to the client machine in a few seconds so the network throughput does not appear to be an issue.
Any ideas?
Todd Breyman
SunGard Insurance Systems, Inc.
Is the client computer using the Vault GUI Client or IDE client to do the Get?
Are other operations slow, or just Get latest?
Are there any errors or other info in the Vault server log that correspond to the time period of the Gets by this client machine?(%windir%\Temp\sgvault\sgvault.log)
If the Vault client is establishing file baselines, a first get would take longer than subsequent gets of the same file. Have these files been retrieved previously by the client?
Is client-side logging enabled for that client? Vault 3.0.7 does a lot more logging and that could slow things down.
Are other operations slow, or just Get latest?
Are there any errors or other info in the Vault server log that correspond to the time period of the Gets by this client machine?(%windir%\Temp\sgvault\sgvault.log)
If the Vault client is establishing file baselines, a first get would take longer than subsequent gets of the same file. Have these files been retrieved previously by the client?
Is client-side logging enabled for that client? Vault 3.0.7 does a lot more logging and that could slow things down.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Vault GUI ClientIs the client computer using the Vault GUI Client or IDE client to do the Get?
No. This computer performs weekly builds and ALWAYS starts with an empty working folder. However this has always been the case and was never a problem with 2.0.6.Have these files been retrieved previously by the client?
Since the repository hasn't been brought down yet, only "GET LATEST".Are other operations slow, or just Get latest?
See attached log. The client logged in, performed a GET LATEST VERSION, and then an ABORT after performance problem was detected.Are there any errors or other info in the Vault server log that correspond to the time period of the Gets by this client machine?
Client side logging is DISABLED.Is client-side logging enabled for that client?
Todd
- Attachments
-
- sgvault.zip
- (9.92 KiB) Downloaded 830 times
Doesn't seem to be a server-side problem:
----6/30/2005 12:43:24 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Beginning file download
<snip>
----6/30/2005 12:44:31 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Ending download process
Just about a minute for the download.
It's not clear why things would be slower for this particular client.
You could try deleting the client-side cache files and hidden state folders (_sgvault) --perhaps there's some problem with them that will go away when they're recreated by the client.
http://support.sourcegear.com/viewtopic.php?t=6
The first download after deleting the _sgvault directory will cause new baseline files to be retrieved. After that, gets should be faster because only file deltas will be retrieved.
----6/30/2005 12:43:24 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Beginning file download
<snip>
----6/30/2005 12:44:31 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Ending download process
Just about a minute for the download.
It's not clear why things would be slower for this particular client.
You could try deleting the client-side cache files and hidden state folders (_sgvault) --perhaps there's some problem with them that will go away when they're recreated by the client.
http://support.sourcegear.com/viewtopic.php?t=6
The first download after deleting the _sgvault directory will cause new baseline files to be retrieved. After that, gets should be faster because only file deltas will be retrieved.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
It's only about a minute for the download because I aborted the job. According to the status line, the download would have taken hours.----6/30/2005 12:43:24 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Beginning file download
<snip>
----6/30/2005 12:44:31 PM Librarian--SIS-ATL-CFARIN1(168.162.72.65)--SSL Disabled Ending download process
Just about a minute for the download.
Already tried that.You could try deleting the client-side cache files and hidden state folders (_sgvault)
This will not work because of our business practices on the libary computer - we always begin with an empty working folder. In addition, we are storing the _sgvault files in the working folder on that computer.The first download after deleting the _sgvault directory will cause new baseline files to be retrieved. After that, gets should be faster because only file deltas will be retrieved.
----
This is a real problem for us. Are there any diagnostics we can use to find out what is going on? ...to find out what changed from 2.0.6?
Todd
Deleting the hidden state folder (_sgvault) means the client has to refetch a new baseline each time, and results in poorer performance than if the Vault client only retrieves changes to the file (deltas).
Are your other users doing the same thing? If they still have their _sgvault folders, that could be why they are experiencing better performance. The _sgvault folder does not need to be in the working directory: if you uncheck the option to store it in the working directory the files will be stored in the user's %appdata% directory. (Tools->Options->General.)
Does the Get time improve if you don't delete the _sgvault folder?
What else is different on that client machine? Do you have real-time anti-virus software checking every read/write? Could the disk be getting fragmented?
You could also enable client-side logging to see if there are any clues to the slowdown:
http://support.sourcegear.com/viewtopic.php?t=1534
I'd suggest logging all classes.
Are your other users doing the same thing? If they still have their _sgvault folders, that could be why they are experiencing better performance. The _sgvault folder does not need to be in the working directory: if you uncheck the option to store it in the working directory the files will be stored in the user's %appdata% directory. (Tools->Options->General.)
Does the Get time improve if you don't delete the _sgvault folder?
What else is different on that client machine? Do you have real-time anti-virus software checking every read/write? Could the disk be getting fragmented?
You could also enable client-side logging to see if there are any clues to the slowdown:
http://support.sourcegear.com/viewtopic.php?t=1534
I'd suggest logging all classes.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager