Skip to contentSkip to conversation

CephFS and single threaded RBD read performance

DISCUSSION Ilja Slepnev 2 participants 2 messages Dec 4, 2015 – Dec 5, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I see CephFS read performance a bit lower than RBD sequential read single threaded performance.
Is it an expected behaviour?
Is file access with CephFS single threaded by design?

fio shows 70 MB/s seq read with 4M blocks, libaio, 1 thread, direct. fio seq write 200 MB/s

# rados bench -t 1 -p test 60 write --no-cleanup
...
Bandwidth (MB/sec):     164.247
Stddev Bandwidth:       28.9474
Average Latency:        0.0243512
Stddev Latency:         0.0144412

# <drop_caches on OSD nodes>

# rados bench -t 1 -p test 60 seq
...
Bandwidth (MB/sec):    88.174
Average Latency:       0.0453621

On the other hand, 'rados bench -t 128 60 seq' shows about 1700 MB/s.

Is there anything to be tuned?

Hardware is 3 nodes x 24 HDDs with journals on SSDs, 2x10GbE Triple replication.
cephfs clients: kernel and ceph-fuse on Fedora 23

#1 lore raw

Hi Ilja,

Quoted 2 lines · Ilja Slepnev

fio shows 70 MB/s seq read with 4M blocks, libaio, 1 thread, direct. fio seq write 200 MB/s

The fio numbers are from fio running on a CephFS mount I take it?

Quoted 1 line
# rados bench -t 1 -p test 60 write --no-cleanup

I don't see an rbd test anywhere here...?

I suggest comparing fio on CephFS with fio on rbd (as in using fio's rbd ioengine), then at least the application side of your tests is constant.

Cheers,
~Blairo