Feature #61777
openmds: add ceph.dir.bal.mask vxattr
0%
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
- 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
- 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
- Target version changed from v19.0.0 to v20.0.0
PD Updated by Patrick Donnelly over 2 years ago
- Backport deleted (
reef)
PD Updated by Patrick Donnelly over 1 year ago
- Target version changed from v20.0.0 to v21.0.0
VS Updated by Venky Shankar 4 months ago
- Target version changed from v21.0.0 to v22.0.0