[darcs-users] Re: darcs for /etc very slow

manfred manfred.lotz at web.de
Wed Dec 15 19:01:02 UTC 2004


On Wed, 15 Dec 2004 06:45:37 -0700, Phil Frost wrote:

> On Wed, Dec 15, 2004 at 01:07:47PM +1100, Geoff Crompton wrote:
>> Hi,
>> 
>> I was trying out darcs to manage my /etc on a Debian Sarge desktop PC. I 
>> found that it was _very_ slow. I'm using version 1.0.0.final. After 
>> doing an apt-get update (which only updated a fairly normal amount of 
>> packages) I was finding it took something on the order of 40 minutes to 
>> do a 'darcs whatsnew'.
>> I attempted to do a 'darcs record', but it took longer than 5 hours, so 
>> I killed it.
>> 
>> I've seen comments that darcs doesn't like large trees. My /etc is only 
>> about 50M. Is the speed that I've been seeing typical of darcs, or is 
>> the version I'm using got some performance issues?
> 
> I have encountered times where 'darcs record' takes hours before I
> interrupt it, but 'darcs record -a' works in under 30 s. Saying 'a' in
> the interactive prompt is aparently not the same as the '-a' option.

You are definitely right!

I tried a similar szenario as Eric did.

Copied /usr/X11R6/shared to /tmp/test/shared

du -hs shows around 58M
There are 2149 files.

time darcs record -am "test"
darcs record -am "i"  61.12s user 4.98s system 84% cpu 1:17.86 total


darcs record -m "test1" and answering 'a' gives:
darcs record -m "i"  338.87s user 5.84s system 88% cpu 6:28.06 total

This is FreeBSD 5.3 and darcs 1.0.1rc3




-- 
Manfred







More information about the darcs-users mailing list