SeaStore: Redesigning Ceph’s Storage Backend for CPU-Efficient NVMe Performance | Proceedings of the 2026 ACM SIGOPS Annual Technical Conference

· ACM Conferences

60 min read Original article ↗

Abstract

This paper presents SeaStore, a new CPU-efficient, NVMe-oriented storage backend for Ceph, a general-purpose distributed storage system. Over the past decade, Ceph has evolved alongside advancements in storage technology. However, it faces fundamental challenges in random I/O performance due to the structural limitations of its software stack that cannot be addressed via the modular changes adopted in the past. Addressing these limitations requires solving three design challenges: (1) the limitations of a heterogeneous and tightly coupled RocksDB-based architecture, (2) the lack of efficient per-core transaction processing, (3) maintaining high transaction concurrency without excessive contention. SeaStore efficiently overcomes these limitations by introducing three techniques: sharding with hybrid layout, cooperative optimistic pipeline processing, and contention reduction via structure-free updates. We have completely rebuilt the storage backend and integrated SeaStore into the Ceph mainline as a next generation storage backend. Our evaluation results show that SeaStore achieves up to 70% improvement in small random write performance, and scales IOPS with the number of cores. Furthermore, it offers at least 2x higher IOPS under mixed workloads and serves small random reads while reducing CPU usage by 25%.

1 Introduction

The evolution of data infrastructure, driven by recent trends such as AI, cloud computing, and high-performance computing, generates massive amounts of data and creates demand for various data interfaces (e.g., key-value, file, object and block). As such, general-purpose distributed storage systems attract more attention than ever. The fundamental design behind such systems is to prioritize scalability and reliability to scale capacity and ensure data integrity to deal with a large amount of data. In that regard, fault tolerance is a key factor because a storage cluster must continue serving data reliably even when the failure happens. However, achieving meaningful fault tolerance requires not only surviving failures but also preserving a consistent view of data after recovery. Thus, distributed storage systems must adopt reliable techniques—such as primary-backup replication, write-ahead logging, and transaction processing—to ensure strong consistency [7, 52, 56] when storing data. These mechanisms impose a heavy burden on the distributed storage backend, which in turn results in low small random write performance.

There are several reasons for this. First of all, concurrency control is necessary to preserve transactional correctness, but it limits the ability to leverage multi-core architecture [15, 34, 48]. Second, the transaction procedure is often not lightweight because it generally involves coordination overheads that make per-core processing difficult  [39, 55]. Lastly, transaction overheads such as Copy-on-Write (CoW) [17, 40, 62] and transaction conflicts are non-negligible. All these factors pose challenges for storage backends in delivering high small random write performance, even when using enterprise NVMe SSDs that provide high random I/O performance and write endurance [45, 50].

BlueStore [1] in Ceph [9, 58] is also an example of this case. It was proposed to improve transaction processing by replacing the existing local file system structure with a user-level approach based on RocksDB [42]. Despite these advances, its loosely-integrated, serialized transaction processing structure leads to relatively low random write performance. Even worse, the performance does not scale well, even with additional computing or storage resources. This structural limitation forces operators to over-provision server nodes to achieve desired throughput, causing significant resource inefficiency. Based on the lessons from BlueStore and our experience in performance optimization, we identify three key challenges to overcome this limitation.

First, BlueStore’s coarse-grained structure and its heterogeneous integration with RocksDB limit core scalability. Although BlueStore provides correctness for write operations, its serialized execution structure makes it difficult to scale transaction processing across cores. In addition, BlueStore relies on RocksDB for metadata management and part of the transaction path. This integration introduces unmanaged internal activities, such as background garbage collection (GC), which can consume substantial CPU resources and interfere with foreground I/O processing.

Second, an efficient transaction procedure tailored to a single core is essential. A natural approach to exploit modern multicore systems is to allow each task to run on a dedicated core, keeping locality without interruption [5, 29]. However, realizing this model is challenging because a transaction involves disk I/Os that require waiting for completion. To keep each core busy during such waits, a pipelined mechanism is required. Furthermore, once transaction processing is pipelined, the system should consider an efficient I/O submission strategy and effective transaction-conflict handling.

Third, maintaining high transaction concurrency without excessive contention is vital. The pipelined transaction model with conflict detection can improve concurrency without relying on coarse-grained locking, but frequent conflicts can force transactions to retry and delay progress. CoW-based metadata structures also help transactions to proceed concurrently without updating shared structures in place under locks, but this introduces additional copy and structural-update overheads.

To this end, we present SeaStore, which addresses the aforementioned issues by completely redesigning the storage backend while preserving compatibility with Ceph’s existing services (e.g., file, block, and object). SeaStore is based on the observation that reducing host-side CPU overhead can outweigh modest device-side costs in modern NVMe-based storage systems. SeaStore therefore adopts a CPU-efficient architecture that combines asynchronous, per-core transaction execution with a data placement strategy that leverages the random write capability of high-endurance NVMe SSDs.

SeaStore incorporates three key design schemes:

1. Sharding with hybrid layout: SeaStore divides the partition into several shards, each of which corresponds to a core by assigning objects to a shard using their ID. Additionally, instead of using RocksDB, SeaStore employs sharded B-trees for address and metadata management with CoW. For data layout, SeaStore adopts a hybrid update strategy—metadata change is appended to the journal as mergeable delta, while newly allocated blocks and large data blocks are allocated in the random block area—allowing SeaStore to merge small metadata updates and avoid rewriting large data blocks during GC, a common bottleneck in journal-only approaches.

2. Cooperative optimistic pipeline processing:SeaStore maximizes per-core transaction throughput by splitting each transaction into exclusive and overlap-friendly stages. SeaStore optimistically allows overlap-friendly work, such as data writes, to progress concurrently, while the exclusive stage enforces commit ordering through journal writes. Moreover, through a cooperative submission strategy between the stages, pending work blocked at the exclusive stage by a previous exclusive-stage write is batched when the stage becomes available again, sustaining high throughput even under I/O delays.

3. Contention reduction via structure-free updates:SeaStore minimizes CoW overhead and transaction conflicts by preserving existing data structures with minimal changes. Specifically, for small data overwrites, SeaStore first journals the update and later applies it to the original data location without changing its physical address, thereby avoiding address-map replacement. For time-series log metadata, SeaStore separates append- and remove-heavy updates from the general-purpose CoW B+Tree path and stores them in an append-oriented linked-list structure, reducing tree modifications on hot metadata paths.

Our evaluation shows that, compared to Ceph’s approach (BlueStore), SeaStore improves small random write performance by up to 60% in IOPS per core. In addition, thanks to the simplified data layout of the write-optimized design, SeaStore also achieves significant gains in random reads, outperforming BlueStore by more than 2 × in multi-core environments. Furthermore, SeaStore has been merged into the Ceph mainline and is positioned as the next generation storage backend. Moreover, it is continuously tested by Ceph’s QA system [53] through randomized failure injection, power-loss simulations, and long-running consistency checks, demonstrating its data integrity and practicality.

The contributions of this paper are as follows:

• We found structural problems that hinder small random I/O performance in the widely-used open source distributed storage system, Ceph, and address the challenges by introducing SeaStore and its relevant software stack. The main contribution of SeaStore is to co-design the individual mechanisms with SeaStore’s per-core architecture to eliminate the CPU bottlenecks identified in BlueStore. Sharding is a well-known technique [6, 20, 22, 33, 63] to improve performance by maximizing parallelism. However, with distinct object semantic, SeaStore designs exclusive shards that eliminate the need for synchronization overhead between cores. Additionally, each shard adopts a hybrid data layout that minimizes GC overhead, unlike journal-only approaches [14, 21, 42, 46]. Furthermore, beyond exploiting asynchronous characteristic [30], SeaStore focuses on per-core transaction processing, incorporating pipelined stages with a cooperative strategy, specifically designed to batch pending work and improve CPU efficiency. SeaStore’s contention reduction technique introduces contention avoidance strategy during writes, unlike existing approaches such as snapshot based mechanisms [16] and lock optimization [54].

• We propose a design that is applicable to Ceph. Moreover, SeaStore provides a transactional object interface, enabling other storage systems that require transactional writes over an object interface to adopt SeaStore by reusing its implementation. Conventional key-value DBs can also adopt all or part of SeaStore, because the object interface is fundamentally based on key-value semantics.

• Our evaluation shows that SeaStore improves small random I/O performance for both writes and reads while increasing CPU efficiency, and achieves 2× higher throughput than BlueStore while reducing tail latency under YCSB workloads.

2 Background

Figure 1:

Ceph overview.

Figure 2:

Write transaction handling in Ceph.

2.1 Ceph

