optimising "change CWD" algorithm in subshell mode

Dmitry Smirnov onlyjob at member.fsf.org
Mon Nov 5 23:00:41 UTC 2012


On Tue, 6 Nov 2012 08:25:59 Andrew Savchenko wrote:
> On Tue, 6 Nov 2012 07:44:13 +1100 Dmitry Smirnov wrote:
> > On Tue, 6 Nov 2012 04:09:45 Oswald Buddenhagen wrote:
> > > On Sun, Nov 04, 2012 at 11:43:35PM +1100, Dmitry Smirnov wrote:
> > > > What do you think would be the best to do about it?
> > > 
> > > find out where the slowness *actually* comes from. oprofile, or maybe
> > > callgrind (once you isolated the process).
> > 
> > I don't know where slowness comes from (self-evidently it becomes slower
> > with the growing length of full path)
> 
> That's why you are asked to use oprofile to find out. You may use
> systemtap as well.

Andrew, I have to clarify that Oswald merely replied what's in his opinion 
should be done. He did not ask me to use those tools.
I don't know how to use them. If you posses this knowledge please feel free to 
share what you have found.

Regards,
Dmitry.



More information about the mc-devel mailing list