Re: Performance issue of 'git branch'
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jul 23, 2009, 12:42 UTC
- Message-ID
- <m3prbr371l.fsf@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.01.0907221925100.3352@localhost.localdomain>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 17 quoted lines
> 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