ceph配置参数如何优化
发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,这篇文章将为大家详细讲解有关ceph配置参数如何优化,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。ceph的配置文件/etc/ceph.conf中可配置参数很多,可
千家信息网最后更新 2025年12月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安全错误
数据库的锁怎样保障安全
视频转换软件开发
我国网络安全保护的方针是
湖北享赢互联网科技有限公司
四史教育答题服务器异常
物联网开发和软件开发
服务器设置域名
可以合成视频的手机软件开发
数据库属于什么技能
oracle数据库路径
配置网络安全管理制度
数据库单个用户怎么解决
奥哲网络安全手抄报
文件上传保存到数据库
校园网络安全知识主题班会
为什么嗨喽单车总是骑出服务器
sqlserver开发版服务器
高校数据库运维
软件开发及平台售后服务
证券软件开发公司排行榜
质量好的浪潮服务器哪个系列好
税务局安全服务器地址
打开sql服务器
高铁网络技术
卷积视觉神经网络技术
苹果8怎么打开移动数据库
朝阳太阳线软件开发设计
e4a怎么看数据库
青浦区专业性软件开发价目表
服务器租用厂家
数据库可用空间0