Actions
Bug #20594
closedmds: cache limits should be expressed in memory usage, not inode count
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Performance/Resource Usage
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
luminous
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
Cached inode count (mds_cache_size) is an imperfect limit for what we really want. We frequently have to tell users/customers to tune this based on the amount of memory they want to consume for the MDS which is unacceptable.
Instead, use mempools with the cached objects to track memory usage and limit based on that.
Updated by Greg Farnum almost 7 years ago
See #4504 and associated MemoryModel tickets.
Updated by Patrick Donnelly almost 7 years ago
- Related to Feature #4504: mds: trim based on total memory usage added
Updated by Patrick Donnelly almost 7 years ago
- Related to Feature #4502: mds: Make the MemoryModel useful added
Updated by Patrick Donnelly almost 7 years ago
- Status changed from New to In Progress
Updated by Sage Weil almost 7 years ago
- Priority changed from Immediate to Urgent
Updated by Patrick Donnelly over 6 years ago
- Status changed from In Progress to Fix Under Review
- Target version set to v12.2.1
- Backport set to luminous
Updated by Patrick Donnelly over 6 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Patrick Donnelly over 6 years ago
- Copied to Backport #21384: luminous: mds: cache limits should be expressed in memory usage, not inode count added
Updated by Patrick Donnelly over 6 years ago
- Related to Bug #21402: mds: move remaining containers in CDentry/CDir/CInode to mempool added
Updated by Patrick Donnelly over 6 years ago
- Status changed from Pending Backport to Resolved
Updated by Patrick Donnelly over 5 years ago
- Related to Feature #36663: mds: adjust cache memory limit automatically via target that tracks RSS added
Actions