From: Jakub Narebski Date: Thu, 23 Jul 2009 12:42:03 GMT Subject: Re: Performance issue of 'git branch' Message-ID: In-Reply-To: Linus Torvalds writes: > On Thu, 23 Jul 2009, Carlos R. Mafra wrote: > > > > Is there another way to check what is going on with that anomalous lstat()? > > I really don't think it's the lstat any more. Your directories look small > and simple, and clearly the indexing made no difference. > > See earlier email about using "strace -T" instead of "-tt". Also, I sent > you a patch to try out just a minute ago, I think that may be it. > > > [ perhaps I will try 'perf' after I read how to use it ] > > I really like 'perf' (it does what oprofile did for me, but without the > headaches), but it doesn't help with IO profiling. > > I've actually often wanted to have a 'strace' that shows page faults as > special system calls, but it's sadly nontrivial ;( BTW. Would SystemTap help there? Among contributed scripts there is iotimes, so perhaps it would be possible to have iotrace... -- Jakub Narebski Poland ShadeHawk on #git