[darcs-devel] [issue1367] darcs push --all" takes 37 minutes

Zooko bugs at darcs.net
Mon Feb 23 19:15:40 UTC 2009


New submission from Zooko <zooko at zooko.com>:

Zandr was setting up a new branch of tahoe for allmydata.com, and he  
did a "darcs push" over ssh from a repository containing the tahoe  
source (http://allmydata.org/source/tahoe/server-hashedformat ) to an  
empty repository.  Time passed, and Zandr and I gave up and assumed  
it was broken, killed it, experimented, experimented some more, and  
finally copied the whole thing over by making a tarball on one side  
and scp'ing it over and untarring it.

Later, I figured out that if we had waited for 37 minutes, it would  
have worked.

I ran "darcs optimize" in the repo, and then the push --all takes  
"only" 17 minutes.

However, 17 minutes is probably about 10 times as slow as competing  
revision control tools.  For comparison the following script takes  
between 60 and 120 seconds:

tar cjf server-hashedformat.tar.b2 server-hashedformat
scp server-hashedformat.tar.bz2 zooko at allmydata.org:
ssh zooko at allmydata.org 'tar xjf server-hashedformat.tar.bz2'

Could we add this repository to the darcs benchmarking zoo and start  
generating automated benchmarks of how long it takes to push all  
these patches into an empty repository?

Regards,

Zooko
---
Tahoe, the Least-Authority Filesystem -- http://allmydata.org
store your data: $10/month -- http://allmydata.com/?tracking=zsig

----------
messages: 7347
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, zandr, zooko
status: unread
title: darcs push --all" takes 37 minutes

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1367>
__________________________________


More information about the darcs-devel mailing list