Ceph is a widely used open-source distributed storage system that provides file, block, and object services. As shown in Figure 1, these services are built on top of the Reliable Autonomic Distributed Object Store (RADOS), which is the core component of Ceph. In RADOS, Object Storage Daemon (OSD) is responsible for storing object data on the disk and implementing availability mechanisms (e.g., replication and erasure coding). Each OSD runs on a server node and is clustered with other OSDs under the control of a monitor daemon (MON). To write an object, users issue a write request that contains the object data and its object name. Ceph maps the write request pseudo-randomly using its data placement algorithm, CRUSH [59]. During this process, Ceph generates an object ID by combining the POOL ID, PG ID, and object name. The object ID is then used to locate and manage the object throughout the write path. Placement Group (PG) is a set of objects and serves as a replication domain. POOL is a collection of PGs. The primary OSD receiving the write translates it into a transaction, forwards it to replica OSDs when necessary, and finally submits it to the storage backend, BlueStore [1], which handles device-level I/O operations.

2.2 Storage backend for Ceph

BlueStore overview. BlueStore stores object metadata and other metadata in RocksDB, while object data is written directly to raw block device. It handles each write as a transaction that combines metadata updates, allocation changes, and data writes, persisting metadata through RocksDB’s WAL/SSTable path and data through BlueStore’s data area.

Transaction handling. The design principle of Ceph is to ensure strong consistency [56] for various storage services. Therefore, every object write is treated as a transaction and persisted to disk, ensuring transactional correctness with data integrity checks (e.g., CRC). As shown in Figure 2, the OSD creates a transaction that includes a write request and then feeds it into the BlueStore while guaranteeing isolation between transactions. Notably, this transaction generated from even a single write request contains multiple types of data such as PG log, PG information, object metadata, and user-defined key-value pairs.

The PG log—we use the terms log and PG log interchangeably throughout this paper—includes historical information used for per-PG recovery. Each log entry includes the time at which the event occurred and relevant metadata about the corresponding operation. Therefore, the log is stored as a key-value pair, where the key is a timestamp indicating when the log entry is created, and the value is the associated event information. Object metadata includes information related to the object, similar to an inode in Ext [8]. For instance, object version, checksum, size, and object ID are included in the object metadata. A characteristic of these types of data is that they are small and frequently updated when the data payload is changed. The PG information is analogous to object metadata, except that it is related to PG. For user-defined key-value pairs, Ceph supports custom metadata [12] attached to each object to provide S3 compatibility [44] and flexibility for general-purpose use. In Ceph BlueStore, all these small data items are stored in RocksDB.

Table 1:

 1T2T4T8T16T
K IOPS47.263.177.292.795.8
CPU(%)7901150147016201630

IOPS and CPU utilization under 4KiB random write workload with varying the number of FIO threads. One OSD runs on a server node. T represents thread.

Figure 3:

Average CPU usage of each thread in the 16-thread case from Table 1. The number of osd_threads is 16, msgr_threads is 6, rocksdb:high is 1, rocksdb:low is 3, and both bstore_kv_sync and bstore_kv_final exist as a single thread each.

3 Motivation

Performance limitations. Table 1 and Figure 3 show BlueStore’s 4KiB random write performance and corresponding CPU usage. To measure performance, FIO [4] is used and co-located with the OSD on the same server node to filter out other factors (replication factor is one). As shown in Table 1, performance saturates at around 90K IOPS, even as FIO generates increasing traffic by scaling the number of threads. Moreover, CPU consumption per IOPS is relatively high—for example, with 8 threads, the system achieves 92.7K IOPS while consuming 1,620% CPU. Note that 100% usage means full utilization of a single logical core and 4,800% is the maximum value on the tested machine. Based on this result, 51 cores are required to achieve the modern enterprise NVMe SSD’s sustained 4KiB random write performance (over 300K IOPS) [50]. While transaction processing inevitably adds considerable overhead, BlueStore consumes substantial CPU resources and lacks multi-core scalability.

3.1 Challenges in addressing the limitations

3.1.1 Performance scalability.

BlueStore’s limitations mainly stem from its partially parallel architecture. BlueStore employs two dedicated singleton threads: (1) bstore_kv_sync, which is responsible for making all write transactions persistent while flushing WAL in RocksDB, and (2) bstore_kv_final, which serializes and notifies the completion of write transactions. Although these singleton threads are necessary for transactional correctness, bstore_kv_sync in particular limits BlueStore’s performance scalability, as its CPU usage reaches nearly 100% in Figure 3. bstore_kv_final also serializes transaction completion, further limiting parallelism in BlueStore’s write path. In Ceph, when the OSD’s network threads (msgr_thread in Figure 3) receive write requests from clients, they distribute each request based on the PG to which the target object belongs, forwarding it to the corresponding osd_thread in Figure 3. Each osd_thread then generates a transaction and submits it to RocksDB. In Figure 3, these two types of threads (msgr_thread and osd_thread) account for a large portion of CPU consumption. However, on average, the CPU usage of each individual thread does not exceed 60%, indicating that they do not fully utilize a logical core even when resources are available. This partial utilization results from serialization at bstore_kv_sync, which blocks progress in other threads.

To address this, the most effective way is to adopt a sharded architecture [6, 22, 25, 33]. A straightforward yet naïve solution to do so is to partition BlueStore, aligning each shard with a dedicated thread in OSD. However, BlueStore is tightly coupled with RocksDB, a general key-value DB that includes built-in concurrency control and background GC tasks. This tight coupling poses a fundamental architectural challenge to building the sharded architecture. For instance, RocksDB periodically wakes background compaction threads (rocksdb:

high and rocksdb:low in Figure 3) at arbitrary times, preempting OSD threads. While using RocksDB is a practical way to provide strong consistency, it can also cause high CPU consumption due to unexpected behavior and lack of core-level affinity.

3.1.2 Lack of lightweight per-core transactions.

Even if the storage backend, such as BlueStore, could be partitioned successfully, it does not guarantee that the write transaction can be done efficiently. To improve small random write performance, the storage backend should handle write requests as efficiently as possible within a single core context. A conventional way to achieve such single-core processing is the run-to-completion model [5, 31, 38], where only a single thread pinned to a core handles the entire I/O processing even though it is blocked while waiting for I/O completion. This model retains transactional correctness and locality, but it blocks incoming operations during I/O wait time, thereby underutilizing core resources.

Pipelining is one of the promising techniques for improving per-core transaction throughput by overlapping operations during I/O wait time. Ideally, if the storage backend is designed to exploit the idle time of a single core by running another task in a pipelined I/O procedure, it can maximize the full potential of that core. However, building such a pipelined I/O procedure while keeping transactional guarantees is challenging. Specifically, first, the pipeline stages must be carefully defined so that transactions can make progress even when some stages are blocked by I/O, without violating ordering. Additionally, to maximize throughput, cooperative I/O processing across different stages should be taken into account. Second, if the storage backend becomes pipelined, it must also be able to detect and handle transaction conflicts. This is critical because an ongoing transaction may yield control of the core due to I/O waits, allowing another transaction to proceed. At this point, if both transactions attempt to modify the same data structure, the storage backend should detect the conflict and handle it appropriately.

3.1.3 Transaction conflict and CoW overhead.

Addressing the previous two issues discussed in Section 3.1.1 and Section 3.1.2 requires a backend that supports concurrent, pipelined transaction processing over sharded data structures. However, once multiple transactions are allowed to proceed concurrently, two obstacles become critical: transaction conflicts and CoW overhead.

Table 2:

PG countConflicts per secondIOPSLatency (ms)
106K5.4
459.57.1K4.4
1698.99.5K3.3
64123.610.4K3.1

Transaction conflict overhead measurement during 4KiB random write test. To evaluate performance impact caused by transaction conflicts, we vary the number of PGs, which serve as conflict domains. More PGs allow more transactions from different domains to overlap in the pipelined transaction procedure, increasing the likelihood of conflicts. The test is done using a logical single core with the FIO configuration (1 job and 32 iodepth).

Transaction conflict overhead. Introducing the per-core pipelined transaction procedure is effective in most cases. However, it can also introduce conflict-induced retry overhead. As measured in Table 2, transaction conflicts limit performance improvement as parallelism increases. The root cause of such conflicts is that multiple in-flight transactions attempt to modify the same relevant data structure before earlier ones have completed. Note that, in Ceph, transactions are enqueued to the storage backend in PG (a group of objects) order, but pipelined stages can still access shared metadata. For instance, in the address management tree, if an ongoing transaction modifies a node containing an address range, another transaction accessing the same node triggers a conflict. A transaction conflict not only forces the affected transaction to be retried but also delays subsequent transactions to ensure that all transactions are handled in order.

Table 3:

 IOPSLatency(ms)MAMF
Increased overhead1.4K0.3445244

Increased overhead when object metadata (236 bytes in total) required every write is stored to a separated CoW tree. MA means memory allocations per IOPS. MF represents memory frees per IOPS. Test is done with the same test configuration as Table 2. 1.4K IOPS indicates a reduction of 1.4K IOPS from the Table 2 result with 64 PGs, and the other values indicate changes relative to the same baseline.

CoW overhead. CoW-based trees help transactions proceed concurrently while simplifying rollback and recovery. However, as many studies have shown [17, 40, 62], this benefit comes with substantial copy overheads, as demonstrated in Table 3, which shows the cost of maintaining a CoW-based tree. Specifically, when a CoW-based B+Tree is used for write transactions: (1) the storage backend should copy the corresponding nodes, including their ancestors if necessary, (2) the old nodes should be discarded once their references become invalid. Moreover, this overhead gets worse if a transaction conflict happens.

