summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-29 15:44:44 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-29 15:44:44 +0200
commit1679ddc4601982a5b3a852c7ac75277e98781136 (patch)
tree1b1e08247bf6b0db5ccae478bd1cd742ddae2c0c
parentbfd6d8a322414a7ebd1a64a717c1834e6cb00d7d (diff)
bus: use 2M as maximum message size in benchmark
The kdbus limit is 2M and we removed the bus-owner override. Therefore, use at most 2M as message size.
-rw-r--r--src/libsystemd/sd-bus/test-bus-kernel-benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c b/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
index cd88e67c9e..35f87e91bd 100644
--- a/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
+++ b/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
@@ -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;