[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Multi-path updates

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: 2007-10-23 21:39:19 CEST

I just ran an interesting comparison of 2 raw svn update commands. Both
update the nearly same set of data but the runtimes are drastically
different.

 

% time svn up

0.160u 0.320s 0:27.81 1.7% 0+0k 0+0io 1366pf+0w

 

% time svn up -N * */*

31.440u 10.440s 14:38.91 4.7% 0+0k 0+0io 873409pf+0w

 

The second run is a 32x increase in run time. Now my particular issue
is not quite the same as this (more to do with working around the lack
of -depth in the 1.4.x clients) but this seems seriously out of whack.

 

My first thought is that svn_mucc solves a similar problem with respect
to copies/commits - is there anything around that does the same thing
for update?

Notes:

- * */* expands to about 1100 paths, mostly sub-dirs with a few
small files each

- The first run actually updates more paths due to a few nested
dirs

- The working copy was completely up to date, so no files were
actually modified

- Using svn+ssh:// (file:// sees a similar but not as drastic
ratio)

- svn 1.4.0

 

Eric
Received on Tue Oct 23 21:41:04 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.