In Ceph, there are various types of data modified during a single write transaction, as described in Section 2.2. Therefore, maintaining each of these as separate B+Trees with CoW leads to significant overhead, as even a single write operation needs to modify multiple corresponding B+Trees.

Table 4:

 With LOGWithout LOG
IOPS10.3K12.5K
Latency(ms)2.92.48

4KB random write performance with/without LOG.

Time-series log overhead. For the storage backend, a reasonable approach to the time-series log management is to use key-value pairs within the existing B+Tree-like structure, using the timestamp as the key and the event information as the value. This design offers advantages—the object store easily removes logs using a range operation or finds entries through simple lookups. However, during write operations, this approach causes considerable overhead due to frequent insertion of key value pairs and potential tree split and merge. The overhead is further amplified by existing CoW and transaction conflicts. Table 4 describes this overhead. When logging is enabled, IOPS drops by about 20% compared to the case without logging.

4 Design and Implementation

Figure 4:

Overview of SeaStore (CBJ: Circular Bounded Journal, RBA: Random Block Area, Tx: Transaction).

Figure 4 shows the overall architecture of SeaStore compared with BlueStore, highlighting SeaStore’s shift to a CPU-efficient, asynchronous per-core backend. The remainder of this section describes the key design concepts and concrete techniques behind SeaStore.

Sharding strategy.SeaStore allocates a partition, called a shard, that is controlled by a single core to minimize interruption or interference across cores. To achieve balanced workload distribution among shards, SeaStore uses the pseudo-random value (the PG ID), which is embedded in the object ID. Note that PG ID is generated by Ceph’s object-to-PG mapping procedure. Consequently, upon receiving an I/O request, SeaStore uses the object ID, consisting of the POOL ID, PG ID, and object name, to dispatch the request to the corresponding shard. A primary shard maintains the mapping between shards and their assigned PGs.

Asynchronous architecture with partitioning. The control and data planes of SeaStore are aligned with each shard. In addition, pinned micro-tasks [47] run in a work-conserving, asynchronous manner. Each micro-task performs its assigned job and continues running until it yields control of the core (e.g., upon I/O event). By doing so, with sharding strategy, this architecture allows SeaStore to fully exploit the processing potential of each core.

Exploiting fast random access. Unlike conventional SSD-friendly layouts that treat the entire disk as a journal, SeaStore performs in-place updates whenever possible. This approach may increase device-side Write Amplification Factor (WAF) [40, 61] by producing random overwrites. However, several factors outweigh this drawback. First, modern SSDs internally absorb random writes through their Flash Translation Layer (FTL) [10], and enterprise SSDs provide strong write endurance and guaranteed IOPS (e.g., eSSD [45, 50]). Moreover, Ceph does not fully leverage the SSD’s sustained performance, as described in Section 3. Second, in-place update can minimize host-side GC overhead because data is overwritten at the fixed position. As explained in Section 3.1.1, the unexpected and long background process such as GC uses substantial CPU resource and significantly block foreground I/O [14, 46]. Third, in journal-only layouts, read operations may also become slower due to fragmentation as the storage system ages without timely GC process [64].

Address management. SeaStore employs an address scheme that uses both logical block address (LBA) and physical block address (PBA) to manage all objects and their associated metadata for two key reasons. First, once part of an object is overwritten or remapped, its metadata managed by LBA—such as the object’s extent map that indicates where data extents are located—does not need to be modified  [28]. The only change required is in the mapping between logical and physical addresses. Second, it brings a great benefit to implement snapshot, which shares the same physical region with a different view of object.

Figure 5:

A shard design with disk layout.

4.1 Sharding with hybrid layout

Data structures required for object management and associated logic need to be completely separated across shards to overcome the BlueStore partitioning challenge described in Section 3.1.1. Therefore, SeaStore partitions these structures across shards. Each shard maintains its own LBA tree, a block allocator (responsible for managing PBAs), and an object node (ONode) tree. Figure 5 shows the overall shard design. Suppose that an object with object ID (P:AB:OBJ-A) is written to a shard, where P, AB, and OBJ-A denote the POOL ID, PG ID, and object name, respectively. First, SeaStore allocates ONode structure that contains corresponding object metadata, while simultaneously allocating LBA-PBA mappings in LBA tree (LBA P:AB:[0,4) mapped to PBA [10,14)), and then inserts the ONode into the ONode tree. Subsequently, the modifications to the LBA tree and ONode tree are grouped into a single transaction and persisted to their respective disk locations—Circular Bounded Journal (CBJ) and Random Block Area (RBA). Note that the detailed write procedure to disk layout will be explained in Section 4.2.

Both the ONode and LBA trees are fundamentally based on a prefix-compressed B+Tree with CoW. This design allows objects with the same prefix to be placed close together, improving locality. Furthermore, it reduces storage overhead for keys by exploiting prefix compression, as each internal node shares a common compressed prefix among its keys. More importantly, employing CoW facilitates the concurrent execution of pipelined stages, which will be detailed in the next section, by keeping the original version of data while updates are made on copies.

Journal and in-place structure. Each shard in SeaStore adopts a hybrid layout consisting of a superblock, a CBJ, and a RBA. The CBJ stores the root node and deltas generated from internal and leaf nodes in both the ONode and LBA trees, which are appended consecutively in the CBJ. In contrast, the RBA contains the physical blocks where new object data and metadata (e.g., ONode and LBA nodes) are written at random locations. The key idea is that all data and metadata are initially allocated in the RBA. Then, deltas—representing modifications from the original state—are recorded in the CBJ. Then, SeaStore rewrites these deltas back to the RBA.

Unlike conventional log-structured layout [43], SeaStore replaces heavy GC with lightweight rewrite operations, and serialized operations (e.g., appends to the CBJ) involve only minimal data such as deltas, while large data chunks (writes to the RBA) can be written in parallel. Furthermore, even serialized operations can overlap with staged pipelining, as described in the next section, thereby reducing the serialized portion of the transaction path.

ONode management. As shown in Figure 5, the ONode tree consists of root, internal, and leaf nodes. The key format is a variable-length value derived from the object ID (POOL ID + PG ID + object name). Each internal node contains multiple keys, each of which represents part of the object ID and its corresponding range. Among these keys, the minimum key serves as the representative key. For instance, in Figure 5, P:AB:OBJ-A is the representative key, and its range covers P:AB:OBJ-A to P:AB:OBJ-D. Each internal node also stores a set of child pointers associated with these keys.

The leaf nodes store the remaining keys (e.g., object names) and their associated values. The value contains object’s metadata such as size, version, object data’s LBA, extended attribute, and the root of the omap tree for user-defined key-value data. In Figure 5, ONode A represents the metadata of the object P:AB:OBJ-A.

LBA management. Each shard has an independent logical address space and therefore manages it separately using a dedicated LBA tree. The role of the LBA tree is straightforward: given a fixed-size key (LBA), it retrieves the corresponding fixed-size value, composed of the PBA and length. SeaStore implements this using a data structure similar to the ONode tree. The LBA tree uses a 64-bit key derived from fields related to the POOL ID, PG ID, and local logical block address, as shown in Figure 5, leading to POOL/PG-level locality in the LBA space. If the corresponding LBA range is occupied, SeaStore searches nearby LBA regions for free space. Each internal node holds a fixed number of entries that point to its child nodes and define the corresponding logical address ranges. Each leaf node also contains a fixed number of entries, which consist of a concatenation of a key (remaining LBA) and a value (PBA and length). An important characteristic of the LBA tree is that it uses fixed-length keys and values, unlike the ONode tree. Therefore, it can easily find entries by indexing, maintain cache alignment, and simplify split and merge operations.

Block allocator. The block allocator is responsible for managing the entire disk space of a shard, excluding the CBJ area, particularly the available physical address space. This information is maintained in an in-memory AVL tree. Unlike other tree-based components, the block allocator works without CoW. Upon an allocation request, it directly removes an available PBA range from the AVL tree. The corresponding allocation details are then included in the ongoing transaction and subsequently appended to the CBJ. If a transaction conflict occurs, the address range is reinserted into the block allocator. The rationale behind this approach is that the block allocator can rollback uncommitted allocations by reinserting the allocated ranges, without maintaining CoW versions. After that, when the CBJ is trimmed, the allocation information is re-sorted and stored in a B-Tree structure for persistence. However, no split or merge operations are required during runtime.

4.2 Cooperative optimistic pipeline processing

To maximize per-core transaction throughput, SeaStore introduces a stage-based pipelined transaction processing model. The key design principle is optimistic concurrency control with CoW semantics—SeaStore continues processing transactions until a conflict is detected, at which point the conflicting transaction is requeued for later execution. In addition, each transaction stage works as a micro-task, allowing multiple transactions to coexist within the same stage. When a blocking event occurs (e.g., waiting for I/O completion) or the current stage has no pending requests, the stage yields control of the core to other stages. While multiple write transactions within the same PG can enter the pipeline, each transaction must complete in the same order in which it is issued to ensure correctness.

