Higher OSD disk util due to RBD snapshots from Dumpling to Firefly
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
Signature · 6 lines
Wido den Hollander 42on B.V. Ceph trainer and consultant Phone: +31 (0)20 700 9902 Skype: contact42on
hi,
Am 31.12.2014 um 17:21 schrieb Wido den Hollander:
Quoted 17 lines
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
Quoted 6 lines
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
I saw the same and addionally a slowdown in librbd too, that's why i'm still on dumpling and won't upgrade until hammer.
Stefan
Odd, sounds like it might be rbd client side?
-Sam
Quoted 39 lines · Stefan Priebe
hi,
Am 31.12.2014 um 17:21 schrieb Wido den Hollander:
Quoted 19 lines
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
Quoted 6 lines
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
I saw the same and addionally a slowdown in librbd too, that's why i'm still on dumpling and won't upgrade until hammer.
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 02.01.2015 um 17:49 schrieb Samuel Just:
Quoted 2 lines
Odd, sounds like it might be rbd client side?
-Sam
That one was already on list:
https://www.mail-archive.com/[email protected]/msg19091.html
Sadly there was no result as it was unseen for 2 weeks and i didn't had the test equipment anymore.
Greets,
Stefan
Quoted 40 lines · Stefan Priebe
Quoted 39 lines
hi,
Am 31.12.2014 um 17:21 schrieb Wido den Hollander:
Quoted 19 lines
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
Quoted 6 lines
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
I saw the same and addionally a slowdown in librbd too, that's why i'm still on dumpling and won't upgrade until hammer.
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
That may not be related.
-Sam
Quoted 61 lines · Stefan Priebe
Am 02.01.2015 um 17:49 schrieb Samuel Just:
Quoted 3 lines
Odd, sounds like it might be rbd client side?
-SamThat one was already on list:
https://www.mail-archive.com/[email protected]/msg19091.htmlSadly there was no result as it was unseen for 2 weeks and i didn't had the test equipment anymore.
Greets,
StefanQuoted 45 lines
Quoted 43 lines · Stefan Priebe
hi,
Am 31.12.2014 um 17:21 schrieb Wido den Hollander:
Quoted 20 lines
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
Quoted 6 lines
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
I saw the same and addionally a slowdown in librbd too, that's why i'm still
on dumpling and won't upgrade until hammer.Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Wido,
I've been trying to reproduce this but haven't been able yet.
What I've tried so far is use fio rbd with a 0.80.7 client connected to a 0.80.7 cluster. I created a 10GB format 2 block device, then measured the 4k randwrite iops before and after having snaps. I measured around 2000 iops to the image before any snapshots, then created 200 snapshots on the device and ran fio again. Initially the iops were low (I guess this is from the 4MB CoW resulting from the first 4k write to each underlying object). But eventually the speed stabilized to around 2000 iops again. Actually the initial slowdown was the same whether I created 1 snapshot or 200.
This was just quick subjective test so far, since from your report I was expecting something obvious to stick out. But it appears pretty OK, no? Would you have expected something different from these tests?
Cheers, Dan
Quoted 35 lines · Wido den Hollander
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
--
Wido den Hollander
42on B.V.
Ceph trainer and consultantPhone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 13 lines · Dan van der Ster
Hi Wido,
I've been trying to reproduce this but haven't been able yet.What I've tried so far is use fio rbd with a 0.80.7 client connected to a 0.80.7 cluster. I created a 10GB format 2 block device, then measured the 4k randwrite iops before and after having snaps. I measured around 2000 iops to the image before any snapshots, then created 200 snapshots on the device and ran fio again. Initially the iops were low (I guess this is from the 4MB CoW resulting from the first 4k write to each underlying object). But eventually the speed stabilized to around 2000 iops again. Actually the initial slowdown was the same whether I created 1 snapshot or 200.
Quoted 4 lines
This was just quick subjective test so far, since from your report I was expecting something obvious to stick out. But it appears pretty OK, no? Would you have expected something different from these tests?
Well, I'm not sure what to expect. But what I noticed is that when I removed all the snapshots the slow requests were gone and the disk util dropped on the OSDs.
Wido
Quoted 39 lines
Cheers, Dan
Quoted 35 lines · Wido den Hollander
Hi,
Last week I upgraded a 250 OSD cluster from Dumpling 0.67.10 to Firefly 0.80.7 and after the upgrade there was a severe performance drop on the cluster.
It started raining slow requests after the upgrade and most of them included a 'snapc' in the request.
That lead me to investigate the RBD snapshots and I found that a rogue process had created ~1800 snapshots spread out over 200 volumes.
One image even had 181 snapshots!
As the snapshots weren't used I removed them all and after the snapshots were removed the performance of the cluster came back to normal level again.
I'm wondering what changed between Dumpling and Firefly which caused this? I saw OSDs spiking to 100% disk util constantly under Firefly where this didn't happen with Dumpling.
Did something change in the way OSDs handle RBD snapshots which causes them to create more disk I/O?
--
Wido den Hollander
42on B.V.
Ceph trainer and consultantPhone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 6 lines
Wido den Hollander 42on B.V. Ceph trainer and consultant Phone: +31 (0)20 700 9902 Skype: contact42on