Project

General

Profile

Actions

Feature #61777

open

mds: add ceph.dir.bal.mask vxattr

Added by Yongseok Oh 10 months ago. Updated 8 months ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
reef
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
multimds
Pull request ID:

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

Actions #1

Updated by Patrick Donnelly 10 months ago

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

Updated by Venky Shankar 8 months ago

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

Also available in: Atom PDF