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

Re: WCNG - Upgrading working copies

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 26 Nov 2010 14:32:34 +0000

Mark Phippard <markphip_at_gmail.com> writes:

> It seems like Daniel is more asking if this might be indicative of a
> bug. Does it ever make sense that svn upgrade would take that long?
> Without any need to fetch pristines from the repository as checkout
> needs to do, it seems hard to believe that it should take that long.
> I can imagine scenarios where we have to calc new checksums or open
> and re-read entry data over and over again but 43 minutes?
>
> Daniel, is your working copy on a local hard drive?

Upgrade has had no performance tuning and it's possible that upgrade
executes more SQLite queries than checkout. The number of queries has a
significant performance effect on network disks:

http://svn.haxx.se/dev/archive-2010-10/0350.shtml

Upgrade copies the pristines, so it's reading and writing from the same
working copy. Checkout reads pristines from the network and writes to
disk, this could be faster depending on the performance of disk and
network.

Performance on network disks is a concern.

-- 
Philip
Received on 2010-11-26 15:33:20 CET

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

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