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

Re: Directory deltification

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 04 Jan 2012 09:17:12 +0000

Hyrum K Wright <hyrum.wright_at_wandisco.com> writes:

> On Tue, Jan 3, 2012 at 8:23 AM, Philip Martin
> <philip.martin_at_wandisco.com> wrote:
>> I've been testing this with the old CollabNet Subversion repository, the
>> first 40,515 Subversion revisions, on my Linux laptop:
>>
>> The db/revs directory (unpacked) is 320MB instead of 490MB.
>> Loading takes about 12% more CPU.
>> Dumping takes about 22% more CPU.
>>
>> which matches your results.  Packing removes about 85MB for both
>> repositories.
>>
>> There are operations where reading the directory representations is more
>> dominant.  'svn log' on a path inside the repository uses 100% more CPU.
>
> Is that peak CPU or overall? If the I/O overhead went down, I'd
> expect the peak CPU usage to go up, but the overall operation time to
> drop.

That's overall CPU used, so the runtime for 'svn log' doubles when the
repository is in RAM.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-01-04 10:18:12 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.