summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2019-12-20 08:02:51 +0300
committerMichael Klishin <michael@clojurewerkz.org>2019-12-20 08:02:51 +0300
commit7556580a518cbc74df9f10107910c47630d304ea (patch)
treeac032a4cb5c0d14f5b24264d1327828d4e5e2a79 /Makefile
parent266a10c83b02888dba69423c4a08b4a3abec7ad3 (diff)
downloadrabbitmq-server-git-7556580a518cbc74df9f10107910c47630d304ea.tar.gz
Bump default GC threshold to 1GB
In our testing we observe no meaningfully different peak memory (carrier size) limit and 18 to 65% lower tail latencies with small messages, and teen % lower with 50 MB messages. Throughput is single digit % higher. CPU usage was not meaningfully different on a four core host. References rabbitmq/rabbitmq-common#343.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a8a936c69..fa1ec6519f 100644
--- a/Makefile
+++ b/Makefile
@@ -130,8 +130,8 @@ define PROJECT_ENV
{channel_tick_interval, 60000},
%% Default max message size is 128 MB
{max_message_size, 134217728},
- %% Default is ~ 1MB
- {gc_threshold, 1000000}
+ %% Socket writer will run GC every 1 GB of outgoing data
+ {gc_threshold, 1000000000}
]
endef