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.
This commit is contained in:
Michael Klishin 2019-12-20 08:02:51 +03:00
parent 266a10c83b
commit 7556580a51
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ define PROJECT_ENV
{channel_tick_interval, 60000}, {channel_tick_interval, 60000},
%% Default max message size is 128 MB %% Default max message size is 128 MB
{max_message_size, 134217728}, {max_message_size, 134217728},
%% Default is ~ 1MB %% Socket writer will run GC every 1 GB of outgoing data
{gc_threshold, 1000000} {gc_threshold, 1000000000}
] ]
endef endef