|
本帖最后由 icyboy 于 2024-8-1 16:11 编辑
参考这篇 ceph-performance-test-and-optimization
对cephfs肯定是有帮助的,至少多客户端情况下有提升,通常单个MDS daemon只会用单核心单线程
另外RBD块设备比cephfs快的原因是块设备的metadata操作主要是在客户端那头完成
RBD协议性能也远超iSCSI
参考这篇ceph-on-windows-performance
以下为ceph官方文档
The present version of the MDS is single-threaded and CPU-bound for most activities, including responding to client requests. An MDS under the most aggressive client loads uses about 2 to 3 CPU cores. This is due to the other miscellaneous upkeep threads working in tandem.
Even so, it is recommended that an MDS server be well provisioned with an advanced CPU with sufficient cores. Development is on-going to make better use of available CPU cores in the MDS; it is expected in future versions of Ceph that the MDS server will improve performance by taking advantage of more cores.
When should I use multiple active MDS daemons?
You should configure multiple active MDS daemons when your metadata performance is bottlenecked on the single MDS that runs by default.
Adding more daemons may not increase performance on all workloads. Typically, a
single application running on a single client will not benefit from an increased number of MDS daemons unless the application is doing a lot of metadata operations in parallel.
Workloads that typically benefit from a larger number of active MDS daemons are those with many clients, perhaps working on many separate directories.
|
|