Ceph参数配置参考

  

  (全球)   

  

  fsid=740988 c7 - 045 - c - 455 - b - 9301 - cd50f527f2a2   

  

  mon_host=11.180.137.117   

  

  #身份验证和crc   

  

  auth_cluster_required=没有   

  

  auth_service_required=没有   

  

  auth_client_required=没有   

  

  auth_supported=没有   

  

  cephx_sign_messages=false   

  

  cephx_require_signatures=false   

  

  ms_nocrc=true   

  

  max_open_files=131072   

  

  #为调试   

  

  debug_lockdep=0/0   

  

  debug_context=0/0   

  

  debug_crush=0/0   

  

  debug_buffer=0/0   

  

  debug_timer=0/0   

  

  debug_filer=0/0   

  

  debug_objecter=0/0   

  

  debug_rados=0/0   

  

  debug_rbd=0/0   

  

  debug_ms=0/0   

  

  debug_monc=0/0   

  

  debug_tp=0/0   

  

  debug_auth=0/0   

  

  debug_finisher=0/0   

  

  debug_heartbeatmap=0/0   

  

  debug_perfcounter=0/0   

  

  debug_asok=0/0   

  

  debug_throttle=0/0   

  

  debug_mon=0/0   

  

  debug_paxos=0/0   

  

  debug_rgw=0/0   

  

  #为性能计数器   

  

  穿孔=true   

  

  mutex_perf_counter=true   

  

  throttler_perf_counter=false   

  

  mon_osd_max_split_count=4096   

  

  mon_pg_warn_max_per_osd=10000   

  

  #为pg   

  

  osd_pool_default_pg_num=32768   

  

  osd_pool_default_pgp_num=32768   

  

  #为副本   

  

  osd_pool_default_size=3   

  

  osd_pool_default_min_size=2   

  

  #的信使   

  

  ms_type=异步   

  

  #为容比   

  

  mon_osd_full_ratio=0.9   

  

  mon_osd_nearfull_ratio=0.85   

  

  # OSD下来了   

  

  mon_osd_down_out_interval=43200   

  

  (星期一)   

  

  mon_max_pool_pg_num=166496   

  

  mon_osd_max_split_count=10000   

  

  mon_pg_warn_max_per_osd=10000   

  

  mon_min_osdmap_epochs=100   

  

  mon_compact_on_start=true   

  

  mon_compact_on_trim=true   

  

  (osd)   

  

  # pg日志   

  

  osd_min_pg_log_entries=30000   

  

  osd_max_pg_log_entries=100000   

  

  osd_op_log_threshold=50   

  

  osd_pg_bits=8   

  

  osd_pgp_bits=8   

  

  osd_op_num_threads_per_shard=1   

  

  osd_op_num_shards=8   

  

  # xfs选项   

  

  xfs osd_mkfs_type=

  

  osd_mkfs_options_xfs=- f - i大?2048   

  

  osd_mount_options_xfs=rw,减小、inode64 logbsize=256 k, delaylog   

  

  #为线程   

  

  osd_op_threads=6   

  

  filestore_op_threads=3   

  

  #为地图   

  

  osd_map_cache_size=1024   

  

  osd_map_cache_bl_size=128   

  

  #为杂志戴奥   

  

  journal_dio=true   

  

  journal_aio=true   

  

  #为日志配置   

  

  osd_journal_size=40960   

  

  journal_max_write_entries=1000   

  

  journal_max_write_bytes=2097152000   

  

  journal_queue_max_ops=100000   

  

  journal_queue_max_bytes=2097152000   

  

  #为io提交节流   

  

  objecter_infilght_op_bytes=2097152000   

  

  objecter_inflight_ops=102400   

  

  # ms_dispatch_throttle_bytes=2097152000   

  

  ms_dispatch_throttle_bytes=0   

  

  # filestore fd缓存   

  

  filestore_fd_cache_size=1024   

  

  filestore_fd_cache_shards=32   

Ceph参数配置参考