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 #1

Updated by Patrick Donnelly over 5 years ago

  • Related to Bug #22962: mds: move remaining containers in CDentry/CDir/CInode to mempool (cont.) added
Actions #2

Updated by Patrick Donnelly over 5 years ago

  • Related to Bug #20594: mds: cache limits should be expressed in memory usage, not inode count added
Actions #3

Updated by Patrick Donnelly about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Sidharth Anupkrishnan
  • Target version changed from v14.0.0 to v15.0.0
  • Labels (FS) task(intern), task(medium) added
Actions #4

Updated by Patrick Donnelly about 5 years ago

  • Backport set to nautilus
Actions #5

Updated by Vikhyat Umrao over 4 years ago

  • Pull request ID set to 27027
Actions #6

Updated by Patrick Donnelly about 4 years ago

  • Target version changed from v15.0.0 to v16.0.0
  • Backport deleted (nautilus)
Actions #7

Updated by Patrick Donnelly over 3 years ago

  • Target version changed from v16.0.0 to v17.0.0
Actions #8

Updated by Patrick Donnelly almost 2 years ago

  • Target version deleted (v17.0.0)
Actions

Also available in: Atom PDF