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

Re: Fresh checkout vs 'svn upgrade': How good is good enough?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 16 Jun 2011 11:50:46 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> That's using the sync option on the NFS server. Using async
>
> Checkout using 1.6:
> Elapsed: 73s CPU: 16s

[...]

> Checkout using 1.7
> Elapsed: 180s CPU: 26s

By comparison the same checkout to a local disk takes about 5s elapsed
for both 1.6 and 1.7.

I tried an experiment with the update editor used by checkout. At
present it inserts a not-present NODES row for each file in add_file()
and then replaces it with a normal NODES row in close_file(). I removed
the code that inserts the not-present row, the checkout still works
provided it runs to completeion. This change removes one transaction
per-file from the checkout, and reduces the elapsed time by 27s or 15%.

So to get better performance on network disks we have to remove or
combine transactions.

-- 
Philip
Received on 2011-06-16 12:51:27 CEST

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.