chiark / gitweb /
bus: rework benchmark test to actually yield useful results
[elogind.git] / src / libsystemd-bus / bus-kernel.h
index dddecfb21006abc31e7e8faf71c6b1b6d8c81996..9515e8f05fd7b44fa3c56a817a3b4e212146ef0b 100644 (file)
 
 /* When we cache a memfd block for reuse, we will truncate blocks
  * longer than this in order not to keep too much data around. */
-#define MEMFD_CACHE_ITEM_SIZE_MAX (32*1024)
+#define MEMFD_CACHE_ITEM_SIZE_MAX (128*1024)
 
 /* This determines at which minimum size we prefer sending memfds over
  * sending vectors */
-#define MEMFD_MIN_SIZE (32*1024)
+#define MEMFD_MIN_SIZE (96*1024)
 
 /* The size of the per-connection memory pool that we set up and where
  * the kernel places our incoming messages */