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 <pdonnell@redhat.com>
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:
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