From fb0c4a43bbef83a1bf586af2b91d7266dd393fe2 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 29 Apr 2020 13:57:00 +0200 Subject: [PATCH] Adjust settings based on the latest performance tests --- core-buffer/include/buffer_config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 24fcdd2..eb0c99d 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -29,10 +29,10 @@ namespace core_buffer { const size_t BUFFER_RB_SIZE = 1000; // ZMQ threads for receiving data from sf_replay. - const int WRITER_ZMQ_IO_THREADS = 4; + const int WRITER_ZMQ_IO_THREADS = 2; // Size of buffer between the receiving and writing part of sf_writer - const int WRITER_RB_BUFFER_SLOTS = 10; + const int WRITER_RB_BUFFER_SLOTS = 5; // How many frames to buffer before flushing to file. const size_t WRITER_BUFFER_SIZE = 100;