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

RE: svnadmin verify performance issue (was: Re: How long do your svn dumps take)

From: <kmradke_at_rockwellcollins.com>
Date: Wed, 22 Apr 2009 16:16:12 -0500

(This appears to have bounced the first time. Retrying...)

I didn't see many options to gprof, so instead, I rebuilt subversion
(and all of it's dependencies) with -pg to include profiling for
all functions and re-ran the same test. It took over 13 minutes
to run this time, and looks like it includes more information. I've
attached the new gprof output.

It may very well be spending a significant amount of time
in ap_hash_next, since it is called over 2 billion times.
apr_pstrdup is called 2.7 billion times and apr_palloc
is called 2.1 billion times...

This is only verifying 21 revisions, and the repo itself
has over 13000...

The svnadmin process didn't appear to use more than 44MB
of RAM during the test, but it did use 100% of one CPU
pretty much the whole time.

Kevin R.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1866218

Received on 2009-04-22 23:16:58 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.