reasonable buffer for performance measurements
authorSree Harsha Totakura <totakura@in.tum.de>
Wed, 12 Sep 2012 10:09:49 +0000 (10:09 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Wed, 12 Sep 2012 10:09:49 +0000 (10:09 +0000)
src/stream/perf_stream_api.c

index faf827ae2ea99346ac2954a76ffb30842f5ca72a..761c67f148c199e38ec81cffe0639072e7d43f45 100644 (file)
@@ -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