BlueStore
BlueStore is a Ceph object-storage backend that manages raw block devices and stores object metadata in RocksDB.
The SOSP 2019 design persists newly allocated payload before recording its metadata. Smaller deferred writes instead enter RocksDB before later placement. Avoiding journal double-writes on the first path does not make every write journal-free. [1]
In Squid, block holds primary data; optional block.db stores metadata, with spillover to block if needed. Without a separate block.wal, the WAL shares block.db when that device is supplied. A metadata device is not a second payload replica. [2]
The minimum allocation size is fixed when an OSD is created. Upgrading Ceph or changing the configuration does not resize that existing allocation unit. Squid documents 4 KiB defaults for HDD and SSD, but older or deliberately customized OSDs can differ. Inspect the OSD's recorded value rather than inferring it from the installed release. [2]
For three replicas of one separately allocated, uncompressed 1 KiB object, a 4 KiB minimum requires at least 3 x 4 = 12 KiB of payload allocation; a 64 KiB minimum requires 192 KiB. Metadata is extra. This is allocation arithmetic, not a write-amplification measurement or an erasure-coded layout model. [2]
Relations
- related
- BlueFS, RocksDB, Object storage, Copy-on-write (storage), Database write amplification, Space amplification
Citations
- Aghayev et al. File Systems Unfit as Distributed Storage Backends: Lessons from 10 Years of Ceph Evolution. SOSP 2019, sections 4 and 6-7.
- Ceph Squid documentation: BlueStore devices and minimum allocation size.
Sources & caveats
- The SOSP 2019 evaluation used a 16-node cluster and Ceph Luminous v12.2.11; its performance comparisons are not current-release guarantees. DOI: 10.1145/3341301.3359656. [1]
- Operational statements are scoped to the Squid documentation accessed on 2026-12-02. No cluster benchmark or failure-injection experiment was performed.