monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Unix Attributes and Symlinks


From: Daniel Dickinson
Subject: Re: [Monotone-devel] Unix Attributes and Symlinks
Date: Mon, 10 Jul 2006 00:01:05 -0400

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

On Sat, 8 Jul 2006 23:08:03 -0700
Nathaniel Smith <address@hidden> wrote:

> On Thu, Jul 06, 2006 at 01:54:27PM -0400, Daniel Dickinson wrote:
> > On Thu, 6 Jul 2006 07:59:39 -0700
> > Nathaniel Smith <address@hidden> wrote:
> > > The attr support has been totally rewritten since whatever version
> > > you're using; for that matter, so have 'add' and 'commit' :-) So
> > > hard to predict if these problems are still there.  I'd be
> > > interested to hear, though.
> > > 
> > > How big a tree are you talking about, in terms of number of files
> > > and total disk footprint?
> > 
> > 1252 files and directories (including symlinks), ~27 MB in size.
> >
> > > You may find that turning on 'inodeprints' gives you a major
> > > speedup in 'commit'.
> > 
> > I'll have to try that, but it's the 'mtn get attr x' and 'mtn set
> > attr x y' that are noticeably slow even on single files (at least a
> > second per file), not the commit itself.
> 
> Okay, yeah, inodeprints won't help with that.  But it's still a bit
> odd; 'attr get' and 'attr set' are both ~0.1s for me here, on
> monotone's tree, which is ~1700 files and ~13 MB (though only the
> former should matter for attr get/set, since it doesn't have to touch
> any file content).  That's still maybe longer than you'd like, of
> course.

.1 s would be fine.  I've noticed that mtn add has a similar delay
after the list of skipped and added files is shown, and mtn commit
takes 1-2s after exiting the editor for the commit comment.   I suspect
it's something to do with reading or verifying the manifest that the
problem, and since the script does a separate invocation of mtn get
attr file for every file, this is what is slow.

Cheers,

Daniel

- -- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEsdERhvWBpdQuHxwRAls9AJ0ZR8LcWd+8e/2vppCgBzR2A/fqowCghR/T
8NTDc5TBm3EsJmnVB0gZ+Js=
=MJjD
-----END PGP SIGNATURE-----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]