Pipelining stage.SeaStore defines pipelining stages as shown in Figure 6; this section focuses on the write transaction.

• Prepare transaction (PT): In this stage, the first step performed by SeaStore is to retrieve the object metadata (ONode). By traversing the ONode tree with the given object ID, the corresponding ONode—which contains LBAs of the object data—is retrieved. Next, the object’s data location is determined by searching the LBA tree using the retrieved LBAs. If a new LBA range needs to be allocated for a newly created object, SeaStore allocates it while generating deltas from the original state of the LBA tree. Then, a matching PBA range is allocated by the Block Allocator. All changes are recorded in the current transaction. Likewise, any modifications to logs or user-defined key value pairs for the corresponding tree are also included in the current transaction.

Figure 6:

Stage-based pipelining and submission procedure (TW: time window, PT: prepare transaction stage, RBAW: RBA write stage, PR: prepare record stage, CBJW: CBJ write stage, PP: Post processing stage).

• RBA write (RBAW): SeaStore checks whether the transaction contains any writes (e.g., newly allocated extents for the tree nodes or data) targeting the RBA. If so, SeaStore issues these writes in parallel without enforcing ordering constraints between preceding transactions. Since each allocated PBA is unique and can be retrievable even after a transaction conflict, this procedure remains transactionally safe even though some device write bandwidth may be wasted when a transaction is invalidated. Newly allocated data is written directly to the RBA as part of the original transaction. For a small data overwrite, which will be explained the Section 4.3, the updated data is first recorded in the CBJ, and a subsequent trim transaction writes the updated data to the RBA.

• Prepare record (PR): The goals of this stage are (1) to detect a transaction conflict and (2) to generate a record—the write unit of the CBJ (a concatenation of deltas)—for appending to the CBJ. SeaStore examines all modifications (e.g., changes to LBA or ONode nodes) in a transaction and invalidates any ongoing transactions that reference these modified entries. For instance, in Figure 6, Trans. D in PG #1 is reverted because Trans. A in the same PG #1 detects the transaction conflict at TW 3. The conflicted transactions are then re-enqueued for re-execution.

• CBJ write (CBJW): In this stage, the records in a transaction are written to the CBJ sequentially. After that, SeaStore adjusts the CBJ tail, performing a rollover if necessary. Once a transaction reaches this stage, SeaStore assumes that no further conflicts can occur, and the transaction is committed after the CBJ write operation completes. Although each transaction generates a single record, records from multiple transactions batched by cooperative submission, which will be described later in this section, can be written sequentially to the CBJ.

• Post-processing (PP): SeaStore replaces modified nodes with their updated versions, and the head pointer of the CBJ is periodically recorded in the superblock (SB). In addition, trim operation, which will be explained later in this section, can be invoked if necessary.

Cooperative submission strategy. Since the CBJ write stage handles records in a sequential manner, multiple transactions that have completed the RBA write stage cannot enter the CBJ write stage if a preceding CBJ write is in progress. To handle this situation, SeaStore performs batch processing by aggregating all pending records and issuing them together once the CBJ write stage becomes available.

Cooperative submission works as follows. Before entering the CBJ write stage, SeaStore checks if the CBJ is under submission. If it is idle, SeaStore directly issues the records in order. Otherwise, the records are added to the pending list, which will later be submitted collectively. For example, in Figure 6, Trans. B and Trans. C are blocked at TW 4 because CBJ is in use, so they are added to the pending list. The pending list is then issued when CBJ is available or when an immediate flush is needed. In the latter case, the calling task asynchronously yields until the ongoing CBJ write finishes.

Journal trim operation. Although SeaStore does not perform a background operation, such as compaction that severely degrades a foreground operation, it still requires the trim operation. This operation applies all deltas recorded in the CBJ by reading them and writing the corresponding updates to the RBA. The trim operation is triggered when the CBJ meets a threshold condition, determined by checking its head and tail positions during the post-processing stage or the prepare transaction stage. The threshold condition is configurable: if SeaStore performs trim aggressively, it can distribute overhead across multiple smaller trim operations. Otherwise, one trim operation incurs a relatively higher overhead. SeaStore treats the trim operation as a regular transaction, which means it goes through the existing transaction pipeline. While this trim operation entails overhead, the CBJ effectively works as a write buffer, allowing the trim operation to merge multiple updates into a single update to the original extent. Furthermore, if SeaStore caches the nodes residing in the CBJ in memory, no disk reads are required during the trim operation. Importantly, unlike compaction, the CBJ portion of the disk is limited. This means that, even in the worst case, the trim overhead is significantly lower than that of compaction.

4.3 Contention reduction via structure-free updates

Pipelining and CoW are efficient for per-core transaction processing. However, they introduce transaction conflicts and CoW overhead. To minimize these, SeaStore avoids unnecessary structural changes during transaction handling.

Linked log layout. Maintaining logs via B+Tree causes a substantial overhead as described in Section 3.1.3. To address this inefficiency, the more appropriate approach is a linked-list based structure for several reasons. First, although the linked-list structure may cause random seeks during log access, such accesses occur only in rare cases—for example, during OSD startup or recovery—and can be handled by modern enterprise NVMe SSDs. Second, time-series log entries are inherently transactional—append-only, durable, and replay-based—so they do not require structural versioning for correctness. Third, range-based operations for log deletion or search are required, but these operations are inherently sequential. For example, to clear outdated logs, a storage system sequentially trims obsolete entries from the oldest log up to a specific point, which eliminates the need for random key lookups. Finally, the linked-list structure can work with very low overhead when adding new log entries, as it only updates the tail pointer without additional metadata management.

To store the logs in the linked-list structure, SeaStore uses a reserved ONode—whose ID consists of the pool ID, PG ID, and a reserved null object name—to maintain a pointer to the tail node of the linked-list. Consequently, since each PG maintains its own log, SeaStore generates one ONode per PG. Upon a log write request, SeaStore first creates a node that contains space for multiple log entries, each of which has key (timestamp) and value (content of the log), and a previous pointer. After that, the log entry is inserted into the new node, and this node is added to the current ongoing transaction. For a subsequent log write request, SeaStore checks the current tail node to determine whether sufficient space is available to store the new log entry. If space is available, SeaStore appends the log entry as a delta to the current transaction, which is subsequently written to the CBJ. After adding the log entry, once the node becomes full, SeaStore adds a delta that includes: (1) the log entry, (2) a marker indicating that the node has reached a full state. When the next log request arrives after the node is full, SeaStore creates a new node, inserts the log entry into it, and also adds another delta to the current transaction to record the pointer linking the new node to its predecessor.

Delta-overwrite. To further mitigate transaction conflicts and CoW overhead, SeaStore employs a delta-overwrite technique that reuses the allocated PBA and preserves the LBA tree structure without address-map replacement.

The first step for delta-overwrite is to use a preallocation mechanism. This is essential because preallocating extents establishes the necessary LBA–PBA mappings ahead of the write, which in turn prevents any creation or modification of these mappings during the write operation. To achieve this, SeaStore leverages an allocation hint that is included in the user’s write request (4MB by default). Given this hint, SeaStore allocates a physical region marked as reserved for an object. If a write occurs later, SeaStore does not modify the LBA tree to create a new region, as the mapping already exists. The next step is to append the overwritten portion of the object to the CBJ as a delta when handling a write operation in a later transaction targeting the same object. SeaStore separately tracks the mutated portions of the object in order. If the object data is cached, SeaStore updates the cache after the transaction commits, or before serving a read to the mutated object within the same transaction. As the last step, during the trim operation described in Section 4.2, SeaStore reads the deltas from the CBJ and applies them to the RBA, at which point the object data is overwritten at its original PBA location.

Another benefit of this approach is improved spatial locality: it enhances read performance by avoiding fragmentation, where parts of the data are scattered across different physical addresses even though they belong to the same object. Meanwhile, the trade-off of delta-overwrite is that it incurs extra I/O overhead (one read and one write). However, if SeaStore retains object data that resides in the CBJ in the cache, it can avoid reading data from disk. Additionally, SeaStore can concurrently write multiple delta entries from the CBJ to the RBA while merging multiple deltas into one write if possible. Overall, these benefits outweigh the extra I/O cost. This is further supported by the underutilized NVMe write bandwidth observed in Section 3.

5 Implementation notes

Reworked OSD software stack. The existing Ceph’s OSD software stack—excluding the storage backend but including components responsible for network processing, cluster management, and transaction submission—also needs to be completely reworked to align with SeaStore. To achieve this, a re-architected OSD stack, known as CRIMSON [19], is built atop SeaStore and has been contributed to the Ceph main branch. As a result, from the perspective of SeaStore, upon receiving a write request, the reworked OSD translates user requests received over the network into a transaction and submits it to SeaStore, while preserving isolation semantics. With Crimson, SeaStore briefly retains the core after I/O processing to allow additional I/O operations to arrive, avoiding the overhead of repeatedly relinquishing and reacquiring the core.

