GlusterFS PERFORMANCE TUNING

众所周知,glusterfs对小文件而言,就是个鸡肋,特别是在一个目录下有过W的小文件图片时,ls简单就是个坑,下面我对线上的glusterfs参数做一些优化调整,调整的命令:

gluster volume set VOLNAME OPTION PARAMETER

参数如下:

cluster.data-self-heal-algorithm ( full/diff ) cluster.min-free-disk ( Required minimum free disk space as a percentage like 30%) cluster.self-heal-window-size ( 0 < data-self-heal-window-size < 1025) cluster.stripe-block-size (size in bytes ) cluster.quorum-type (quorum method) cluster.quorum-count (# needed for quorum) diagnostics.brick-log-level ( DEBUG|INFO|WARNING|ERROR|CRITICAL|NONE|TRACE ) diagnostics.client-log-level (DEBUG|INFO|WARNING|ERROR|CRITICAL|NONE|TRACE ) diagnostics.latency-measurement ( ON|OFF ) diagnostics.dump-fd-stats ( ON|OFF ) features.quota-timeout ( 0 < 3600 secs ) geo-replication.indexing ( ON|OFF ) network.frame-timeout ( 1800 secs) network.ping-timeout ( 42 secs) performance.cache-max-file-size ( size in bytes ) performance.cache-min-file-size ( size in bytes ) performance.cache-refresh-timeout ( 0 < cache-timeout < 61 ) performance.cache-size 

转载于:https://www.cnblogs.com/tcicy/p/10000816.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值