You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Guido Anzuoni <gu...@kyneste.com> on 2004/08/24 13:01:04 UTC

Subversion performance

Hello, 
I am experiencing strange performance problem with svnadmin load command on windows platform.
Using fsfs repository I can see 100% of cpu usage and my 96 txn repos is loaded in about 1 minute.
Using bdb repository, the same operation takes about 5 minutes but the cpu usage is never more that 11% !!!

Any suggestion ?

Guido Anzuoni

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


Re: Subversion performance

Posted by Greg Hudson <gh...@MIT.EDU>.
> I am experiencing strange performance problem with svnadmin load
> command on windows platform.  Using fsfs repository I can see 100%
> of cpu usage and my 96 txn repos is loaded in about 1 minute.  Using
> bdb repository, the same operation takes about 5 minutes but the cpu
> usage is never more that 11% !!!

I'm not sure which of these measurements you consider to be a problem.
FSFS takes less time, but spends almost all of it making calculations.
BDB takes more time, but spends much of it waiting for the disk.

(The "%CPU" field in the ps listing measures the ratio of process CPU
time to process wall-clock time so far.  If there are other
CPU-intensive processes running, the %CPU value will go down as they
claim parts of the CPU.  If the process is I/O-bound, the %CPU value
will go down as the CPU sits idle waiting for I/O to complete.)

You can improve BDB load performance by setting the DB_TXN_NOSYNC flag
in the db/DB_CONFIG file of the repository (there are voluminous
comments in that file to guide you).  Make sure to turn this flag off
again after the load is complete, since it's not terribly safe to run
a BDB repository with the nosync flag on.

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

Re: Subversion performance

Posted by Mark Phippard <Ma...@softlanding.com>.
"Guido Anzuoni" <gu...@kyneste.com> wrote on 08/24/2004 09:01:04 
AM:

> Hello, 
> I am experiencing strange performance problem with svnadmin load command 
on 
> windows platform.
> Using fsfs repository I can see 100% of cpu usage and my 96 txn repos is 

> loaded in about 1 minute.
> Using bdb repository, the same operation takes about 5 minutes but the 
cpu 
> usage is never more that 11% !!!
> 
> Any suggestion ?
> 

I suspect that is somewhat normal.  The docs for fsfs indicate that it 
will use more CPU than the BDB implementation.  I believe it stores the 
deltas differently, which is also why it generally requires a lot less 
space.

For more info:

http://web.mit.edu/ghudson/info/fsfs

Mark



_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs. 
_____________________________________________________________________________

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