You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bob Rossi <bo...@brasko.net> on 2005/05/04 15:27:43 UTC

Why does svn co take much longer than cvs co?

Hi,

I was hoping to migrate from CVS to SVN.
I have my CVS repository in a directory called cvsroot.

$ du -sh cvsroot
1.6G    cvsroot

I used cvs2svn to create a new svn repository. It took 24 hours, but it
finished without an error. I did something like,
'cvs2svn -s svnroot cvsroot'

For starters, I was wondering if it was normal that the svn repo was
about 12 times the size of the CVS repo? 

$ du -sh svnroot
18G     svnroot

The problem I am having now, is that it is taking a *very* *very* long
time to do a 'svn co'. It usually takes under 1 minute to do a 'cvs co'. 
It has taken svn 10 minutes so far, and it's still going.

Does this mean that svn is not a good fit for my repo? or is there
something I could be doing wrong?

Thanks,
Bob Rossi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Why does svn co take much longer than cvs co?

Posted by Scott Palmer <sc...@2connected.org>.
On May 4, 2005, at 11:27 AM, Bob Rossi wrote:

> For starters, I was wondering if it was normal that the svn repo was
> about 12 times the size of the CVS repo?
>
> $ du -sh svnroot
> 18G     svnroot

Which backend did you use?  BDB or FSFS?  As I understand it BDB can  
leave a lot of log files around that aren't really needed.

> The problem I am having now, is that it is taking a *very* *very* long
> time to do a 'svn co'. It usually takes under 1 minute to do a 'cvs  
> co'.
> It has taken svn 10 minutes so far, and it's still going.

Subversion takes a bit longer to check out the initial working copy,  
mainly because the working copy keeps more data in the .svn folders -  
like an original "pristine" copy of every file so it can make future  
update and commit operations more efficient and avoid going to the  
network entirely for some.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Why does svn co take much longer than cvs co?

Posted by Kelly Burkhart <ke...@kkcsm.net>.
Bob Rossi wrote:
> Hi,
> 
> I was hoping to migrate from CVS to SVN.
> I have my CVS repository in a directory called cvsroot.
> 
> $ du -sh cvsroot
> 1.6G    cvsroot
> 
> I used cvs2svn to create a new svn repository. It took 24 hours, but it
> finished without an error. I did something like,
> 'cvs2svn -s svnroot cvsroot'
> 
> For starters, I was wondering if it was normal that the svn repo was
> about 12 times the size of the CVS repo? 
> 
> $ du -sh svnroot
> 18G     svnroot

Our CVS repository was 91M.  Our SVN repository is 117M.  99.9% of files 
are plain text source code.

After my first test conversion (which was a full conversion), I did a 
--trunk-only convert which ran much more quickly and resulted in much 
faster checkouts.  I did not bother to investigate why or how much 
additional disk space the full conversion respository took.

Our work patterns result in many tags (several per week over several 
years) which we did not need to preserve in the new repository.

> The problem I am having now, is that it is taking a *very* *very* long
> time to do a 'svn co'. It usually takes under 1 minute to do a 'cvs co'. 
> It has taken svn 10 minutes so far, and it's still going.

Our checkouts now on Windows are slower than CVS (2m 50s svn vs. 1m 10s 
cvs) but subsequent operations run reasonably fast.  I notice no 
performance issues whatsoever as a linux client.

Our server is running on a Linux system.

HTH,

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org