Read request handling. In SeaStore, similar to a write request, a read request to an object is treated as a transaction. Like the write transaction, the read transaction goes through prepare transaction stage to load relevant metadata (e.g., PBA). However, unlike the write transaction, SeaStore reads the target object’s data during this stage. The read transaction is canceled and re-enqueued when the concurrent write transaction modifies data or metadata that is shared with the read transaction, but only if the read transaction is still in the prepare transaction stage. Note that, to ensure data integrity, SeaStore divides object data into small data chunks (configurable parameter), each with its own checksum.

Figure 7:

4KiB random write performance comparison between Original and SeaStore with varying the number of FIO threads. MAX denotes the sustained performance of the NVMe SSD [50] under 8–16 KiB write transactions, not its raw 4KiB random write specification.

6 Evaluation

We mainly evaluate a single OSD instance to isolate backend-level bottlenecks from network and cluster-level factors. Since SeaStore is a storage backend, this setup directly exposes the effects of transaction processing, metadata management, and data layout. Experiments are conducted on a single server node equipped with AMD Threadripper 7960X processors and 128 GB of DRAM and a PS1030 NVMe SSD (1.5 TiB) [50]. The OSD daemon runs on a dedicated SSD. The latest version of Ceph (Tentacle) with the default configurations and Ubuntu 24.04 are used. Original represents the original OSD that uses BlueStore, whereas SeaStore denotes the reworked OSD with SeaStore. The results therefore reflect the performance of the integrated Crimson+SeaStore stack. Although the workload generators (e.g., FIO and YCSB) run on the same server node, both the original OSD and the reworked OSD communicate with the workload generators through Ceph’s general network stack. Thus, from a software-stack perspective, the experiments follow the same network path used for remote-node communication. FIO is used with RBD ioengine.

6.1 Small random write performance

To test 4KiB random write performance in comparison with BlueStore, we run FIO while varying the number of threads. A 200GiB pre-filled block device image (RADOS Block Device image) is used. In Figure 7, for the SeaStore cases, the number of logical cores used by SeaStore increases with the number of threads. For example, the two-thread case uses two cores. BlueStore’s thread configuration is the same as Figure 3.

Original shows the performance limitation even when sufficient CPU and storage resources are available. The primary reason for this is the scalability problem as explained in Section 3.1.1. On the other hand, the performance of SeaStore scales with the number of cores and threads. Under low to moderate workload (< 16 threads), Original achieves higher IOPS, while SeaStore achieves higher IOPS relative to CPU consumption. Specifically, Original consumes about 800% CPU to achieve 47.2K IOPS (5.9K IOPS per core) in the 1 thread case. In contrast, SeaStore achieves 13.5K IOPS with 100% CPU and 76K IOPS with 800% CPU in the 1 and 8 thread cases, reaching 13.5K and 9.5K IOPS per core, respectively, thanks to its pipelined processing and locality-aware design, where the micro-tasks run asynchronously with minimal lock contention. Moreover, unlike Original, SeaStore’s performance continues to improve as the number of FIO threads increases. In the 24 thread case, it reaches 174K IOPS with 2,400% CPU, scaling its performance nearly up to MAX due to the sharding strategy with per-core processing. However, this improvement is not perfectly linear. Although both data and control planes are sharded, the current network handler atop SeaStore needs to dispatch write requests to each shard according to PG mapping because the general network stack (e.g., TCP/IP) is unaware of PG. This misalignment causes write requests to arrive at cores that do not manage the corresponding PGs, requiring them to be forwarded to the owning cores, resulting in reduced CPU efficiency.

SeaStore’s latency is higher than Original in the low intensity workload (< 4 threads) and increases as the number of threads grows. This is because SeaStore does not completely eliminate transaction conflicts. While the LBA tree conflicts are minimized, ONode-level conflicts still remain because multiple writes may modify the same ONode. These conflicts cause occasional rollbacks, increasing latency.

In the p99 latency results, SeaStore shows higher p99 latency under low to moderate thread counts (<16 threads) due to additional device-side write overhead from its rewrite operations with the in-place strategy. However, Original’s tail latency increases sharply at high thread counts, whereas SeaStore scales more gracefully. This is because, as concurrency increases, BlueStore’s serialized execution structure, together with RocksDB, becomes the dominant bottleneck.

Figure 8:

Performance improvement analysis. Experiments use one logical core and FIO with one job and iodepth 32, as in Section 3.1.2 and Section 3.1.3.

Table 5:

 SHARDSPDELTALOG
TC02258262221
MA1001854816498
MF996844806488

Transaction conflicts (TC) per second, memory allocations (MA), and memory frees (MF) per IOPS measurements corresponding to Figure 8.

Figure 9:

4KiB random read performance comparison (each thread issues the read request with 32 iodepth).

6.2 Performance improvement analysis

Figure 8 shows the performance improvement achieved when each technique of SeaStore is applied. SHARD indicates that only the sharding technique is applied. SP means that the test is done with the staged pipelining. DELTA represents the case where the delta-overwrite mechanism is applied during the test. LOG corresponds to the linked log layout. The results are cumulative from left to right along the X-axis; for instance, SP includes both SHARD and SP.

In SHARD, without RocksDB, entire disk is partitioned into shards, each assigned to a core. This enables IOPS scaling as more cores are used. However, its performance decreases compared to Original because all operations are still processed through serialized transactions, leaving cores underutilized. In SP, the performance reaches 9.5K IOPS, which is over 2x higher than SHARD. By introducing the staged-pipelining technique, other transactions can proceed even when a previous ongoing one is blocked by I/O operations. As a result, each core is fully utilized without idle time. Although SP improves performance, it also introduces overheads such as transaction conflicts, as described in Section 3.1.3. The delta-overwrite technique, shown as DELTA in Figure 8, helps maintain consistent LBA-PBA mappings, leading to a reduction in transaction conflicts and CoW. While it cannot completely eliminate the transaction conflicts—those caused by the ONode and other trees still remain, the delta-overwrite provides about 20% improvement in IOPS over SP. LOG further improves performance by avoiding the use of B+Tree for storing log entries. Instead, it stores log entries in a linked-list structure, which requires only a tail node for appends, eliminating the need for costly lookups and retrievals from B+Tree. Consequently, overall, SeaStore achieves a total improvement of about 50% in IOPS, compared to Original.

Table 5 shows the reduction in transaction conflicts and the improvements in memory behavior as each technique is applied. Note that TC for SHARD is 0 because it processes transactions synchronously one at a time, meaning no concurrent transaction conflicts occur. SP exhibits a substantial number of transaction conflicts; however, DELTA reduces these conflicts by introducing the delta-overwrite mechanism, even though conflicts in the ONode tree still remain. Moreover, LOG significantly reduces memory-related overhead by using the linked-list structure instead of B+Tree.

6.3 Small random read performance

Figure 9 shows the evaluation results of 4KiB random read performance. To observe small random read performance without cache effects, we reduce the internal cache size of both BlueStore and SeaStore to nearly zero. This setting is not intended to represent a production configuration; rather, it exposes the underlying I/O processing paths that can be masked by cache hits. Similar to 4KiB random write test, the number of cores used by SeaStore increases with the number of threads. In the 1 thread case, Original achieves higher IOPS (62K IOPS) than SeaStore (32K IOPS). However, Original uses 290% CPU to reach 62K IOPS, whereas SeaStore requires only 100% CPU. The trend remains similar in the 2 thread case. SeaStore uses 200% CPU to achieve 50.4K IOPS, while Original requires 600% CPU to reach 118K IOPS. Although the Original delivers roughly 2× higher IOPS, its CPU utilization is about 3× higher than that of SeaStore. The 4 thread case is also similar. However, it is worth noting that the performance of Original saturates. In contrast, SeaStore continues to scale its performance. SeaStore achieves 270K IOPS even in the 16 thread case. Overall, SeaStore provides higher IOPS per core because its control and data planes are aligned with each core, minimizing context switching and maximizing locality. This result shows that the same hardware can accommodate more traffic when using SeaStore, reducing the need for additional nodes and thus lowering expansion costs.

In terms of latency, as shown in Figure 9, SeaStore shows higher latency than Original in the 1, 2, and 4 thread cases. Specifically, in the 1 thread, the latency gap is around 0.4 ms. This is because SeaStore intentionally allows a brief window (<0.4 ms) for additional I/O operations to proceed before relinquishing control of the core.

6.4 Performance robustness under worst-case scenario

To evaluate the worst-case performance of SeaStore, we run 4KiB random write workload while reducing the size of both the CBJ and the internal cache. Specifically, we reduce the internal cache size to 50MiB to eliminate cache effect. In addition, CBJ size is reduced to 300MiB, causing the rewrite behavior—rewriting records from CBJ to RBA—to occur frequently with little opportunity for record merging.

