Re: [PATCH 1/3] jump label: add enabled/disabled state to jump label key entries

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Thursday, November 25, 2010 - 6:14 am

* Peter Zijlstra (peterz@infradead.org) wrote:
[...]

Yep, although this can be batched when enabling many tracepoints en
masse. May I suggest that you guys benchmark the two approaches so we
can figure out at how many tracepoints we start hitting a latency wall ?
100, 1000 and 10000 tracepoints should give interesting measurement
points. If we are still below 2 seconds on common hardware when enabling
10000 tracepoints, then the binary search might be fine.

Please note that HPA recommended the use of a perfect hash. It would
make sense, although there seems to be a non-null probability that the
perfect hash cannot be generated. There are techniques that will retry
with a different seed, but the kernel build time then becomes slightly
harder to predict (for very, very rare occurences, so maybe we don't
care).

Thanks,

Mathieu

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Mathieu Desnoyers, (Tue Nov 23, 4:43 pm)
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Mathieu Desnoyers, (Tue Nov 23, 5:24 pm)
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Michael Ellerman, (Wed Nov 24, 7:39 pm)
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Mathieu Desnoyers, (Thu Nov 25, 6:14 am)
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Michael Ellerman, (Thu Nov 25, 6:42 am)
Re: [PATCH 1/3] jump label: add enabled/disabled state to ..., Benjamin Herrenschmidt, (Thu Nov 25, 2:26 pm)