ceph配置参数如何优化
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,这篇文章将为大家详细讲解有关ceph配置参数如何优化,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。ceph的配置文件/etc/ceph.conf中可配置参数很多,可
千家信息网最后更新 2024年09月22日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安全错误
数据库的锁怎样保障安全
政府应急软件开发
纳海网络技术有限公司
软件开发行业贝塔值
y与结构设计相关的软件开发单位
sap财务系统用的是什么数据库
网络技术cityofd
专线怎么从服务器到另一端
常用的数据库检索方式包括
汽车总网络技术
2021幼儿园网络安全宣传周
软件开发人员工作辛苦吗
服务器安全狗如何解决
服务器 500
诛仙进天界服务器卡
网络安全课件背景图
数据库保存乱码
公安局网络安全责任书
网络安全资产管理流程图
网络安全实现的基本目标
系统服务器停机时间8.5小时
服务器卡死ping不通
软件开发税率为0的政策
华为手机 代理服务器
网络安全建设新趋势
杰斯视频软件开发
放心的仓库erp软件开发设计
兴化多功能网络技术价目表
四川智慧管理平台软件开发
什么芯片可以连接服务器
舟山营销网络技术哪家好