summaryrefslogtreecommitdiffstats
path: root/src/common/options/crimson.yaml.in
blob: 36b7f8bc1e335bf1034ef6cb60928c8c7283dccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# -*- mode: YAML -*-
---

options:
- name: crimson_osd_obc_lru_size
  type: uint
  level: advanced
  desc: Number of obcs to cache
  default: 512
- name: crimson_osd_scheduler_concurrency
  type: uint
  level: advanced
  desc: The maximum number concurrent IO operations, 0 for unlimited
  default: 0
- name: crimson_alien_op_num_threads
  type: uint
  level: advanced
  desc: The number of threads for serving alienized ObjectStore
  default: 6
  flags:
  - startup
- name: crimson_seastar_cpu_cores
  type: str
  level: advanced
  desc: CPU cores on which seastar reactor threads will run in cpuset(7) format, smp::count is deduced from this option
  flags:
  - startup
- name: crimson_alien_thread_cpu_cores
  type: str
  level: advanced
  desc: CPU cores on which alienstore threads will run in cpuset(7) format
  flags:
  - startup
- name: crimson_seastar_num_threads
  type: uint
  level: advanced
  default: 0
  desc: The number of threads for serving seastar reactors without CPU pinning, overridden if crimson_seastar_cpu_cores is set
  flags:
  - startup
  min: 0
  max: 32
- name: crimson_osd_stat_interval
  type: int
  level: advanced
  default: 0
  desc: Report OSD status periodically in seconds, 0 to disable
- name: seastore_segment_size
  type: size
  desc: Segment size to use for SegmentManager
  level: advanced
  default: 64_M
- name: seastore_device_size
  type: size
  desc: Total size to use for SegmentManager block file if created
  level: dev
  default: 50_G
- name: seastore_block_create
  type: bool
  level: dev
  desc: Create SegmentManager file if it doesn't exist
  default: true
  see_also:
  - seastore_device_size
- name: seastore_journal_batch_capacity
  type: uint
  level: dev
  desc: The number limit of records in a journal batch
  default: 16
- name: seastore_journal_batch_flush_size
  type: size
  level: dev
  desc: The size threshold to force flush a journal batch
  default: 16_M
- name: seastore_journal_iodepth_limit
  type: uint
  level: dev
  desc: The io depth limit to submit journal records
  default: 5
- name: seastore_journal_batch_preferred_fullness
  type: float
  level: dev
  desc: The record fullness threshold to flush a journal batch
  default: 0.95
- name: seastore_default_max_object_size
  type: uint
  level: dev
  desc: default logical address space reservation for seastore objects' data
  default: 16777216
- name: seastore_default_object_metadata_reservation
  type: uint
  level: dev
  desc: default logical address space reservation for seastore objects' metadata
  default: 16777216
# TODO: implement sub-extent checksum and deprecate this configuration.
- name: seastore_full_integrity_check
  type: bool
  level: dev
  desc: Whether seastore need to fully check the integrity of each extent,
        non-full integrity check means the integrity check might be skipped
        during extent remapping for better performance, disable with caution
  default: false
# TODO: seastore_max_data_allocation_size should be dropped once the sub-extent
#       read/checksum is implemented.
- name: seastore_max_data_allocation_size
  type: size
  level: advanced
  desc: Max size in bytes that an extent can be
  default: 32_K
- name: seastore_cache_lru_size
  type: size
  level: advanced
  desc: Size in bytes of extents to keep in cache.
  default: 64_M
- name: seastore_obj_data_write_amplification
  type: float
  level: advanced
  desc: split extent if ratio of total extent size to write size exceeds this value
  default: 1.25
# TODO: seastore_obj_data_write_amplification is no longer correct if 
#       seastore_data_delta_based_overwrite is enabled. So, this should be reconsidered.
- name: seastore_max_concurrent_transactions
  type: uint
  level: advanced
  desc: maximum concurrent transactions that seastore allows
  default: 8
- name: seastore_main_device_type
  type: str
  level: dev
  desc: The main device type seastore uses (SSD or RANDOM_BLOCK_SSD)
  default: SSD
- name: seastore_cbjournal_size
  type: size
  level: dev
  desc: Total size to use for CircularBoundedJournal if created, it is valid only if seastore_main_device_type is RANDOM_BLOCK
  default: 5_G
- name: seastore_multiple_tiers_stop_evict_ratio
  type: float
  level: advanced
  desc: When the used ratio of main tier is less than this value, then stop evict cold data to the cold tier.
  default: 0.5
- name: seastore_multiple_tiers_default_evict_ratio
  type: float
  level: advanced
  desc: Begin evicting cold data to the cold tier when the used ratio of the main tier reaches this value.
  default: 0.6
- name: seastore_multiple_tiers_fast_evict_ratio
  type: float
  level: advanced
  desc: Begin fast eviction when the used ratio of the main tier reaches this value.
  default: 0.7
- name: seastore_data_delta_based_overwrite
  type: size
  level: dev
  desc: overwrite the existing data block based on delta if the overwrite size is equal to or less than the value, otherwise do overwrite based on remapping, set to 0 to enforce the remap-based overwrite.
  default: 0
- name: seastore_disable_end_to_end_data_protection 
  type: bool
  level: dev
  desc: When false, upon mkfs, try to discover whether the nvme device supports
        internal checksum feature without using sever CPU then enable if available,
        set to true to disable unconditionally.
  default: true