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

Re: Speeding up cvs2svn (was Re: cvs2svn takes very long time to execute (days!))

From: Martin Gadbois <martin.gadbois_at_colubris.com>
Date: 2004-02-16 18:15:11 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland Dreier wrote:
| Anyway, to summarize my findings on cvs2svn.py performance:
|
| 1. Use tmpfs for a working directory to avoid disk IO.
| 2. Use a LD_PRELOAD-ed library to get rid of useless sleeps in the
| BSD db library.
| 3. Increase the db cache size to avoid shuffling blocks in and out of
| cache.
| 4. It may be worth changing the pass 2 algorithm to increase
| performance.
|
| I'd be very interested to hear any reactions to these ideas.
|
| Best,
| Roland
|

Might I suggest to try as well Psyco:
http://psyco.sourceforge.net/

Since, as you put in your email, that the script spends most of its time handling strings, Psyco
should be able to increase the performance.

I will try it out (the 1G RAM machine here is busy) on my small workstation as soon as my
compilation of OpenOffice is done... :-)

- --
"Windows might take you from 0 to 60 faster, but to go to 100 you need Unix."
==============
Martin Gadbois
S/W Developper
Colubris Networks Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAMPqe9Y3/iTTCEDkRAvt3AKCw4aYseGqYe2ED5HCctv4+FzLtMgCgwzBM
pnPZXbaja6GpLnKndX3CmNg=
=wX3l
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 16 18:25:25 2004

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

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