Figure 10-(A) shows the result of 4KiB random write test performed on a single logical core for 3000 seconds. The IOPS steadily decreases from the beginning until around 200 seconds, after which it stabilizes at 7.4K IOPS. Note that SeaStore achieves 13.5K IOPS under the same workload described in Section 6.1. Although this result is expected under such harsh conditions, several factors limit SeaStore’s efficiency. First, due to a lack of cache effects, a considerable amount of data—for example, the corresponding metadata (e.g., ONode)—needs to be retrieved before processing each write. This retrieval introduces additional overhead, as SeaStore performs checksum verification by default to ensure data integrity. As a result, SeaStore generates more than 60MB/s of read traffic during the test, as shown in Figure 10-(A). Second, there is a considerable amount of data to be rewritten due to changes to ONode, block allocator, and log node caused by a write transaction. If the CBJ is sufficiently large, SeaStore can merge multiple changes, functioning as a buffer. However, in the worst-case, the rewrite behavior occurs immediately due to the limited CBJ space. Moreover, because writes to the RBA are done based on block-size granularity, unaligned updates, such as partial ONode changes, generate substantial write traffic. This tendency is also observed in multi-core cases, as shown in Figure 10-(B).

Figure 10:

Worst-case performance.

Figure 11:

YCSB result (RMW: read-modify-write).

6.5 YCSB benchmark

We run YCSB [11] to evaluate SeaStore under real workloads with mixed I/O pattern. 50 million objects (recordcount is 50 million) are generated before running YCSB workloads, consuming about 950 GiB of disk space at maximum capacity. 32 threads are used as the parallelism parameter. The internal cache size—used for caching metadata and data—of both Original and SeaStore is set to 2GiB to limit cache effects. SeaStore uses 12 cores in total, whereas Original runs without CPU restrictions; it is allowed to use all available cores, consuming 1,250% CPU on average during all tests. We omit Workload E because RADOS does not support scan interface.

Workload A is a mixed workload, where the ratio between reads and writes is 50:50. As shown in Figure 11, SeaStore outperforms Original. Similar to other filesystems [8, 28, 51], the storage backend requires relevant metadata to access the object data or its attributes. Therefore, the metadata should be read before processing any read or write operation on the object. Generally, this step can be skipped if the metadata is cached. However, since a large number of small objects are generated, both SeaStore and BlueStore cannot effectively leverage caching, leading to substantial delay before reads and writes. Moreover, the generated objects are quite small (record size is 1KiB), and thus BlueStore stores them directly in RocksDB. Handling such small data as key-value pairs in RocksDB imposes significant overhead on read and write performance [35]. This also leads to an excessive number of SSTables across multiple levels, which not only degrades lookup performance but also amplifies compaction overhead. In contrast, SeaStore reduces this overhead by introducing the sharded architecture that performs trimming in parallel with minimal cost, eliminating the need for RocksDB.

Workload B is also a mixed workload (95% reads and 5% writes), and Workload C is a read-only workload. In these read-dominant workloads, SeaStore exhibits higher throughput and lower tail latency compared to Workload A. In contrast, Original shows only comparable or slightly better performance than in Workload A because its improvement is limited by lookup overhead. Since BlueStore stores metadata and small objects in RocksDB, read operations may need to traverse multiple LSM-tree levels and SSTables to locate the object data. In addition, BlueStore works as a single instance managing the entire disk, which increases lookup overhead within a global metadata structure. Meanwhile, SeaStore divides the disk into shards. This design reduces object lookup overhead because SeaStore narrows the search space by dispatching objects to specific shards based on their object ID and locating them using a prefix-compressed tree.

Workload D is 95% read and 5% insert workload, but the 95% of reads come from recently inserted records. Unlike Original, SeaStore achieves comparable IOPS to workload B and C. BlueStore, on the other hand, benefits from a more sophisticated caching strategy for both metadata and data—such as an optimized cache policy and a balanced ratio between data and metadata—which contribute to its performance improvement.

Workload F is a read-modify-write (RMW) workload (50% reads and 50% RMWs). The performance of SeaStore degrades because it handles a larger number of operations without caching; each RMW operation enforces a strict ordering dependency where a disk read must complete before the subsequent write, multiplying the latency. For the same reason, the tail latency of the RMW operations is 2 times higher than the Seastore-Read.

Table 6:

Workload/Block size512KiB1MiB2MiB4MiB
Sequential read(%)65748290
Sequential write(%)93989899

Sequential performance of SeaStore normalized to Original with replication enabled (1 job, 8 iodepth).

6.6 Sequential performance

We set the replication factor to 3 and run three OSDs on a server node to test sequential performance with replication via FIO. In this setup, OSDs communicate through the local network stack, following the same communication path used for remote-node communication despite running on the same server. Table 6 shows sequential read and write performance of SeaStore normalized to Original. The sequential read performance of SeaStore reaches 63–90% of Original. This gap is mainly due to the lack of read-ahead support in the current implementation of SeaStore. On the other hand, the sequential write performance of SeaStore is similar to Original. Overall, SeaStore and Original show similar performance for sequential workloads, where performance is primarily constrained by storage bandwidth rather than per-I/O CPU overhead.

7 Discussions

Performance implications of availability management. Although Section 6 does not fully include results with availability techniques, its write performance is expected to degrade as the number of replicas increases. This is because availability techniques, such as replication and erasure coding, are managed by the OSD layer above the storage backend, and a higher replication factor increases the number of write transactions issued to storage backends. Therefore, from the perspective of each storage backend, each replica write is treated as an additional regular write transaction.

Adaptability to diverse SSD characteristics.SeaStore’s design path targets CPU-efficient random I/O on high-endurance enterprise NVMe SSDs [45, 50], where sustained random writes are practical. For devices where random writes are less desirable, such as FDP-enabled [2] SSDs and general consumer SSDs, SeaStore provides a journal backend mode, where data is written in an append-only log-structured manner [43]. When this mode is enabled, SeaStore modifies only the on-disk data layout strategy to follow the journaling approach, while preserving the rest of the core architecture.

Synchronization between shards. Dynamic cluster rebalancing, such as PG splitting or merging, necessitates data redistribution across shards. When such events occur, the source shard migrates the corresponding data and state to the appropriate target shards, requiring synchronization. While this incurs overhead due to data movement, these operations are infrequent and incremental. Thus, their impact on the steady-state performance of the system is limited.

Preservation of OSD-level recovery correctness.SeaStore does not modify Ceph’s distributed consistency model. All replication, log replay, and failure recovery mechanisms remain intact because they run independently of the storage backend. SeaStore replaces only the local storage backend beneath the OSD layer and therefore does not alter RADOS semantics or the ordering guarantees relied upon by crash recovery. As a result, the correctness of the existing OSD recovery procedure remains unchanged.

Flexible Space Utilization. By allowing both metadata and data blocks to be allocated in the RBA without a fixed boundary, SeaStore can use the entire partition flexibly. This is useful because the number of objects and snapshots, and thus the metadata footprint, can vary across workloads.

Role of transactions. Although each SeaStore partition is managed by a single thread, transactions are still required to provide atomicity and crash consistency. Because SeaStore uses asynchronous execution, a transaction blocked on I/O can yield while other transactions make progress on the same shard; transactions can therefore be interleaved even within a partition.

Transaction boundaries. Each PG is assigned to a single shard, and its storage transaction is executed within that shard; object transactions therefore do not span SeaStore’s shards. Also, object, file, and block service daemons running above the OSD layer maintain objects by splitting data into a fixed granularity (e.g., < 4 MiB), so object data itself does not span multiple partitions. The only scenario in which cross-shard coordination is required is a PG-level split/merge operation; among the PGs involved in the split/merge, the parent or source PG handles the operation.

RocksDB partitioning. Using one RocksDB instance per core could reduce cross-core contention, but it cannot eliminate heavy background tasks, including compaction and potential tombstone-related problems. Moreover, multiple per-core RocksDB instances could perform such background work concurrently, requiring additional resource and flow control. SeaStore instead eliminates the dependency on RocksDB and directly manages its persistent structures according to their access characteristics.

8 Related Work

Although several studies have explored transactional storage backends [3, 6, 18, 22, 25, 27, 33, 36, 60], few demonstrate their architectures in real distributed storage systems or make their code publicly available. We discuss the studies most relevant to our work.

Asynchronous I/O architecture. DAOS [13, 32] also adopts an asynchronous, partitioned storage architecture below its service layer. However, DAOS’s original design focuses on a tiering structure using persistent memory (PMem) as an upper tier, which handles metadata and small I/Os. On the other hand, SeaStore does not rely on a separate persistent-memory tier; it uses entire disk space of NVMe storage to store metadata and data, achieving general applicability.

Key-value DB. To improve LSM-tree–based key-value stores such as RocksDB, prior studies have focused on key–value separation [35], tiered architectures [23, 24, 57, 61], and compaction optimization [14, 41, 46]. However, these approaches are not fully sharded and lack coordinated background operations aligned with the upper layer. In contrast, SeaStore introduces a horizontally unified software stack by removing the black-box component (RocksDB).

