Thanks much for the raw data, Drew. On Mon, Nov 24, 2008 at 00:34:57 -0800, Drew Perttula wrote: > The v1 repo: > 1800 patches > du -h _darcs/patches = 29M > du -h = 71M > find -type f | grep -v _darcs = 1228 files (currently) > darcs show tags = 37 tags, most of them recent > > darcs convert: > 43.79s user 7.01s system 48% cpu 1:45.32 total > grep lossy conv.log = 58 lines of "lossy conversion of complicated > conflict"! > grep merger conv.log = 87 lines > wc -l conv.log = 1783 lines
We're working on getting an FAQ entry up for the lossy conversion warnings (see http://bugs.darcs.net/issue1103 ). My current understanding is that in some cases, darcs convert simplifies conflicting patches into non-conflicting ones (in darcs theory, two conflicting patches nullify each other anyway, so you can imagine a lossy simplification in which one of the patches is just the inverse of the other), but I'll need somebody more knowledgeable to confirm. > I don't know what's being lost, but it seems like it happened a lot. > And, the v2 repo doesn't seem faster for the simple operations I've > tried so far. There are no diffs in either repo; everything is local > disk; times are best-of-3: > darcs wh v1 3.1sec v2 4.0sec > darcs wh -sl v1 6.1sec v2 9.3sec (why 2x as long?) > darcs mv foo bar v1 3.8sec v2 6.0sec Please try with the hashed repository format as well. (There are three kinds of repository in darcs: darcs1 old-fashioned, darcs1 hashed (needs a darcs2 client) darcs2 hashed; and what we called the hashed repository format is the darcs1 hashed). I reckon this slowdown is more related to the hashed IO than anything else. I would recommend that you add yourself to the http://bugs.darcs.net/issue1202 nosy list. If the slowdown is bearable, I would highly recommend switching to at least the darcs1 hashed format if not darcs 2, as hashed repositories are more robust than their unhashed counterparts. Thanks! -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
