Project

General

Profile

Feature #36663

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

Added by Patrick Donnelly about 1 month ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Performance/Resource Usage
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
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 month ago

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

#2 Updated by Patrick Donnelly about 1 month ago

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

Also available in: Atom PDF