]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/rbm: improve large sequential write by issuing writes in parallel 64585/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 18 Jul 2025 21:54:31 +0000 (21:54 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 21 Jul 2025 07:38:06 +0000 (07:38 +0000)
commit8cc59e6a1f2af778f526e45d74a8dfc6a0f980ea
tree33be4ba376ac4c0822f05b5f8900c680f234cd53
parentd2175d2fab75ea50d5615706d7867372e19819bd
crimson/os/seastore/rbm: improve large sequential write by issuing writes in parallel

In large chunk workload, for instance, when 4MB data is divided into 64KB chunks,
the current implementation writes sequentially one by one. On general NVMe SSD
writing large chunk (>=64KB) can lead to relatively higher latency compared to a small write case,
resulting in performance degradation. Although NVMe SSD shows the increased
latency in such cases, this does not mean that thay reach their performance limit,
as they can handle multiple concurrent requests.

This commit improves parallelism by using parallel_for_each() to issue writes in parallel.

Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
src/crimson/os/seastore/extent_placement_manager.cc