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

Re: Subversion performance

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-24 18:17:15 CEST

> 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
Received on Tue Aug 24 18:17:52 2004

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