Project

General

Profile

Actions

Bug #41140

closed

mds: trim cache more regularly

Added by Patrick Donnelly over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Under create workloads that result in the acquisition of a lot of capabilities, the MDS can't trim the cache fast enough. The cache trimming throttle gets hit at ~64K dentries removed but because the upkeep trimming only occurs every 5 seconds, the cache is trimmed too slowly.

It's undesirable to just increase the throttle limit from 64K to 512K as then the MDS spends a long time trimming the cache every 5 seconds. A better approach would be to drive cache trimming more regularly.

See also thread: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/U7XNK3RTV3YZHJFUZ3QJUXHH2WYAT4DN/

Actions

Also available in: Atom PDF