GlusterFS PERFORMANCE TUNING
阿新 • • 發佈:2018-11-22
眾所周知,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