From 3370466dc4ada87a85dad5589d2d8d626232a4c4 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 11 Aug 2021 23:04:01 -0700 Subject: [PATCH] config: adjust default mux_output_parser_buffer_size This size seems to be ~sweet spot for `time cat bigfile`, cutting the time in half from the prior value. Making the buffer smaller doesn't improve things, nor does making it bigger; this is balancing the latency of applying the update to the model with the back-pressured parsing latency. --- config/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/lib.rs b/config/src/lib.rs index e98c109e6..a7ca31832 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -1790,7 +1790,7 @@ impl Config { } fn default_mux_output_parser_buffer_size() -> usize { - 10 * 1024 * 1024 + 128 * 1024 } fn default_ratelimit_line_prefetches_per_second() -> u32 {