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 ...
随机推荐
- 解决django项目无法连接远程mysql的问题
我们都知道django项目可以通过修改settings.py文件中的DATABASES这个对象,使用不同的数据库. 如图所示,我们想连接远程的mysql,修改settings.py的配置 然后我们在终 ...
- HDFS中NameNode和Secondary NameNode工作机制
NameNode工作机制 0)启动概述 Namenode启动时,首先将映像文件(fsimage)载入内存,并执行编辑日志(edits)中的各项操作.一旦在内存中成功建立文件系统元数据的映像,则创建一个 ...
- 前端之CSS基础
前端之CSS 1. CSS CSS定义如何显示HTML元素. 当浏览器读到一个样式表,他就会按照这个样式表来对文档进行格式化(渲染). 3.CSS语法 1)CSS实例 每个CSS由两部分组成: 选择器 ...
- mysql语句之DDL
SQL分类: DDL(Data Definition Languages)语句:数据定义语言,这些语句定义了不同的数据段.数据库.表.列.索引等数据库对象的定义.常用的语句关键字主要包括create. ...
- postgresql Streaming Replication监控与注意事项
一监控Streaming Replication集群 1 pg_stat_replication视图(主库端执行) pid Wal sender process的进程ID usesysid 执行流复制 ...
- AOS and clustering
原文转载:http://sjakalax.blogspot.com/2010/10/aos-and-clustering.html AOS and clustering hi, There s ...
- linux加大服务器文件描述符
最简单的说,在 unix/liux 里面,你的服务只要开启一个进程,就要占用文件描述符的.liunx 默认 是 1024,如果描述符少了,你的访问量多了,你的服务器支撑不了,所以要把描述符加大. #e ...
- TensorFlow 安装及使用
安装 (1)安装包安装:pip install tensorflow==1.14 -i https://pypi.douban.com/simple virtualenv -p /usr/bin/py ...
- CentOS 7系统安装nginx+php
安装介绍1.系统环境CentOS7 2.nginx版本1.12 3.PHP版本7.2 下载地址 4.MySQL版本5.7 安装nginx添加centos7的 nginx yum源 然后执行安装 sud ...
- 10java进阶——IO2
1. Properties类 Properties 类表示了一个持久的属性集.Properties 可保存在流中或从流中加载.属性列表中每个键及其对应值都是一个字符串. 特点: Hashtable的子 ...