chiark / gitweb /
bus: use 2M as maximum message size in benchmark
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 29 Sep 2014 13:44:44 +0000 (15:44 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 29 Sep 2014 13:44:44 +0000 (15:44 +0200)
The kdbus limit is 2M and we removed the bus-owner override. Therefore,
use at most 2M as message size.

src/libsystemd/sd-bus/test-bus-kernel-benchmark.c

index cd88e67c9e5d7e6b1a4b0032f56772407ce378ed..35f87e91bd9c927f7420dc91eb1dcc7ebeb9adaa 100644 (file)
@@ -33,7 +33,7 @@
 #include "bus-internal.h"
 #include "bus-util.h"
 
-#define MAX_SIZE (4*1024*1024)
+#define MAX_SIZE (2*1024*1024)
 
 static usec_t arg_loop_usec = 100 * USEC_PER_MSEC;