The default object store used by the classic ``ceph-osd``. It provides robust, production-grade storage capabilities.
- The ``crimson_alien_op_num_threads`` option needs to be set according to the cpu set available.
+ The ``crimson_bluestore_num_threads`` option needs to be set according to the cpu set available.
This defines the number of threads dedicated to serving the BlueStore ObjectStore on each OSD.
If ``crimson_cpu_num`` is used from `Crimson CPU allocation`_,
- The counterpart ``crimson_alien_thread_cpu_cores`` should also be used accordingly to
+ The counterpart ``crimson_bluestore_cpu_set`` should also be used accordingly to
allow the two sets to be mutually exclusive.
.. describe:: memstore
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-1
osd.1:
conf:
osd:
osd min pg log entries: 5
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-1
osd.1:
conf:
osd:
osd min pg log entries: 5
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-1
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
conf:
osd:
osd shutdown pgref assert: true
- crimson alien thread cpu cores: 6-7
+ crimson bluestore cpu set: 6-7
osd.0:
crimson cpu set: 0-2
osd.1:
level: advanced
desc: The maximum number concurrent IO operations, 0 for unlimited
default: 0
-- name: crimson_alien_op_num_threads
+- name: crimson_bluestore_num_threads
type: uint
level: advanced
- desc: The number of threads for serving alienized ObjectStore
+ desc: The number of POSIX threads alienized to seastar for serving Bluestore
default: 6
flags:
- startup
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
+- name: crimson_bluestore_cpu_set
type: str
level: advanced
- desc: CPU cores on which alienstore threads will run in cpuset(7) format
+ desc: CPU cores on which POSIX threads alienized to seastar will run in cpuset(7) format
flags:
- startup
- name: crimson_cpu_num
ceph_abort_msgf("unsupported objectstore type: %s", type.c_str());
}
/*
- * crimson_alien_thread_cpu_cores must be set for optimal performance.
+ * crimson_bluestore_cpu_set must be set for optimal performance.
* Otherwise, no CPU pinning will take place.
*/
std::optional<seastar::resource::cpuset> alien_thread_cpu_cores;
if (std::string conf_cpu_cores =
- get_conf<std::string>("crimson_alien_thread_cpu_cores");
+ get_conf<std::string>("crimson_bluestore_cpu_set");
!conf_cpu_cores.empty()) {
- logger().debug("{} using crimson_alien_thread_cpu_cores", __func__);
+ logger().debug("{} using crimson_bluestore_cpu_set", __func__);
alien_thread_cpu_cores =
seastar::resource::parse_cpuset(conf_cpu_cores);
}
const auto num_threads =
- get_conf<uint64_t>("crimson_alien_op_num_threads");
+ get_conf<uint64_t>("crimson_bluestore_num_threads");
tp = std::make_unique<crimson::os::ThreadPool>(num_threads, 128, alien_thread_cpu_cores);
return tp->start();
}
local alienstore_interval=${cpu_table[${alienstore_idx}]}
if [ ! "${alienstore_interval}" == "" ]; then
- local cmd="$CEPH_BIN/ceph -c $conf_fn config set osd.$osd crimson_alien_thread_cpu_cores ${alienstore_interval}"
+ local cmd="$CEPH_BIN/ceph -c $conf_fn config set osd.$osd crimson_bluestore_cpu_set ${alienstore_interval}"
echo $cmd
$cmd
else
fi
if [ "$objectstore" == "bluestore" ]; then
if [ $crimson_alien_num_threads -gt 0 ]; then
- echo "$CEPH_BIN/ceph -c $conf_fn config set osd crimson_alien_op_num_threads $crimson_alien_num_threads"
- $CEPH_BIN/ceph -c $conf_fn config set osd crimson_alien_op_num_threads "$crimson_alien_num_threads"
+ echo "$CEPH_BIN/ceph -c $conf_fn config set osd crimson_bluestore_num_threads $crimson_alien_num_threads"
+ $CEPH_BIN/ceph -c $conf_fn config set osd crimson_bluestore_num_threads "$crimson_alien_num_threads"
fi
fi
fi