Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ceph parameter configuration referenc

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

[global]

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

Mon_host=11.180.137.117

# for auth and crc

Auth_cluster_required = none

Auth_service_required = none

Auth_client_required = none

Auth_supported = none

Cephx_sign_messages = false

Cephx_require_signatures = false

Ms_nocrc = true

Max_open_files = 131072

# for debug

Debug_lockdep = 0ax 0

Debug_context = 0ax 0

Debug_crush = 0ax 0

Debug_buffer = 0ax 0

Debug_timer = 0ax 0

Debug_filer = 0ax 0

Debug_objecter = 0ax 0

Debug_rados = 0ax 0

Debug_rbd = 0ax 0

Debug_ms = 0ax 0

Debug_monc = 0ax 0

Debug_tp = 0ax 0

Debug_auth = 0ax 0

Debug_finisher = 0ax 0

Debug_heartbeatmap = 0ax 0

Debug_perfcounter = 0ax 0

Debug_asok = 0ax 0

Debug_throttle = 0ax 0

Debug_mon = 0ax 0

Debug_paxos = 0ax 0

Debug_rgw = 0ax 0

# for perf counter

Perf = true

Mutex_perf_counter = true

Throttler_perf_counter = false

Mon_osd_max_split_count = 4096

Mon_pg_warn_max_per_osd = 10000

# for pg

Osd_pool_default_pg_num = 32768

Osd_pool_default_pgp_num = 32768

# for replica

Osd_pool_default_size = 3

Osd_pool_default_min_size = 2

# for messager

Ms_type = async

# for capacity ratio

Mon_osd_full_ratio=0.9

Mon_osd_nearfull_ratio=0.85

# for OSD Down out

Mon_osd_down_out_interval=43200

[mon]

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]

# for pg log

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 option

Osd_mkfs_type = xfs

Osd_mkfs_options_xfs =-f-I size=2048

Osd_mount_options_xfs = rw,noatime,inode64,logbsize=256k,delaylog

# for threads

Osd_op_threads = 6

Filestore_op_threads = 3

# for map

Osd_map_cache_size = 1024

Osd_map_cache_bl_size = 128,

# for journal dio

Journal_dio = true

Journal_aio = true

# for journal config

Osd_journal_size = 40960

Journal_max_write_entries=1000

Journal_max_write_bytes=2097152000

Journal_queue_max_ops=100000

Journal_queue_max_bytes=2097152000

# for io submit throttle

Objecter_infilght_op_bytes=2097152000

Objecter_inflight_ops=102400

# ms_dispatch_throttle_bytes=2097152000

Ms_dispatch_throttle_bytes=0

# for filestore fd cache

Filestore_fd_cache_size = 1024

Filestore_fd_cache_shards = 32

Filestore_omap_header_cache_size=10240

Osd_pg_object_context_cache_count=1024

# for filestore queue

Osd_max_write_size = 5120

Filestore_queue_max_ops=100000

Filestore_queue_max_bytes=2097152000

Filestore_queue_committing_max_ops=100000

Filestore_queue_committing_max_bytes=2097152000

# for sync

Filestore_max_sync_interval=0.1

Filestore_min_sync_interval=0.1

Filestore_journal_parallel = false

Filestore_journal_writeahead = true

Filestore_odsync_write=false

# for client message

Osd_client_message_size_cap = 0

Osd_client_message_cap = 0

# for tracker

Osd_enable_op_tracker = false

# for wbthrottle

Filestore_wbthrottle_enable=false

Filestore_wbthrottle_xfs_bytes_start_flusher = 5242880000

Filestore_wbthrottle_xfs_bytes_hard_limit = 5242880000

Filestore_wbthrottle_xfs_indoes_start_flusher = 50000

Filestore_wbthrottle_xfs_indoes_hard_limit = 50000

Filestore_wbthrottle_xfs_ios_start_flusher = 50000

Filestore_wbthrottle_xfs_ios_hard_limit = 500000

# for leveldb

Leveldb_write_buffer_size=67108864

Leveldb_cache_size=536870912

Leveldb_block_size=0

Leveldb_max_open_files=0

Leveldb_compression=false

Leveldb_compact_on_mount=false

# for recovery

Osd_recovery_threads=1

Osd_recovery_max_chunk=16777216

Osd_recovery_max_active=6

Osd_recovery_op_priority=3

# for backfill

Osd_max_backfills=1

Osd_backfill_scan_min=64

Osd_backfill_scan_max=512

Osd_backfill_full_ratio=0.9

# for scrub

Osd_max_scrubs=1

Osd_scrub_during_recovery=true

Osd_scrub_begin_hour=1

Osd_scrub_end_hour=6

Osd_scrub_load_threshold=0.5

Osd_scrub_min_interval=86400

Osd_scrub_max_interval=604800

Osd_scrub_interval_randomize_ratio=0.5

Osd_scrub_chunk_min=5

Osd_scrub_chunk_max=25

Osd_scrub_sleep=0

Osd_scrub_auto_repair=false

Osd_scrub_auto_repair_num_errors=5

Osd_deep_scrub_interval=604800

Osd_deep_scrub_randomize_ratio=0.15

Osd_deep_scrub_stride=524288

Osd_deep_scrub_update_digest_min_age=7200

Osd_scrub_priority=5

Osd_scrub_cost=52428800

[client]

Rbd_cache=false

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report