'svnadmin load' & database sync options
From: Oliver Jowett <oliver_at_opencloud.com>
Date: 2004-07-17 03:32:14 CEST
Hi all,
I'm currently looking at converting our large (~350mb) CVS repository to
cvs2svn happily produces a dumpfile containing ~14000 transactions:
> -rw-r--r-- 1 oliver ocstaff 708319348 Jul 16 18:53 cvs2svn-dump
Loading it via 'svnadmin load' is hideously slow, taking almost 10 hours:
> oliver@cyclone:~/svn-test$ svnadmin create repo-sync
Ok, so I'll use --bdb-txn-nosync:
> oliver@cyclone:~/svn-test$ svnadmin create --bdb-txn-nosync repo-no-sync
Better but still very disk-bound. Some digging with lsof/strace showed
I experimented a bit with other DB options and ended up with this:
> oliver@cyclone:~/svn-test$ svnadmin create --bdb-txn-nosync repo-no-log
That's more like what I originally expected!
The system these all ran on (cyclone) is a dual Athlon/MP 2800+, 2GB
> ||/ Name Version Description
The subversion repositories are on an ext3 filesystem on a commodity IDE
So, some questions:
1) Is using DB_TXN_NOT_DURABLE during the initial load a sane thing to
-O
---------------------------------------------------------------------
|
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.