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

Re: slow status

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-08 01:57:17 CEST

On Oct 7, 2004, at 5:37 PM, John Williams wrote:

> I am trying to put a large website project into subversion-1.1.0.
> fsfs is a big improvement, but there are still scalability problems.
>
> Here is an especially obvious one.
>
> $ date; svn status newsite.html ; date
> Thu Oct 7 16:28:23 MDT 2004
> Thu Oct 7 16:30:34 MDT 2004
>
> 2 minutes(!) for an svn status command on a single file.
> I am using svnserve, but that doesn't matter.
>
> An strace on the process shows that svn status is reading *every*
> .svn/format and .svn/entries file in the entire project, starting at .
> (the current directory), even though I only asked for the status of a
> single regular file.
>

What the...??

I can confirm this too. When I run an OSX 'ktrace' on

   $ svn status subversion/libsvn_fs_base/bdb/dbt.c

Then I only see the bdb/.svn/entries file being opened.

But when I run

   $ svn status README

...I see every .svn/entries the entire tree being opened.

Developer-folk, is this expected?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 8 01:57:39 2004

This is an archived mail posted to the Subversion Dev mailing list.