From 3b890247a85327cf08fa0654e8e3e4a7fed0040d Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Tue, 9 Aug 2016 13:57:22 +0200 Subject: [PATCH] Increase default number of Carbon workers --- configs/carbon.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/carbon.toml b/configs/carbon.toml index 773865a..ccf2ebd 100644 --- a/configs/carbon.toml +++ b/configs/carbon.toml @@ -8,7 +8,7 @@ graph-prefix = "carbon.agents.{host}." # Interval of storing internal metrics. Like CARBON_METRIC_INTERVAL metric-interval = "1m0s" # Increase for configuration with multi persisters -max-cpu = 1 +max-cpu = 2 [whisper] data-dir = "/data/graphite/whisper/" @@ -17,7 +17,7 @@ schemas-file = "/etc/storage-schemas.conf" # http://graphite.readthedocs.org/en/latest/config-carbon.html#storage-aggregation-conf. Optional aggregation-file = "" # Workers count. Metrics sharded by "crc32(metricName) % workers" -workers = 1 +workers = 2 # Limits the number of whisper update_many() calls per second. 0 - no limit max-updates-per-second = 0 # Sparse file creation