美文网首页
ceph设计原理与实现(纠删码、多副本)

ceph设计原理与实现(纠删码、多副本)

作者: SkTj | 来源:发表于2019-03-02 19:46 被阅读0次

    1、生产环境很少使用备份数高于2的纠删码
    2、创建和获取纠删码模板:ceph osd erasure-code-profile get my-ec-profile


    image.png

    ceph osd pool create my-ec-pool 128 erasure my-ec-profile


    image.png
    k 数据块个数 m 校验块个数 rate
    3、osd100个PG
    4、纠删码的读性能不如多副本
    image.png

    5、写缓存


    image.png
    6、多副本,磁盘空间的利用率低;纠删码,读性能低。

    相关文章

      网友评论

          本文标题:ceph设计原理与实现(纠删码、多副本)

          本文链接:https://www.haomeiwen.com/subject/iqyyuqtx.html