Re: [ANNOUNCE] New tools: lttngtrace and lttngreport

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Gleixner
Date: Wednesday, November 17, 2010 - 2:44 pm

On Wed, 17 Nov 2010, Mathieu Desnoyers wrote:


You are completely missing the point. There is no need to point out
that 'trace' does not do that. It is tracking a process (group)
context (though it can do system wide with the right permissions as
well).

And it's completely irrelevant for a user space programmer where the
kernel spends its time. What's not irrelevant is the information what
caused the kernel to spend time, i.e. which access to which data
resulted in a page fault or IO and how long did it take to come back.

It's completely irrelevant for him whether the kernel ran in circles
or not. If he sees a repeating pattern that a PF recovery or a
read/write to some file takes ages, he'll poke the sysadmin or the
kernel dude, which then will drill down into the gory details.

http://lwn.net/Articles/415760/

 "... Indeed I've been wishing for a tool which would easily tell me
 what pages I'm faulting in (and in what order) out of a 5GB mmaped
 file, in order to help debug performance issues with disk seeks when
 the file is totally paged out."

That's what relevant to user space developers, not the gory details
why the kernel took time X to retrieve that data from disk. Simply
because you can improve performance when you have such information by
rearranging your code and access patterns. The same applies for other
things like cache misses, which can be easily integrated into 'trace'.


Which results in a permission problem which you are completely
ignoring. Not a surprise though - I'm used to the academic way of
defining preliminaries and ignoring side effects just to get the paper
written.


You seem to believe that kernel developers need to read a thesis to
understand wakeup chains and what it takes to trace them?

Dammit, we do that on a daily base and we did it even before we had
the ftrace/perf infrastructure in place without reading a thesis.

Stop this bullshit once and forever. You can do that in the lecture
room of your university and in the seminar for big corporate engineers
who are made to believe that this is important to improve their
productivity.

Your "DrTracing knows it better attitude" starts to be really annoying.

Thanks,

	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] New tools: lttngtrace and lttngreport, Mathieu Desnoyers, (Mon Nov 15, 6:42 am)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Mathieu Desnoyers, (Mon Nov 15, 9:07 am)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Andi Kleen, (Wed Nov 17, 4:37 am)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Mathieu Desnoyers, (Wed Nov 17, 10:31 am)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Thomas Gleixner, (Wed Nov 17, 2:44 pm)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Ingo Molnar, (Wed Nov 17, 3:01 pm)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Steven Rostedt, (Wed Nov 17, 3:33 pm)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Mathieu Desnoyers, (Wed Nov 17, 7:38 pm)
Re: [ANNOUNCE] New tools: lttngtrace and lttngreport, Mathieu Desnoyers, (Thu Nov 18, 5:57 am)