From: Mathieu Desnoyers Date: Tue, 12 Feb 2013 19:20:05 +0000 (-0500) Subject: Scalability fix for many events: event hash table size X-Git-Tag: v2.2.0-rc1~86 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=71a9d03439741ad623b035a06cbbac060b6bdc03;p=lttng-ust.git Scalability fix for many events: event hash table size Increase number of buckets for event hash table (per session) from 64 to 4096. This improves process startup time for J9 vm (with 16k tracepoints) very significantly. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 2a5656b5..b5d75850 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -440,7 +440,7 @@ struct lttng_channel { unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */ }; -#define LTTNG_UST_EVENT_HT_BITS 6 +#define LTTNG_UST_EVENT_HT_BITS 12 #define LTTNG_UST_EVENT_HT_SIZE (1U << LTTNG_UST_EVENT_HT_BITS) struct lttng_ust_event_ht {