From beea535f9d7ff210ea035de190c0d87184ee1963 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 28 Aug 2010 13:18:53 +0200 Subject: swap's block size made into a compile-time parameter --- src/config.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index 83e612a..0fe7c57 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -62,6 +62,10 @@ namespace zmq // Maximal delta between high and low watermark. max_wm_delta = 1024, + // Swap inteligently batches data for writing to disk. The size of + // the batch in bytes is specified by this option. + swap_block_size = 8192, + // Maximum number of events the I/O thread can process in one go. max_io_events = 256, -- cgit v1.2.3