From 128b54b045f01d6ce7f60e35a2ab870aa9373dd2 Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Fri, 20 Dec 2013 15:27:41 +0100 Subject: [PATCH] jobserver: outgoing jobqueue bounded by default Bounding the outgoing queue is always a good idea: If the campaign has separate threads for outgoing and incoming jobs (true for the DatabaseCampaign), this keeps memory requirements reasonable. If the campaign works in a single thread, this is not disadvantageous either. Change-Id: Ic75272daa8266f051adf7b23e2ffe87f5c965b86 --- src/core/config/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/config/CMakeLists.txt b/src/core/config/CMakeLists.txt index 4ee279f9..daf9a791 100644 --- a/src/core/config/CMakeLists.txt +++ b/src/core/config/CMakeLists.txt @@ -25,7 +25,7 @@ OPTION(CONFIG_FAST_BREAKPOINTS "Enable fast breakpoints (requires break OPTION(CONFIG_FAST_WATCHPOINTS "Enable fast watchpoints (requires memory access events to be enabled)" OFF) SET(SERVER_COMM_HOSTNAME "localhost" CACHE STRING "Job-server hostname or IP") SET(SERVER_COMM_TCP_PORT "1111" CACHE STRING "Job-server TCP port") -SET(SERVER_OUT_QUEUE_SIZE "0" CACHE STRING "Queue size for outbound jobs (0 = unlimited)") +SET(SERVER_OUT_QUEUE_SIZE "10000" CACHE STRING "Queue size for outbound jobs (0 = unlimited)") SET(SERVER_PERF_LOG_PATH "perf.log" CACHE STRING "A file name for storing the server's performance log (CSV)") SET(SERVER_PERF_STEPPING_SEC "1" CACHE STRING "Stepping of performance measurements in seconds") SET(CLIENT_RAND_BACKOFF_TSTART "3" CACHE STRING "Lower limit of client's backoff phase in seconds")