ceph-性能调优
Ceph 参数性能调优
https://blog.csdn.net/changtao381/article/details/49907115
这篇文章对我的环境有较大帮助
ceph优化记录 ceph.conf优化详解
https://blog.csdn.net/kingzdd/article/details/80103086
Ceph配置参数分析
https://blog.csdn.net/for_tech/article/details/72123223#t20
SSD固态盘应用于Ceph集群的四种典型使用场景
https://www.cnblogs.com/gzxbkk/p/7724851.html
手动部署 ceph osd (luminous 版)
https://blog.csdn.net/signmem/article/details/78579882
ceph常用运维技巧总结1
https://www.jianshu.com/p/5ab19b0c6149
CEPH集群操作入门--配置
https://www.cnblogs.com/luxiaodai/p/10006036.html
Monitor clock skew detected问题解决
mon clock drift allowed = 2 增加时间误差(不推荐)
mon clock drift warn backoff = 30
修改ceph.conf后
重启mon服务
/etc/init.d/ceph restart mon
或者直接重启monitor
systemctl restart ceph-mon
===============================================
查参数
root@cu-pve04:/etc/ceph# ceph-conf -D >a.txt
root@cu-pve04:/etc/ceph# cat a.txt |grep bluestore_cache
vi /etc/ceph/ceph.conf中改参数
查看并修改运行时参数的,好像也没用
ceph daemon osd.0 config show | less
ceph daemon osd.* help
ceph daemon osd.2 config get mon_osd_full_ratio
ceph tell osd.* injectargs
需要调整的参数,在ceph.conf中写入到global,但用空格代替_。
filestore_op_threads = 10
filestore_journal_writeahead = true
filestore_fiemap = true
filestore_wbthrottle_enable = false
filestore_fd_cache_size = 1024
filestore_commit_timeout = 30000
filestore_min_sync_interval = 5
filestore_max_sync_interval = 10
filestore_queue_max_ops = 25000
filestore_queue_max_bytes = 1048576000
journal_force_aio = true
journal_max_write_bytes = 1073714824
journal_max_write_entries = 10000
osd_pg_object_context_cache_count = 1024
osd_client_message_size_cap = 2147483648
osd_client_message_cap = 5000
rbd_cache_size = 2684354560
rbd_cache_max_dirty = 2684354560
rbd_cache_max_dirty_age = 5
===========================
空格方式
filestore op threads = 10
filestore journal parallel = false
filestore journal writeahead = true
journal dio = true
journal aio = true
journal force aio = true
filestore fiemap = true
filestore wbthrottle enable = false
filestore fd cache size = 1024
filestore omap header cache size = 1024
osd pg object context cache count = 1024
filestore commit timeout = 30000
filestore min sync interval = 5
filestore max sync interval = 10
osd client message size cap = 21474836480
osd client message cap = 5000
filestore queue max ops = 25000
filestore queue max bytes = 10485760000
journal max write bytes = 10737148240
journal max write entries = 10000
journal queue max ops = 50000
journal queue max bytes = 10485760000
rbd cache = true
rbd cache size = 26843545600
rbd cache max dirty = 13421772800
rbd cache max dirty age = 5
===========================
下面是默认值,有些就是,所以不用设置
需要调整的
filestore_op_threads = 2
filestore_journal_parallel=false
filestore_journal_writeahead=false
filestore_fiemap = false
filestore_wbthrottle_enable=true
filestore_fd_cache_size = 128
filestore_omap_header_cache_size = 1024
filestore_commit_timeout=600
filestore_min_sync_interval = 0.01
filestore_max_sync_interval = 5
filestore_queue_max_ops = 5
filestore_queue_max_bytes = 104857600
不需要调整的
journal_dio = true
journal_aio = true
journal_force_aio = false
journal_max_write_bytes = 10485760
journal_max_write_entries = 100
osd_pg_object_context_cache_count = 64
osd_client_message_size_cap = 524288000
osd_client_message_cap = 100
rbd_cache = true
rbd_cache_size = 33554432
rbd_cache_max_dirty = 25165824
rbd_cache_max_dirty_age = 1
没有这些参数
journal_queue_max_ops = 50000
journal_queue_max_bytes = 10485760000
===========================
这个有些用
osd client message size cap = 2147483648
rbd cache size = 2684354560
rbd cache max dirty = 2684354560
rbd cache max dirty age = 5
ceph-性能调优的更多相关文章
- web前端性能调优
最近2个月一直在做手机端和电视端开发,开发的过程遇到过各种坑.弄到快元旦了,终于把上线了.2个月干下来满满的的辛苦,没有那么忙了自己准备把前端的性能调优总结以下,以方便以后自己再次使用到的时候得于得心 ...
- [网站性能2]Asp.net平台下网站性能调优的实战方案
文章来源:http://www.cnblogs.com/dingjie08/archive/2009/11/10/1599929.html 前言 最近帮朋友运营的平台进行了性能调优,效果还不错, ...
- Asp.net平台下网站性能调优的实战方案(转)
转载地址:http://www.cnblogs.com/chenkai/archive/2009/11/07/1597795.html 前言 最近帮朋友运营的平台进行了性能调优,效果还不错,所以写出来 ...
- 第0/24周 SQL Server 性能调优培训引言
大家好,这是我在博客园写的第一篇博文,之所以要开这个博客,是我对MS SQL技术学习的一个兴趣记录. 作为计算机专业毕业的人,自己对技术的掌握总是觉得很肤浅,博而不专,到现在我才发现自己的兴趣所在,于 ...
- sqlserver性能调优第一步
相信不少的朋友,无论是做开发.架构的,还是DBA等,都经常听说“调优”这个词.说起“调优”,可能会让很多技术人员心头激情澎湃,也可能会让很多人感觉苦恼,不知道如何入手.当然,也有很多人对此不屑一顾,因 ...
- JavaScript:内存泄露、性能调优
1.在进行JS内存泄露检查之前,先要了解JS的内存管理: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Manageme ...
- hadoop 性能调优与运维
hadoop 性能调优与运维 . 硬件选择 . 操作系统调优与jvm调优 . hadoop运维 硬件选择 1) hadoop运行环境 2) 原则一: 主节点可靠性要好于从节点 原则二:多路多核,高频 ...
- JVM性能调优监控工具jps、jstack、jmap、jhat、jstat、hprof使用详解
摘要: JDK本身提供了很多方便的JVM性能调优监控工具,除了集成式的VisualVM和jConsole外,还有jps.jstack.jmap.jhat.jstat.hprof等小巧的工具,本博客希望 ...
- websphere性能调优之dump命令
websphere性能调优之dump命令 基于WebSphere 构建的企业应用,时常会出现性能问题,在严重的情况下还会提示出内存溢出,这是一件很让人恼怒的事情.在WebSphere Applicat ...
- Java性能调优
一.JVM内存模型及垃圾收集算法 1.根据Java虚拟机规范,JVM将内存划分为: New(年轻代) Tenured(年老代) 永久代(Perm) 其中New和Tenured属于堆内存,堆内存会从JV ...
随机推荐
- python+selenium下拉列表option对象操作方法一
参考官方文档:https://selenium.dev/selenium/docs/api/py/webdriver_support/selenium.webdriver.support.select ...
- POJ-3468 A Simple Problem with Integers (区间求和,成段加减)
You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of op ...
- 【CF321E】+【bzoj5311】贞鱼
决策单调性 + WQS二分 我们首先列出转移式: \(f[i]=Min(f[j]+Sum[j+1 , i])\) 首先我们考虑如果让一段区间的小鱼在一起的代价怎么预处理,我们可以对于一个上三角矩阵求个 ...
- OtterTune源码解析
为了方便后面对ottertune进行魔(hu)改(gao),需要先搞清楚它的源码结构和pipeline OtterTune分为两大部分: server side: 包括一个MySQL数据库(用于存储调 ...
- Elasticsearch7.X 入门学习第一课笔记----基本概念
原文:Elasticsearch7.X 入门学习第一课笔记----基本概念 版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:https: ...
- 13、前端知识点--ajax原理以及实现过程
一.简略版的 Ajax简介 Ajax(Asyncchronous JavaScript and Xml),翻译过来就是说:异步的javaScript和xml, Ajax不是新的编程语言,而是一种使用现 ...
- SSH学习笔记(二)
# 1. 关于 SSH Server 的整体设定,包含使用的 port 啦,以及使用的密码演算方式 Port 22 # SSH 预设使用 22 这个 port,您也可以使用多的 port ! # 亦即 ...
- k3 cloud支付申请单下推付款单时候提示未将对象引用设置到对象的实例
项目支付申请部门没有币别没有填写,没有把币别带过来才
- 解决javax.servlet.jsp.JspException cannot be resolved to a type
转自:https://blog.csdn.net/fengspg/article/details/41645159
- ASE Alpha Sprint - backend scrum 8
本次scrum于2019.11.13再sky garden进行,持续30分钟. 参与人: Zhikai Chen, Jia Ning, Hao Wang 请假: Xin Kang, Lihao Ran ...