Journaling. To optimize journaling, various approaches have been proposed, such as per-core transaction processing [26], concurrent commit [37], and hybrid journaling [49]. SeaStore builds upon these techniques to persist transactions efficiently. Furthermore, to achieve additional performance improvement, SeaStore introduces a conflict-avoidance technique. Journal with an in-place layout has a clear precedent in conventional file systems [8]. However, SeaStore’s contribution is how this organization is integrated with per-core partitioning and deferred overwrite processing.

9 Conclusion

This paper presents SeaStore to achieve high random I/O performance for a general-purpose distributed storage system, Ceph. SeaStore proposes three techniques to overcome limitations of low performance and high CPU consumption found in a prior approach. We have implemented SeaStore to meet real-world requirements and have fully integrated it into the Ceph mainline. Our evaluation demonstrates that SeaStore achieves considerable performance improvement while maintaining compatibility with Ceph, showing its practical value as a next-generation storage backend.

Acknowledgments

We thank our shepherd, Ric Wheeler, and the anonymous reviewers for their constructive feedback. We also acknowledge the contributions of the other SeaStore authors, Samuel Just, Xuehan Xu, and Kefu Chai. This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (RS-2026-25471216). This work was also supported in part by NAVER.

References

[1]

Abutalib Aghayev, Sage Weil, Michael Kuchnik, Mark Nelson, Gregory R Ganger, and George Amvrosiadis. 2019. File systems unfit as distributed storage backends: lessons from 10 years of Ceph evolution. In Proceedings of the 27th ACM Symposium on Operating Systems Principles. 353–369.

[2]

Michael Allison, Arun George, Javier González, Dan Helmick, Vikash Kumar, Roshan R. Nair, and Vivek Shah. 2025. Towards Efficient Flash Caches with Emerging NVMe Flexible Data Placement SSDs. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys 2025, Rotterdam, The Netherlands, 30 March 2025 - 3 April 2025. ACM, 1142–1160.

[3]

Thomas E. Anderson, Marco Canini, Jongyul Kim, Dejan Kostic, Youngjin Kwon, Simon Peter, Waleed Reda, Henry N. Schuh, and Emmett Witchel. 2020. Assise: Performance and Availability via Client-local NVM in a Distributed File System. In 14th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2020, Virtual Event, November 4-6, 2020. USENIX Association, 1011–1027.

[5]

Adam Belay, George Prekas, Ana Klimovic, Samuel Grossman, Christos Kozyrakis, and Edouard Bugnion. 2014. { IX} : A Protected Dataplane Operating System for High Throughput and Low Latency. In 11th { USENIX} Symposium on Operating Systems Design and Implementation ({ OSDI} 14). 49–65.

[6]

Srivatsa S. Bhat, Rasha Eqbal, Austin T. Clements, M. Frans Kaashoek, and Nickolai Zeldovich. 2017. Scaling a file system to many cores using an operation log. In Proceedings of the 26th Symposium on Operating Systems Principles, Shanghai, China, October 28-31, 2017. ACM, 69–86.

[7]

Eric A Brewer. 2000. Towards robust distributed systems. In PODC, Vol. 7. Portland, OR, 343–477.

[8]

Mingming Cao, Suparna Bhattacharya, and Ted Ts’o. 2007. Ext4: The Next Generation of Ext2/3 Filesystem. In LSF.

[10]

Feng Chen, Tian Luo, and Xiaodong Zhang. 2011. CAFTL: A Content-Aware Flash Translation Layer Enhancing the Lifespan of Flash Memory based Solid State Drives. In USENIX Conference on File and Storage Technologies (FAST). 77–90.

[11]

Brian F Cooper, Adam Silberstein, Erwin Tam, Raghu Ramakrishnan, and Russell Sears. 2010. Benchmarking cloud serving systems with YCSB. In Proceedings of the 1st ACM symposium on Cloud computing. 143–154.

[14]

Niv Dayan, Tamar Weiss, Shmuel Dashevsky, Michael Pan, Edward Bortnikov, and Moshe Twitto. 2022. Spooky: Granulating LSM-Tree Compactions Correctly. Proc. VLDB Endow. 15, 11 (2022), 3071–3084.

[15]

Bailu Ding, Lucja Kot, and Johannes Gehrke. 2018. Improving Optimistic Concurrency Control Through Transaction Batching and Operation Reordering. Proc. VLDB Endow. 12, 2 (2018), 169–182.

[16]

Hyuck Han, Seongjae Park, Hyungsoo Jung, Alan D. Fekete, Uwe Röhm, and Heon Y. Yeom. 2014. Scalable serializable snapshot isolation for multicore systems. In IEEE 30th International Conference on Data Engineering, Chicago, ICDE 2014, IL, USA, March 31 - April 4, 2014. IEEE Computer Society, 700–711.

[17]

Guanhao Hou, Jinchao Huang, Fangyuan Zhang, and Sibo Wang. 2025. Efficient Concurrent Updates to Persistent Randomized Binary Search Trees. Proc. VLDB Endow. 18, 5 (2025), 1481–1494.

[18]

Yige Hu, Zhiting Zhu, Ian Neal, Youngjin Kwon, Tianyu Cheng, Vijay Chidambaram, and Emmett Witchel. 2019. TxFS: Leveraging File-system Crash Consistency to Provide ACID Transactions. ACM Trans. Storage 15, 2 (2019), 9:1–9:20.

[20]

Rohan Kadekodi, Se Kwon Lee, Sanidhya Kashyap, Taesoo Kim, Aasheesh Kolli, and Vijay Chidambaram. 2019. SplitFS: reducing software overhead in file systems for persistent memory. In Proceedings of the 27th ACM Symposium on Operating Systems Principles, SOSP 2019, Huntsville, ON, Canada, October 27-30, 2019. ACM, 494–508.

[21]

Olzhas Kaiyrakhmet, Songyi Lee, Beomseok Nam, Sam H Noh, and Young-ri Choi. 2019. SLM-DB: single-level key-value store with persistent memory. In 17th { USENIX} Conference on File and Storage Technologies ({ FAST} 19). 191–205.

[22]

Junbin Kang, Benlong Zhang, Tianyu Wo, Weiren Yu, Lian Du, Shuai Ma, and Jinpeng Huai. 2015. SpanFS: A scalable file system on fast storage devices. In 2015 { USENIX} Annual Technical Conference ({ USENIX}{ ATC} 15). 249–261.

[23]

Sudarsun Kannan, Nitish Bhat, Ada Gavrilovska, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. 2018. Redesigning LSMs for Nonvolatile Memory with NoveLSM. In Proceedings of the 2018 USENIX Annual Technical Conference, USENIX ATC 2018, Boston, MA, USA, July 11-13, 2018. USENIX Association, 993–1005.

[24]

Donguk Kim, Jongsung Lee, Keun Soo Lim, Jun Heo, Tae Jun Ham, and Jae W. Lee. 2024. An LSM Tree Augmented with B+ Tree on Nonvolatile Memory. ACM Trans. Storage 20, 1 (2024), 4:1–4:24.

[25]

Dohyun Kim, Kwangwon Min, Joontaek Oh, and Youjip Won. 2022. ScaleXFS: Getting scalability of XFS back on the ring. In 20th USENIX Conference on File and Storage Technologies, FAST 2022, Santa Clara, CA, USA, February 22-24, 2022. USENIX Association, 329–344.

[26]

Jongseok Kim, Cassiano Campes, Joo Young Hwang, Jinkyu Jeong, and Euiseong Seo. 2021. Z-Journal: Scalable Per-Core Journaling. In Proceedings of the 2021 USENIX Annual Technical Conference, USENIX ATC 2021, July 14-16, 2021. USENIX Association, 893–906.

[27]

Jongyul Kim, Insu Jang, Waleed Reda, Jaeseong Im, Marco Canini, Dejan Kostic, Youngjin Kwon, Simon Peter, and Emmett Witchel. 2021. LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism. In SOSP ’21: ACM SIGOPS 28th Symposium on Operating Systems Principles, Virtual Event / Koblenz, Germany, October 26-29, 2021. ACM, 756–771.

[28]

Changman Lee, Dongho Sim, Jooyoung Hwang, and Sangyeun Cho. 2015. F2FS: A new file system for flash storage. In 13th { USENIX} Conference on File and Storage Technologies ({ FAST} 15). 273–286.

[29]

Eunji Lee, Youil Han, Suli Yang, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. 2018. How to Teach an Old File System Dog New Object Store Tricks. In USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage).

[30]

Gyusun Lee, Seokha Shin, Wonsuk Song, Tae Jun Ham, Jae W Lee, and Jinkyu Jeong. 2019. Asynchronous I/O stack: a low-latency kernel I/O stack for ultra-low latency SSDs. In 2019 { USENIX} Annual Technical Conference ({ USENIX}{ ATC} 19). 603–616.

[31]

Endian Li, Shushu Yi, Li Peng, Qiao Li, Diyu Zhou, Zhenlin Wang, Xiaolin Wang, Bo Mao, Yingwei Luo, Ke Zhou, and Jie Zhang. 2025. SPDK+: Low Latency or High Power Efficiency? We Take Both. In Proceedings of the 17th ACM Workshop on Hot Topics in Storage and File Systems, HotStorage 2025, Boston, MA, USA, July 10-11, 2025. ACM, 17–23.

