Project

General

Profile

Feature #36663

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

Added by Patrick Donnelly about 1 year ago. Updated 21 days ago.

Status:
In Progress
Priority:
High
Category:
Performance/Resource Usage
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus
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

Related to fs - Bug #22962: mds: move remaining containers in CDentry/CDir/CInode to mempool (cont.) New 09/15/2017
Related to fs - Bug #20594: mds: cache limits should be expressed in memory usage, not inode count Resolved 07/12/2017

History

#1 Updated by Patrick Donnelly about 1 year ago

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

#2 Updated by Patrick Donnelly about 1 year ago

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

#3 Updated by Patrick Donnelly 8 months 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

#4 Updated by Patrick Donnelly 8 months ago

  • Backport set to nautilus

#5 Updated by Vikhyat Umrao 21 days ago

  • Pull request ID set to 27027

Also available in: Atom PDF