]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options: increase `ms_tcp_prefetch_max_size` default to 64 kB 60262/head
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 11 Oct 2024 10:38:46 +0000 (12:38 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Mon, 14 Oct 2024 14:42:44 +0000 (16:42 +0200)
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 <max.kellermann@ionos.com>
src/common/options/global.yaml.in

index b331601baf6be389af4fdaa3e037d994d4a6e300..ebf4460d64053201992e3502b777ede8d49b5307 100644 (file)
@@ -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