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

Re: Speed during import - locating the bottleneck

From: Ronny T. Lampert <telecaadmin_at_uni.de>
Date: 2005-03-09 13:04:26 CET

Hi,

> I've noticed that the import of projects seems to be very very slow. The
> initial import of an 100 MB Binary file lasts about 5 Minutes -> 20 MB per
> Minute.

Try setting

set_flags DB_TXN_NOSYNC

in $REPOS/db/DB_CONFIG

# Disable fsync of log files on transaction commit. Read the
# documentation about DB_TXN_NOSYNC at:
# http://www.sleepycat.com/docs/api_c/env_set_flags.html

I don't know if the sync is per file, but working with ~250MB Sources and
20.000 files imports, this greatly improved performance.

Beware that this may harm data integrity when using non-server hardware
(secured thru UPS, ...)

Greetings,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 13:06:54 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.