Project

General

Profile

Actions

Feature #61777

open
YO YO

mds: add ceph.dir.bal.mask vxattr

Feature #61777: mds: add ceph.dir.bal.mask vxattr

Added by Yongseok Oh over 3 years ago. Updated 4 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Due date:
% Done:

0%

Source:
Community (dev)
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
multimds
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

This idea has been discussed at Cephalocon2023. (Please refer to the conclusions page in https://static.sched.com/hosted_files/ceph2023/d9/Cephalocon2023_LINE_Optimizing_CephFS.pdf"

The bal_rank_mask (e.g., https://github.com/ceph/ceph/pull/43284) can separate unpinned subdirs within certain MDS ranks from pinned subdirs. But several subdirs are mixed in mds corresponding to bal_rank_mask, which can affect performance. For example, if there are a lot of files in the /backup and /image directories and bal_rank_mask 0xf is specified, the metadata will be dynamically distributed within 0~3. However, they can affect each other according to metadata movement.If each directory has the same workload, distributing /backup to rank 0-1 and /image to rank 2-3 will optimize performance. Therefore, per subdir rank mask is needed as ceph.dir.bal.mask vxattr. This feature allows a specific subdir to use specific multiple MDS ranks exclusively.

Usage
A target subdir is dynamically distributed within rank0 and 1.
$ setfattr –n ceph.dir.bal.mask –v 0x3 /cephfs/home/yongseok

Please refer to additional slides. https://github.com/yongseokoh/presentation/blob/main/A_New_Parititioning_for_CephFS.pdf

PD Updated by Patrick Donnelly over 3 years ago Actions #1

  • Category set to Administration/Usability
  • Target version set to v19.0.0
  • Source set to Community (dev)
  • Backport set to reef

VS Updated by Venky Shankar over 3 years ago Actions #2

  • Status changed from New to Fix Under Review
  • Assignee set to Yongseok Oh
  • Pull request ID set to 52373

PD Updated by Patrick Donnelly over 2 years ago Actions #3

  • Target version changed from v19.0.0 to v20.0.0

PD Updated by Patrick Donnelly over 2 years ago Actions #4

  • Backport deleted (reef)

PD Updated by Patrick Donnelly over 1 year ago Actions #5

  • Target version changed from v20.0.0 to v21.0.0

VS Updated by Venky Shankar 4 months ago Actions #6

  • Target version changed from v21.0.0 to v22.0.0
Actions

Also available in: PDF Atom