|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 1679ddc4601982a5b3a852c7ac75277e98781136 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: David Herrmann <dh.herrmann@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Mon, 29 Sep 2014 15:44:44 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] bus: use 2M as maximum message size in benchmark
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
The kdbus limit is 2M and we removed the bus-owner override. Therefore,
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
use at most 2M as message size.
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/libsystemd/sd-bus/test-bus-kernel-benchmark.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c b/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index cd88e67c9e..35f87e91bd 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/libsystemd/sd-bus/test-bus-kernel-benchmark.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -33,7 +33,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#include "bus-internal.h"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#include "bus-util.h"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-#define MAX_SIZE (4*1024*1024)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+#define MAX_SIZE (2*1024*1024)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
static usec_t arg_loop_usec = 100 * USEC_PER_MSEC;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|