[darcs-users] Size of patches, import performance, HintsAndTips

Adam Sjøgren asjo at koldfront.dk
Thu Oct 20 21:15:55 UTC 2005


  Hi.


I just imported a bunch of files¹ into an existing darcs repository of
mine. It took a while, and used quite a bit of ram, so I went to the
darcs website to see if this was normal or something I should report.

On the wiki I found this on the HintsAndTips-page:

 "In my experience you do not want to create a single patch of more
  than about 2MB of data. I have found that large repositories are
  quite managable as long as individual patches are small."

Given that the directory I imported weighs in at 75MB and I imported
it as one patch (one 'darcs record'), maybe I should not be surprised
that it took more than 5 minutes of cpu-time, taking up 250+MB RAM to
push it from one 2GHz Pentium 4-box to another, over a LAN.

My question is this: What is the recommended way to import a 75MB
directory? How do I easily make patches of a kind/size that darcs
"likes" better?


I thought I'd ask here (I just scanned the last 500 subjects and
missed any obvius references to this, if there were any) and sum up
the discussion on the wiki-page, if that is okay.


  Best regards,

     Adam


¹ The dir I imported basically contains a cvs checkout of COIN-OR:
   <http://www.coin-or.org/download.html>

-- 
 "Dansk, dette unikum af artikulatorisk økonomi."             Adam Sjøgren
                                                         asjo at koldfront.dk





More information about the darcs-users mailing list