Scalability fix for many events: event hash table size
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Feb 2013 19:20:05 +0000 (14:20 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 12 Feb 2013 19:20:05 +0000 (14:20 -0500)
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 <mathieu.desnoyers@efficios.com>
include/lttng/ust-events.h

index 2a5656b5ba404cdf523b5740af301793f05338bd..b5d758500af19382249bb23f60404a9bc8b96f86 100644 (file)
@@ -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 {
This page took 0.025666 seconds and 4 git commands to generate.