Project

General

Profile

Actions

Feature #36663

open

mds: adjust cache memory limit automatically via target that tracks RSS

Added by Patrick Donnelly over 5 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
High
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
task(intern), task(medium)
Pull request ID:

Description

Basic idea is to have a new config like `mds_memory_target` that, if set, automatically adjusts `mds_cache_memory_limit` in response to RSS memory usage.

Recent experiments found that real RSS usage is about 1.25x the `mds_cache_memory_limit`. So, another layer which tracks RSS and makes finer adjustments would be valuable.


Related issues 2 (1 open1 closed)

Related to CephFS - Bug #22962: mds: move remaining containers in CDentry/CDir/CInode to mempool (cont.)New09/15/2017

Actions
Related to CephFS - Bug #20594: mds: cache limits should be expressed in memory usage, not inode countResolvedPatrick Donnelly07/12/2017

Actions
Actions

Also available in: Atom PDF