[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: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 22 Apr 2009 17:32:00 +0200

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: woensdag 22 april 2009 16:56
> To: kmradke_at_rockwellcollins.com
> Cc: dev_at_subversion.tigris.org
> Subject: svnadmin verify performance issue (was: Re: How long do your svn
> dumps take)
>

> >
> > granularity: each sample hit covers 4 byte(s) for 0.00% of 296.19
seconds
> >
> > called/total parents
> > index %time self descendents called+self name index
> > called/total children
> >
> > <spontaneous>
> > [1] 26.2 77.59 0.00 apr_hash_next [1]

Are you sure your debug symbols are ok. I would be very, very surprised if
this function would take 26% of your time:

APR_DECLARE(apr_hash_index_t *) apr_hash_next(apr_hash_index_t *hi)
{
    hi->this = hi->next;
    while (!hi->this) {
        if (hi->index > hi->ht->max)
            return NULL;

        hi->this = hi->ht->array[hi->index++];
    }
    hi->next = hi->this->next;
    return hi;
}

Unless you have an application containing an insane large hashtable,
containing nothing.. and doing nothing with the keys.

        Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1862070
Received on 2009-04-22 17:32:22 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.