[32]

Zhen Liang, Johann Lombardi, Mohamad Chaarawi, and Michael Hennecke. 2020. DAOS: A Scale-Out High Performance Storage Stack for Storage Class Memory. In Supercomputing Frontiers - 6th Asian Conference, SCFA 2020, Singapore, February 24-27, 2020, Proceedings(Lecture Notes in Computer Science, Vol. 12082). Springer, 40–54.

[33]

Xiaojian Liao, Youyou Lu, Erci Xu, and Jiwu Shu. 2021. Max: A Multicore-Accelerated File System for Flash Storage. In Proceedings of the 2021 USENIX Annual Technical Conference, USENIX ATC 2021, July 14-16, 2021. USENIX Association, 877–891.

[34]

Hyeontaek Lim, Michael Kaminsky, and David G. Andersen. 2017. Cicada: Dependably Fast Multi-Core In-Memory Transactions. In Proceedings of the 2017 ACM International Conference on Management of Data, SIGMOD Conference 2017, Chicago, IL, USA, May 14-19, 2017. ACM, 21–35.

[35]

Lanyue Lu, Thanumalayan Sankaranarayana Pillai, Hariharan Gopalakrishnan, Andrea C Arpaci-Dusseau, and Remzi H Arpaci-Dusseau. 2017. Wisckey: Separating keys from values in ssd-conscious storage. ACM Transactions on Storage (TOS) 13, 1 (2017), 1–28.

[36]

Joontaek Oh, Sion Ji, Yongjin Kim, and Youjip Won. 2022. exF2FS: Transaction Support in Log-Structured Filesystem. In 20th USENIX Conference on File and Storage Technologies, FAST 2022, Santa Clara, CA, USA, February 22-24, 2022. USENIX Association, 345–362.

[37]

Joontaek Oh, Seung Won Yoo, Hojin Nam, Changwoo Min, and Youjip Won. 2023. CJFS: Concurrent Journaling for Better Scalability. In 21st USENIX Conference on File and Storage Technologies, FAST 2023, Santa Clara, CA, USA, February 21-23, 2023. USENIX Association, 167–182.

[38]

George Prekas, Marios Kogias, and Edouard Bugnion. 2017. ZygOS: Achieving Low Tail Latency for Microsecond-scale Networked Tasks. In Proceedings of the 26th Symposium on Operating Systems Principles, Shanghai, China, October 28-31, 2017. ACM, 325–341.

[39]

Shujian Qian and Ashvin Goel. 2024. Massively Parallel Multi-Versioned Transaction Processing. In 18th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2024, Santa Clara, CA, USA, July 10-12, 2024, Ada Gavrilovska and Douglas B. Terry (Eds.). USENIX Association, 765–781.

[40]

Yifan Qiao, Xubin Chen, Ning Zheng, Jiangpeng Li, Yang Liu, and Tong Zhang. 2022. Closing the B+-tree vs. LSM-tree Write Amplification Gap on Modern Storage Hardware with Built-in Transparent Compression. In 20th USENIX Conference on File and Storage Technologies, FAST 2022, Santa Clara, CA, USA, February 22-24, 2022. USENIX Association, 69–82.

[41]

Pandian Raju, Rohan Kadekodi, Vijay Chidambaram, and Ittai Abraham. 2017. PebblesDB: Building Key-Value Stores using Fragmented Log-Structured Merge Trees. In Proceedings of the 26th Symposium on Operating Systems Principles, Shanghai, China, October 28-31, 2017. ACM, 497–514.

[42]

RocksDB. [n. d.]. A persistent key-value store for fast storage environments. https://rocksdb.org/. Accessed 2023-06-09.

[43]

Mendel Rosenblum and John K Ousterhout. 1992. The design and implementation of a log-structured file system. ACM Transactions on Computer Systems (TOCS) 10, 1 (1992), 26–52.

[46]

Subhadeep Sarkar, Tarikul Islam Papon, Dimitris Staratzis, Zichen Zhu, and Manos Athanassoulis. 2023. Enabling Timely and Persistent Deletion in LSM-Engines. ACM Trans. Database Syst. 48, 3 (2023), 8:1–8:40.

[48]

Ji-Yong Shin, Mahesh Balakrishnan, Tudor Marian, and Hakim Weatherspoon. 2016. Isotope: Transactional Isolation for Block Storage. In 14th USENIX Conference on File and Storage Technologies, FAST 2016, Santa Clara, CA, USA, February 22-25, 2016. USENIX Association, 23–37.

[49]

Harshad Shirwadkar, Saurabh Kadekodi, and Theodore Y. Ts’o. 2024. FastCommit: resource-efficient, performant and cost-effective file system journaling. In Proceedings of the 2024 USENIX Annual Technical Conference, USENIX ATC 2024, Santa Clara, CA, USA, July 10-12, 2024. USENIX Association, 157–171.

[51]

Adam Sweeney, Doug Doucette, Wei Hu, Curtis Anderson, Mike Nishimoto, and Geoff Peck. 1996. Scalability in the XFS File System. In USENIX Annual Technical Conference, Vol. 15.

[52]

Douglas B Terry, Vijayan Prabhakaran, Ramakrishna Kotla, Mahesh Balakrishnan, Marcos K Aguilera, and Hussam Abu-Libdeh. 2013. Consistency-based service level agreements for cloud storage. In Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles. 309–324.

[54]

Boyu Tian, Jiamin Huang, Barzan Mozafari, and Grant Schoenebeck. 2018. Contention-Aware Lock Scheduling for Transactional Databases. Proc. VLDB Endow. 11, 5 (2018), 648–662.

[55]

Stephen Tu, Wenting Zheng, Eddie Kohler, Barbara Liskov, and Samuel Madden. 2013. Speedy transactions in multicore in-memory databases. In ACM SIGOPS 24th Symposium on Operating Systems Principles, SOSP ’13, Farmington, PA, USA, November 3-6, 2013. ACM, 18–32.

[56]

Paolo Viotti and Marko Vukolić. 2016. Consistency in non-transactional distributed storage systems. ACM Computing Surveys (CSUR) 49, 1 (2016), 1–34.

[57]

Ruihong Wang, Jianguo Wang, Prishita Kadam, M. Tamer Özsu, and Walid G. Aref. 2023. dLSM: An LSM-Based Index for Memory Disaggregation. In 39th IEEE International Conference on Data Engineering, ICDE 2023, Anaheim, CA, USA, April 3-7, 2023. IEEE, 2835–2849.

[58]

Sage A Weil, Scott A Brandt, Ethan L Miller, Darrell DE Long, and Carlos Maltzahn. 2006. Ceph: A scalable, high-performance distributed file system. In Symposium on Operating Systems Design and Implementation (OSDI). 307–320.

[59]

Sage A. Weil, Scott A. Brandt, Ethan L. Miller, and Carlos Maltzahn. 2006. CRUSH: Controlled, Scalable, Decentralized Placement of Replicated Data. In ACM/IEEE Conference on Supercomputing. 31–31.

[60]

Jian Yang, Joseph Izraelevitz, and Steven Swanson. 2019. Orion: A distributed file system for non-volatile main memory and RDMA-capable networks. In 17th { USENIX} Conference on File and Storage Technologies ({ FAST} 19). 221–234.

[61]

Ting Yao, Yiwen Zhang, Jiguang Wan, Qiu Cui, Liu Tang, Hong Jiang, Changsheng Xie, and Xubin He. 2020. MatrixKV: Reducing Write Stalls and Write Amplification in LSM-tree Based KV Stores with Matrix Container in NVM. In Proceedings of the 2020 USENIX Annual Technical Conference, USENIX ATC 2020, July 15-17, 2020. USENIX Association, 17–31.

[62]

Yang Zhan, Alexander Conway, Yizheng Jiao, Nirjhar Mukherjee, Ian Groombridge, Michael A. Bender, Martin Farach-Colton, William Jannen, Rob Johnson, Donald E. Porter, and Jun Yuan. 2020. How to Copy Files. In 18th USENIX Conference on File and Storage Technologies, FAST 2020, Santa Clara, CA, USA, February 24-27, 2020. USENIX Association, 75–89.

[63]

Jie Zhang, Miryeong Kwon, Donghyun Gouk, Sungjoon Koh, Changlim Lee, Mohammad Alian, Myoungjun Chun, Mahmut Taylan Kandemir, Nam Sung Kim, Jihong Kim, et al. 2018. FlashShare: Punching through server storage stack from kernel to firmware for ultra-low latency SSDs. In 13th { USENIX} Symposium on Operating Systems Design and Implementation ({ OSDI} 18). 477–492.

[64]

Zichen Zhu, Subhadeep Sarkar, and Manos Athanassoulis. 2023. Acheron: Persisting Tombstones in LSM Engines. In Companion of the 2023 International Conference on Management of Data, SIGMOD/PODS 2023, Seattle, WA, USA, June 18-23, 2023. ACM, 131–134.