I have 3 ceph storage nodes with only 3 ssd's each for storage. They are only on sata II links, so they max out at about 141MB/s. I am fine with that, but I have 1 osd on each node that has absolutely awful performance and i have no idea why. Seems to be osd.0, osd.3, osd.4 that are just awful. Each OSD does have a 5GB partition as you can see in the fdisk output. Any suggestions are appreciated.
Here is a bit of info about the setup:
Here is a bit of info about the setup:
Code:
root@stor1:~# ceph osd perf
osd fs_commit_latency(ms) fs_apply_latency(ms)
0 28 29
1 5 6
2 6 7
3 82 83
4 72 73
5 34 35
6 9 9
7 1 2
8 5 6
root@stor1:~# ceph tell osd.* bench -f plain
osd.0: bench: wrote 1024 MB in blocks of 4096 kB in 105.317900 sec at 9956 kB/sec
osd.1: bench: wrote 1024 MB in blocks of 4096 kB in 8.698469 sec at 117 MB/sec
osd.2: bench: wrote 1024 MB in blocks of 4096 kB in 7.977820 sec at 128 MB/sec
osd.3: bench: wrote 1024 MB in blocks of 4096 kB in 139.787650 sec at 7501 kB/sec
osd.4: bench: wrote 1024 MB in blocks of 4096 kB in 69.808043 sec at 15020 kB/sec
osd.5: bench: wrote 1024 MB in blocks of 4096 kB in 8.102800 sec at 126 MB/sec
osd.6: bench: wrote 1024 MB in blocks of 4096 kB in 7.765746 sec at 131 MB/sec
osd.7: bench: wrote 1024 MB in blocks of 4096 kB in 6.968641 sec at 146 MB/sec
osd.8: bench: wrote 1024 MB in blocks of 4096 kB in 6.914912 sec at 148 MB/sec
root@stor1:~# fdisk -l /dev/sda
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5970E0FA-79F4-4A71-A9BC-62884B711CB4
Device Start End Sectors Size Type
/dev/sda1 10487808 1000215182 989727375 472G unknown
/dev/sda2 2048 10485760 10483713 5G unknown
Partition table entries are not in disk order.
root@stor1:~#
root@stor1:~# ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 4.15991 root default
-2 1.37997 host stor1
0 0.45999 osd.0 up 1.00000 1.00000
1 0.45999 osd.1 up 1.00000 1.00000
6 0.45999 osd.6 up 1.00000 1.00000
-3 1.38997 host stor2
2 0.45999 osd.2 up 1.00000 1.00000
3 0.45999 osd.3 up 1.00000 1.00000
7 0.46999 osd.7 up 1.00000 1.00000
-4 1.38997 host stor3
4 0.45999 osd.4 up 1.00000 1.00000
5 0.45999 osd.5 up 1.00000 1.00000
8 0.46999 osd.8 up 1.00000 1.00000
root@stor1:~#