From: Patrick Donnelly Date: Fri, 21 Jul 2023 15:56:49 +0000 (-0400) Subject: mds: adjust cap acquisition throttles X-Git-Tag: v19.0.0~693^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f290ef9d0d2d09fb978d56c46be704c6efd45c43;p=ceph.git mds: adjust cap acquisition throttles For production workloads, these defaults rarely help. Adjust accordingly. For a steady state "find" workload, these new throttles will prevent acquiring more than ~2300 caps/second which is quite manageable with typical recall rates. -ln(0.5) / 30 * 100k = 2310 Fixes: https://tracker.ceph.com/issues/62114 Signed-off-by: Patrick Donnelly --- diff --git a/src/common/options/mds.yaml.in b/src/common/options/mds.yaml.in index 3f12d2df38d9..7b310c070c09 100644 --- a/src/common/options/mds.yaml.in +++ b/src/common/options/mds.yaml.in @@ -339,7 +339,7 @@ options: long_desc: The half-life for the session cap acquisition counter of caps acquired by readdir. This is used for throttling readdir requests from clients slow to release caps. - default: 10 + default: 30 services: - mds flags: @@ -348,7 +348,7 @@ options: type: uint level: advanced desc: throttle point for cap acquisition decay counter - default: 500000 + default: 100000 services: - mds - name: mds_session_max_caps_throttle_ratio