From: Pierre-Marc Fournier Date: Thu, 30 Jul 2009 19:23:50 +0000 (-0400) Subject: change default buffer size X-Git-Tag: v1.9.1~945 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=32072f29caaffb28dd8e14d64a26b5438dbd18cf;p=lttng-ust.git change default buffer size --- diff --git a/libust/tracer.h b/libust/tracer.h index 0c283ab4..c6809739 100644 --- a/libust/tracer.h +++ b/libust/tracer.h @@ -520,14 +520,17 @@ static inline int ltt_reserve_slot( #define LTT_FLIGHT_PREFIX "flight-" /* Tracer properties */ -//#define LTT_DEFAULT_SUBBUF_SIZE_LOW 65536 -#define LTT_DEFAULT_SUBBUF_SIZE_LOW 4096 +//#define LTT_DEFAULT_SUBBUF_SIZE_LOW 134217728 +#define LTT_DEFAULT_SUBBUF_SIZE_LOW 65536 +//#define LTT_DEFAULT_SUBBUF_SIZE_LOW 4096 #define LTT_DEFAULT_N_SUBBUFS_LOW 2 -//#define LTT_DEFAULT_SUBBUF_SIZE_MED 262144 -#define LTT_DEFAULT_SUBBUF_SIZE_MED 4096 +//#define LTT_DEFAULT_SUBBUF_SIZE_MED 134217728 +#define LTT_DEFAULT_SUBBUF_SIZE_MED 262144 +//#define LTT_DEFAULT_SUBBUF_SIZE_MED 4096 #define LTT_DEFAULT_N_SUBBUFS_MED 2 -//#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 1048576 -#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 4096 +//#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 134217728 +#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 1048576 +//#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 4096 #define LTT_DEFAULT_N_SUBBUFS_HIGH 2 #define LTT_TRACER_MAGIC_NUMBER 0x00D6B7ED #define LTT_TRACER_VERSION_MAJOR 2