ceph配置参数如何优化
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,这篇文章将为大家详细讲解有关ceph配置参数如何优化,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。ceph的配置文件/etc/ceph.conf中可配置参数很多,可
千家信息网最后更新 2026年11月02日ceph配置参数如何优化
这篇文章将为大家详细讲解有关ceph配置参数如何优化,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
ceph的配置文件/etc/ceph.conf中可配置参数很多,可以通过以下命令查看:
root@osd2:/var/run/ceph# ceph --admin-daemon ceph-mon.osd2.asok config show|wc -l759
一直想对一些参数进行修改以达到优化性能的目的。以前一篇文章和其它一些资料为基础,总结一下可优化的配置。
1. keep FD
filestore_fd_cache_size = 204800filestore_omap_header_cache_size = 204800
2. sparse read/write
filestore_fiemap = true
3. drop default limits
#默认值"filestore_wbthrottle_xfs_bytes_start_flusher": "41943040","filestore_wbthrottle_xfs_bytes_hard_limit": "419430400","filestore_wbthrottle_xfs_ios_start_flusher": "500","filestore_wbthrottle_xfs_ios_hard_limit": "5000","filestore_wbthrottle_xfs_inodes_start_flusher": "500","filestore_wbthrottle_xfs_inodes_hard_limit": "5000",#修正值filestore_wbthrottle_xfs_bytes_start_flusher = 500000000filestore_wbthrottle_xfs_indoes_start_flusher = 500filestore_wbthrottle_xfs_indoes_hard_limit = 500000filestore_wbthrottle_xfs_ios_start_flusher = 50000filestore_wbthrottle_xfs_bytes_hard_limit = 500000000filestore_wbthrottle_xfs_ios_hard_limit = 500000
#默认值"filestore_queue_max_ops": "50","filestore_queue_max_bytes": "104857600","filestore_queue_committing_max_ops": "500","filestore_queue_committing_max_bytes": "104857600",#修正值filestore_queue_max_ops = 5000filestore_queue_max_bytes = 1024000000filestore_queue_committing_max_ops = 50000
#默认值"journal_queue_max_ops": "300","journal_queue_max_bytes": "33554432",#修正值journal_queue_max_ops = 500000journal_queue_max_bytes = 10240000000
4. use rbd cache
rbd cache = true
5. speed cache
filestore_fd_cache_random = true
6. async messenger
ms_type = async(no)ms_async_op_threads = 5(no)ms_dispatch_throttle_bytes = 104857600000
7. op thread
osd op threads = 4osd disk threads = 2filestore op threads = 4
关于"ceph配置参数如何优化"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
配置
参数
篇文章
更多
不错
实用
内容
可以通过
命令
基础
性能
文件
文章
目的
知识
资料
参考
帮助
有关
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
互联网科技园
苏州找大状互联网科技有限公司
互联网 科技公司
青岛互联网科技公司
狮子座互联网科技
中国互联网科技发展
腾讯科技 互联网女皇
睿民互联网科技
互联网科技股有哪些
互联网科技公司做什么
盛创互联网科技有限公司
互联网公司会议桌创意科技软装饰
互联网汽车科技小镇
创业天下互联网科技有限公司
来此购互联网科技有限公司
互联网软件和科技
恒生互联网科技指数跳水
皮皮虾互联网科技有限公司
福建互联网展示科技馆设计
易租星互联网科技有限公司
高科技互联网
互联网科技革命
沃里互联网科技
长亮科技 互联网金融
丰台科技园 互联网公司
来此购互联网科技有限公司
互联网科技公司有风险吗
青海科技产业互联网发展
阿里互联网科技企业
从那以后互联网科技有限公司