From 3862af06f29fe063e70a535dc8141c2202c2bc4a Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Wed, 12 Sep 2012 10:09:49 +0000 Subject: [PATCH] reasonable buffer for performance measurements --- src/stream/perf_stream_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream/perf_stream_api.c b/src/stream/perf_stream_api.c index faf827ae2..761c67f14 100644 --- a/src/stream/perf_stream_api.c +++ b/src/stream/perf_stream_api.c @@ -129,7 +129,7 @@ struct PeerData /** * Maximum size of the data which we will transfer during tests */ -#define DATA_SIZE 65536 /* 64KB */ +#define DATA_SIZE 5000000 /* 5mB */ /** * Listen socket of peer2 @@ -179,7 +179,7 @@ static struct GNUNET_TIME_Relative prof_time; /** * Random data block. Should generate data first */ -static uint32_t data[DATA_SIZE / 4]; /* 64KB array */ +static uint32_t data[DATA_SIZE / 4]; /** * Payload sizes to test each major test with -- 2.25.1