Re: [PATCH] Separate lock events with types

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frederic Weisbecker
Date: Tuesday, April 6, 2010 - 2:44 am

On Tue, Apr 06, 2010 at 10:26:06AM +0200, Peter Zijlstra wrote:


Again, it makes no sense to mix up reports of spinlocks, rwlocks, mutexes
or whatever together in the same latency report.

I agree with you that such report makes no sense if you don't look at
the code and then find the nature of the locks on the deeper overview.

But the first overview is going to be unhelpful at best if you have
everything in the same linear report.

You'll naturally find the mutexes first reporting the worst latencies,
then rwsem, then the spinlocks, then the read rwlocks (read) at the end
of the list (depending on the cases).

And yet their latency intervals have utter different meanings. You can't
provide a taste report that mixes beers and wines qualities based on the
same magnitudes.

I really believe perf lock is going to suck at best without this.


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

Messages in current thread:
[PATCH 2/2] perf lock: Fix output of tracing lock events, Hitoshi Mitake, (Tue Dec 15, 8:28 pm)
[tip:perf/lock] perf: Add util/include/linuxhash.h to incl ..., tip-bot for Hitoshi ..., (Wed Dec 16, 1:18 am)
[tip:perf/lock] perf lock: Fix output of tracing lock events, tip-bot for Hitoshi ..., (Wed Dec 16, 1:19 am)
[PATCH] Add type of locks to lock trace events, Hitoshi Mitake, (Mon Jan 25, 10:56 pm)
Re: [PATCH] Add type of locks to lock trace events, Peter Zijlstra, (Thu Jan 28, 3:21 am)
Re: [PATCH] Add type of locks to lock trace events, Frederic Weisbecker, (Fri Jan 29, 10:29 am)
Re: [PATCH] Add type of locks to lock trace events, Peter Zijlstra, (Fri Jan 29, 10:41 am)
Re: [PATCH] Add type of locks to lock trace events, Frederic Weisbecker, (Fri Jan 29, 3:12 pm)
[PATCH] Separate lock events with types, Hitoshi Mitake, (Wed Feb 24, 2:02 am)
Re: [PATCH] Separate lock events with types, Frederic Weisbecker, (Fri Mar 26, 4:33 pm)
Re: [PATCH] Separate lock events with types, Hitoshi Mitake, (Mon Apr 5, 3:37 am)
Re: [PATCH] Separate lock events with types, Peter Zijlstra, (Tue Apr 6, 1:26 am)
Re: [PATCH] Separate lock events with types, Frederic Weisbecker, (Tue Apr 6, 2:44 am)