You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Johan Corveleyn <jo...@uz.kuleuven.ac.be> on 2009/05/09 19:56:49 UTC

RE: svn log slowness

>Is it possible that your server is I/O bound? Logs are stored in
>revprops, one per revision. So if you're pulling the history for a
>large range of revisions, you're doing a lot of access on many small
>files - some filesystems are very poor in this usage scenario.

Just recording some more info for posterity: yes, it seems to be largely IO bound. This became apparent during some experiments, where we put the FSFS repository on a local disk instead of on the NFS-mounted netapp. It improved svn log speed by more than 50%:

For our big file with 5500 revisions over https (SvnPathAuthz off)
- NFS-mounted netapp: ~3m20s
- local disk: ~1m30s
Still a long way from the 3-5 seconds we had with CVS, but it's already a big improvement.

Unfortunately, this is not a viable production option for us (needs to be on the netapp, to have all the high-availability and backup options available). But it prompted us to further investigate IO optimization options, configuration of the netapp, NFS mount options, ... I'll post here if we have any progress with these.

In any case, it made me think that packing revprop shards (as was discussed here some time ago) could make a big difference for svn log with FSFS. Switching to BDB might also help a lot, but unfortunately that's also not really possible for us currently, because the available Solaris binaries of SVN don't include support for BDB (we've checked CollabNet and sunfreeware). And we don't really have the experience nor time to build it from source.

Is there any specific reason why the CollabNet binary for Solaris doesn't include BDB support? Is it just because FSFS is the default, and the easiest for maintenance?

Regards,
Johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svn log slowness

Posted by Stefan Sperling <st...@elego.de>.
On Sun, May 10, 2009 at 12:42:19AM +0200, Johan Corveleyn wrote:
> > > Is there any specific reason why the CollabNet binary for Solaris
> > > doesn't include BDB support? Is it just because FSFS is the default,
> > > and the easiest for maintenance?
> > 
> > I don't think you want to use a BDB repository mounted over NFS.
> > FSFS has been designed for that, but BDB is supposed to have problems
> > with it.
> 
> Ok, thanks for reminding me. But apart from that, is there a specific
> reason why BDB support is not built into the subversion binaries for
> Solaris (don't know about binaries for other platforms)?

No idea. You might be better off asking the people who build those
binaries directly if you don't get an answer on this list.

Stefan

Re: svn log slowness

Posted by Mark Phippard <ma...@gmail.com>.
On Sat, May 9, 2009 at 6:42 PM, Johan Corveleyn
<jo...@uz.kuleuven.ac.be> wrote:
>> > Is there any specific reason why the CollabNet binary for Solaris
>> > doesn't include BDB support? Is it just because FSFS is the default,
>> > and the easiest for maintenance?
>>
>> I don't think you want to use a BDB repository mounted over NFS.
>> FSFS has been designed for that, but BDB is supposed to have problems
>> with it.
>
> Ok, thanks for reminding me. But apart from that, is there a specific reason why BDB support is not built into the subversion binaries for Solaris (don't know about binaries for other platforms)?

None of the CollabNet-certified binaries include BDB support.  It is
not just Solaris.  This is primarily for support reasons.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svn log slowness

Posted by Johan Corveleyn <jo...@uz.kuleuven.ac.be>.
> > Is there any specific reason why the CollabNet binary for Solaris
> > doesn't include BDB support? Is it just because FSFS is the default,
> > and the easiest for maintenance?
> 
> I don't think you want to use a BDB repository mounted over NFS.
> FSFS has been designed for that, but BDB is supposed to have problems
> with it.

Ok, thanks for reminding me. But apart from that, is there a specific reason why BDB support is not built into the subversion binaries for Solaris (don't know about binaries for other platforms)?

Johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svn log slowness

Posted by Stefan Sperling <st...@elego.de>.
On Sat, May 09, 2009 at 09:56:49PM +0200, Johan Corveleyn wrote:
> In any case, it made me think that packing revprop shards (as was
> discussed here some time ago) could make a big difference for svn log
> with FSFS. Switching to BDB might also help a lot, but unfortunately
> that's also not really possible for us currently, because the
> available Solaris binaries of SVN don't include support for BDB (we've
> checked CollabNet and sunfreeware). And we don't really have the
> experience nor time to build it from source.
> 
> Is there any specific reason why the CollabNet binary for Solaris
> doesn't include BDB support? Is it just because FSFS is the default,
> and the easiest for maintenance?

I don't think you want to use a BDB repository mounted over NFS.
FSFS has been designed for that, but BDB is supposed to have problems
with it.

See http://svnbook.red-bean.com/en/1.5/svn.reposadmin.planning.html#svn.reposadmin.basics.backends

Stefan