ccnet/vault.exe performance

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Dhominator
Posts: 35
Joined: Tue Mar 14, 2006 12:33 pm

ccnet/vault.exe performance

Post by Dhominator » Wed Jun 07, 2006 4:07 pm

vault: 3.1.8
ccnet: 1.0.1.1277

Do vault.exe and the vault gui share settings (like backup)? [edit] yep.

vault.exe is 10X slower than the gui when called from ccnet (deleted all files before get in both cases). Noted the _sgbak (or whatever) directory and a proxy setting. Have logged in as the build user in the vault gui, turned off the backups and disabled the proxy use. Will check performance w/ccnet and vault.exe on command-line.

Have seen references to using newer ccnet builds. Absolute latest or can you recommend a particular version [that is known to have worked ;)]

Is there a summary FAQ on vault/ccnet config/issues?

[edit]
ok, found a number of references to ccnet/workingdirectory/-destpath. Will make these changes and report back. i see how this will improve incremental gets... but not how it would explain the get all tests i performed.

[edit2]
setting useWorkingDirectory = true and setting the working directory via the gui client fixed the incremental get. cool.

still investigating the get all performance. need to re-run get all now that proxy and backup settings have been changed. also looking at server config, virus scanners, etc.

/jhd

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Thu Jun 08, 2006 8:31 am

I've pretty extensively modified the Vault documentation for CC.NET with all the issues I'm aware of, so that's probably the closest thing to a FAQ. It's here.

The CC.NET 1.1 build that we're using is, unfortunately, no longer available for download. Sometime after TechEd (which is next week) I expect to have time to update us to one of the latest builds, at which time I'll report back. (The latest builds are here.)
Ian Olsen
SourceGear

Dhominator
Posts: 35
Joined: Tue Mar 14, 2006 12:33 pm

Post by Dhominator » Thu Jun 08, 2006 9:20 am

thx info. definately updated since the version i downloaded. will grab a more recent version and report back in next couple of days.

/jhd

Dhominator
Posts: 35
Joined: Tue Mar 14, 2006 12:33 pm

Post by Dhominator » Thu Jun 08, 2006 12:05 pm

The 1.1 docs look much improved. rememberlog option addresses another question i had. Will grab latest good build and re-install.

/jhd

Dhominator
Posts: 35
Joined: Tue Mar 14, 2006 12:33 pm

Post by Dhominator » Wed Jun 21, 2006 1:14 pm

vault: 3.1.8
ccnet: 1.1.0.2376

upgraded a few days ago. no problems to report.

vault.exe is not deleting local files during the get operation. have confirmed the option is set in the gui client... does this mean that not all settings are shared between the gui and cl clients?

how do i get -performdeletions removeworkingcopy argument to vault.exe running under ccnet?

/jhd[/b]

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Wed Jun 21, 2006 1:29 pm

This is a known issue. Unfortunately Vault's getversion command doesn't honor the -performdeletions option. (So getting that option passed from CC.NET won't fix it for you.) This is fixed in the forthcoming 3.5 release of Vault, which is due out next month.

In the mean time, you can work around this by retrieving the source into a clean directory by setting the cleanCopy option to true in your ccnet.config. I understand this can slow things down somewhat, and apologize for the inconvenience.
Ian Olsen
SourceGear

Dhominator
Posts: 35
Joined: Tue Mar 14, 2006 12:33 pm

Post by Dhominator » Wed Jun 21, 2006 2:08 pm

ouch! adds 22 minutes to my 5 minute build.

thx info. need that next release!

/jhd

Post Reply