From: Max Kellermann Date: Fri, 11 Oct 2024 10:38:46 +0000 (+0200) Subject: common/options: increase `ms_tcp_prefetch_max_size` default to 64 kB X-Git-Tag: v20.0.0~232^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38f52dc27552e550852a9f1735b4562f82431a9e;p=ceph.git common/options: increase `ms_tcp_prefetch_max_size` default to 64 kB For sending, an arbitrary amount of buffers is allocated, but only 4 kB for receiving data. That is extremely small and leads to a wasteful number of receive system calls when a lot of data is received. We can easily afford 64 kB, so let's try this as the new default. Signed-off-by: Max Kellermann --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index b331601baf6b..ebf4460d6405 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -1114,7 +1114,7 @@ options: type: size level: advanced desc: Maximum amount of data to prefetch out of the socket receive buffer - default: 4_K + default: 64_K with_legacy: true - name: ms_initial_backoff type: float