crush
所属分类:C/C++基础
开发工具:Others
文件大小:0KB
下载次数:0
上传日期:2023-10-30 08:14:07
上 传 者:
sh-1993
说明: [WIP]CRUSH去中心化数据放置算法
([WIP] CRUSH decentralized data placement algorithm)
文件列表:
Makefile (178, 2023-11-17)
src/ (0, 2023-11-17)
src/crush/ (0, 2023-11-17)
src/crush/crush.cc (2738, 2023-11-17)
src/crush/crush.hh (194, 2023-11-17)
src/crush/node.hh (781, 2023-11-17)
src/crush/selector.cc (594, 2023-11-17)
src/crush/selector.hh (322, 2023-11-17)
src/crush/types.hh (390, 2023-11-17)
src/example.cc (305, 2023-11-17)
src/test_node.cc (2575, 2023-11-17)
src/test_node.hh (1176, 2023-11-17)
# crush
Implementation of [CRUSH](https://ceph.com/assets/pdfs/weil-crush-sc06.pdf) in C++.
Unfortunately, due to limited detail of the buckets for the algorithm, the algorithm is not complete and cannot be run. Until I get further information on the details of CRUSH buckets, this project will be on hiatus. Still refer to the `select` algorithm in `crush.cc` for a reference implementation on deterministic object palcement.
To use, there are two parts of the code that must be modified. First, in `common.hh`, the enum `NodeType` should be modified so that the relevant types for the relevant cluster is described. Then, the abstract (virtual) class `Node` in `node.hh` should be implemented, along with additional methods to construct the cluster map. An example of such an implementation is described in `test_node.cc`.
近期下载者:
相关文件:
收藏者: