Hello!
I have setup (and configured) Ceph on a 3-node-cluster.
All nodes have
- 48 HDDs
- 4 SSDs
For best performance I defined any HDD as data and SSD as log.
This means I created 12 partitions on each SSD and created an OSD like this on node A:
pveceph createosd /dev/sda -journal_dev /dev/sde1
pveceph createosd /dev/sdb -journal_dev /dev/sde2
pveceph createosd /dev/sdc -journal_dev /dev/sde3
pveceph createosd /dev/sdd -journal_dev /dev/sde4
where sde is a SSD.
On node B I created the OSDs slightly different:
pveceph createosd /dev/sda -journal_dev /dev/sde1
pveceph createosd /dev/sdb -journal_dev /dev/sdf1
pveceph createosd /dev/sdc -journal_dev /dev/sdg1
pveceph createosd /dev/sdd -journal_dev /dev/sdh1
Question:
How can I benchmark (I intend to run fio) the different OSDs?
I thought I would create 2 different pools and assign the relevant OSDs to it.
However I don't know how this will work.
And finally I don't know how to run the fio benchmark against the storage.
Any advice is appreciated.
I have setup (and configured) Ceph on a 3-node-cluster.
All nodes have
- 48 HDDs
- 4 SSDs
For best performance I defined any HDD as data and SSD as log.
This means I created 12 partitions on each SSD and created an OSD like this on node A:
pveceph createosd /dev/sda -journal_dev /dev/sde1
pveceph createosd /dev/sdb -journal_dev /dev/sde2
pveceph createosd /dev/sdc -journal_dev /dev/sde3
pveceph createosd /dev/sdd -journal_dev /dev/sde4
where sde is a SSD.
On node B I created the OSDs slightly different:
pveceph createosd /dev/sda -journal_dev /dev/sde1
pveceph createosd /dev/sdb -journal_dev /dev/sdf1
pveceph createosd /dev/sdc -journal_dev /dev/sdg1
pveceph createosd /dev/sdd -journal_dev /dev/sdh1
Question:
How can I benchmark (I intend to run fio) the different OSDs?
I thought I would create 2 different pools and assign the relevant OSDs to it.
However I don't know how this will work.
And finally I don't know how to run the fio benchmark against the storage.
Any advice is appreciated.