by one_buggy_boi · 2y ago · 0 comments
You need to pay attention to the kind of hardware you use, but you can definitely get Ceph down to 0.5-0.6 ms latency on block workloads doing single thread, single queue, sync 4K writes.
Source, I run Ceph at work doing pretty much this.
50th percentile = 1.75 ms
90th percentile = 3.15 ms
99th percentile = 9.54 ms
That's with 700 MB/s of reads and 200 MB/s of writes, or approximately 7000 reads IOPS and 9000 writes IOPS.I’d like to see much more latency consistency and 99th even sub ms. Might want to set a latency target with fio and see what kind of load is possible until 99 hits 1ms.
However, I can say all of this but it’s all about context and depending on workload your figures may be totally fine.
Everything has a trade-off and for Ceph you get a ton of capability but latency is such a trade-off. Databases - depending on requirements - may be better off on regular NVMe and not on Ceph.
[Disclaimer: ex-Inktank employee]
If the latter is too slow for your typical usage...
But not all things.