Bug #4370
mds: high-cpu utilization in memorymodel:_sample
Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance/Resource Usage
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Shortly after running some fs workloads on a 1-mds/16-osd cluster, cpu utilization spikes and never returns to normal. This patch takes care of the issue, but probably isn't the real fix.
diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index c85627a..1d3ff71 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -6423,6 +6423,7 @@ void MDCache::trim_client_leases() void MDCache::check_memory_usage() { + return; static MemoryModel mm(g_ceph_context); static MemoryModel::snap last; mm.sample(&last);
History
#1 Updated by Greg Farnum about 10 years ago
- Priority changed from Normal to High
Figure out if the current MemoryModel is actually useful for anything — I think it might not be. All the lovely tickets to make it useful will sadly have to wait.
#2 Updated by Sage Weil over 9 years ago
- Priority changed from High to Normal
#3 Updated by Greg Farnum over 7 years ago
- Category set to Performance/Resource Usage
- Component(FS) MDS added