Re: [PATCH 2/2] perf_counter: optimize context switch between identical inherited contexts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Mackerras
Date: Friday, May 22, 2009 - 3:07 am

Peter Zijlstra writes:


No, it's one lat_ctx instance, which creates N processes connected in
a ring with pipes, and passes a token around some number of times and
measures the overall time to do that.  It subtracts off the time it
takes to do all the pipe reads and writes in a single process to get
an estimate of how much the context switches are costing.

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

Messages in current thread:
Re: [PATCH 2/2] perf_counter: optimize context switch betw ..., Paul Mackerras, (Fri May 22, 3:07 am)
[tip:perfcounters/core] perf_counter: Dynamically allocate ..., tip-bot for Paul Mac ..., (Fri May 22, 3:27 am)
[tip:perfcounters/core] perf_counter: Optimize context swi ..., tip-bot for Paul Mac ..., (Fri May 22, 3:27 am)
[tip:perfcounters/core] perf_counter: fix !PERF_COUNTERS b ..., tip-bot for Ingo Molnar, (Fri May 22, 3:36 am)