[systemd-commits] 2 commits - src/libsystemd-bus
Harald Hoyer
harald at kemper.freedesktop.org
Wed Jun 5 03:25:22 PDT 2013
src/libsystemd-bus/bus-kernel.h | 2 +-
src/libsystemd-bus/test-bus-kernel-benchmark.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4a4c0be0ab713410ab65bb6bd0c0702abd9e9f4c
Author: Harald Hoyer <harald at redhat.com>
Date: Wed Jun 5 12:24:41 2013 +0200
libsystemd-bus/bus-kernel.h: set MEMFD_MIN_SIZE to 128k
diff --git a/src/libsystemd-bus/bus-kernel.h b/src/libsystemd-bus/bus-kernel.h
index 9515e8f..c4573c9 100644
--- a/src/libsystemd-bus/bus-kernel.h
+++ b/src/libsystemd-bus/bus-kernel.h
@@ -42,7 +42,7 @@
/* This determines at which minimum size we prefer sending memfds over
* sending vectors */
-#define MEMFD_MIN_SIZE (96*1024)
+#define MEMFD_MIN_SIZE (128*1024)
/* The size of the per-connection memory pool that we set up and where
* the kernel places our incoming messages */
commit 6cbf6931d2d651a5b5adb51f5c784e3c4ce27fe9
Author: Harald Hoyer <harald at redhat.com>
Date: Wed Jun 5 12:24:17 2013 +0200
test-bus-kernel-benchmark: corrected output for memfd bisect
diff --git a/src/libsystemd-bus/test-bus-kernel-benchmark.c b/src/libsystemd-bus/test-bus-kernel-benchmark.c
index d9ccdc2..2e84cd9 100644
--- a/src/libsystemd-bus/test-bus-kernel-benchmark.c
+++ b/src/libsystemd-bus/test-bus-kernel-benchmark.c
@@ -138,7 +138,7 @@ static void client_bisect(const char *address) {
if (now(CLOCK_MONOTONIC) >= t + arg_loop_usec)
break;
}
- printf("%u\n", (unsigned) ((n_copying * USEC_PER_SEC) / arg_loop_usec));
+ printf("%u\n", (unsigned) ((n_memfd * USEC_PER_SEC) / arg_loop_usec));
if (n_copying == n_memfd)
break;
More information about the systemd-commits
mailing list