From 71a9d03439741ad623b035a06cbbac060b6bdc03 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 12 Feb 2013 14:20:05 -0500 Subject: [PATCH] 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 --- include/lttng/ust-events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.34.1