Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparison
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Mark, very very good!
2015-02-17 20:37 GMT+03:00 Mark Nelson <[email protected]>:
Quoted 18 lines
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Signature · 2 lines
С уважением, Фасихов Ирек Нургаязович Моб.: +79229045757
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
I was wondering what the 'CBT' tool is ? Google is useless for that acronym...
Thanks!
Steve
Quoted 16 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Signature · 7 lines
The information in this message may be confidential. It is intended solely for the addressee(s). If you are not the intended recipient, any disclosure, copying or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error.
https://github.com/ceph/ceph-tools/tree/master/cbt
Quoted 38 lines · Stephen Hindle
I was wondering what the 'CBT' tool is ? Google is useless for that acronym...
Thanks!
SteveQuoted 3 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look
at
Quoted 1 line
how SSD backed OSD performance has changed across our LTS releases. This
is
Quoted 1 line
just looking at RADOS performance and not RBD or RGW. It also doesn't
offer
Quoted 1 line
any real explanations regarding the results. It's just a first high
level
Quoted 2 lines
step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it
useful.
Quoted 8 lines
Mark
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com--
The information in this message may be confidential. It is intended solely for
the addressee(s). If you are not the intended recipient, any disclosure, copying or distribution of the message, or any action or omission taken by you
in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error.
Quoted 5 lines
--
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
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Thanks Mark , for a superb explanation . This is indeed very useful.
****************************************************************
Karan Singh
Systems Specialist , Storage Platforms
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/
****************************************************************
Quoted 17 lines · Stephen Hindle
I was wondering what the 'CBT' tool is ? Google is useless for that acronym...
Thanks!
SteveQuoted 9 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Quoted 21 lines
Quoted 7 lines
Mark
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.comSignature · 12 lines
The information in this message may be confidential. It is intended solely for the addressee(s). If you are not the intended recipient, any disclosure, copying or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Hi Stephen,
It's a benchmark automation tool we wrote that builds a ceph cluster and then runs benchmarks against it. It's still pretty rough (no real error checking, no documentation, etc). We have some partners that are interested in using it too and I'd like to make it useful for the community so we're going to try to make it a bit more accessible.
cbt is here:
https://github.com/ceph/ceph-tools/tree/master/cbt
We've also been using it to prototype nightly performance testing of firefly and master for the last month or two on some of our lab nodes. The cron job and test suites are here:
https://github.com/ceph/ceph-tools/tree/master/regression
Mark
Quoted 23 lines · Stephen Hindle
I was wondering what the 'CBT' tool is ? Google is useless for that acronym...
Thanks!
SteveQuoted 16 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Awesome! Thanks Much!
Quoted 55 lines · Mark Nelson
Hi Stephen,
It's a benchmark automation tool we wrote that builds a ceph cluster and then runs benchmarks against it. It's still pretty rough (no real error checking, no documentation, etc). We have some partners that are interested in using it too and I'd like to make it useful for the community so we're going to try to make it a bit more accessible.
cbt is here:
https://github.com/ceph/ceph-tools/tree/master/cbt
We've also been using it to prototype nightly performance testing of firefly and master for the last month or two on some of our lab nodes. The cron job and test suites are here:
https://github.com/ceph/ceph-tools/tree/master/regression
Mark
Quoted 31 lines · Stephen Hindle
I was wondering what the 'CBT' tool is ? Google is useless for that acronym...
Thanks!
SteveQuoted 22 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at
how SSD backed OSD performance has changed across our LTS releases. This is
just looking at RADOS performance and not RBD or RGW. It also doesn't offer
any real explanations regarding the results. It's just a first high level
step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Signature · 7 lines
The information in this message may be confidential. It is intended solely for the addressee(s). If you are not the intended recipient, any disclosure, copying or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error.
Nice Work Mark !
I don't see any tuning about sharding in the config file sample
(osd_op_num_threads_per_shard,osd_op_num_shards,...)
as you only use 1 ssd for the bench, I think it should improve results for hammer ?
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "ceph-devel" <[email protected]>
Cc: "ceph-users" <[email protected]>
Envoyé: Mardi 17 Février 2015 18:37:01
Objet: [ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparison
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
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 Alex,
Thanks! I didn't tweak the sharding settings at all, so they are just at the default values:
OPTION(osd_op_num_threads_per_shard, OPT_INT, 2)OPTION(osd_op_num_shards, OPT_INT, 5)
I don't have really good insight yet into how tweaking these would affect single-osd performance. I know the PCIe SSDs do have multiple controllers on-board so perhaps increasing the number of shards would improve things, but I suspect that going too high could maybe start hurting performance as well. Have you done any testing here? It could be an interesting follow-up paper.
Mark
Quoted 29 lines · Alexandre DERUMIER
Nice Work Mark !
I don't see any tuning about sharding in the config file sample
(osd_op_num_threads_per_shard,osd_op_num_shards,...)
as you only use 1 ssd for the bench, I think it should improve results for hammer ?
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "ceph-devel" <[email protected]>
Cc: "ceph-users" <[email protected]>
Envoyé: Mardi 17 Février 2015 18:37:01
Objet: [ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparisonHi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Mark
Quoted 9 lines
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
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
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Mark, many thanks for your effort and ceph performance tests. This puts things in perspective.
Looking at the results, I was a bit concerned that the IOPs performance in niether releases come even marginally close to the capabilities of the underlying ssd device. Even the fastest PCI ssds have only managed to achieve about the 1/6th IOPs of the raw device.
I guess there is a great deal more optimisations to be done in the upcoming LTS releases to make the IOPs rate close to the raw device performance.
I have done some testing in the past and noticed that despite the server having a lot of unused resources (about 40-50% server idle and about 60-70% ssd idle) the ceph would not perform well when used with ssds. I was testing with Firefly + auth and my IOPs rate was around the 3K mark. Something is holding ceph back from performing well with ssds (((
Andrei
----- Original Message -----
Quoted 21 lines
From: "Mark Nelson" <[email protected]>
To: "ceph-devel" <[email protected]>
Cc: [email protected]
Sent: Tuesday, 17 February, 2015 5:37:01 PM
Subject: [ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparisonHi All,
I wrote up a short document describing some tests I ran recently to look
at how SSD backed OSD performance has changed across our LTS releases.
This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a
first high level step toward understanding some of the behaviors folks
on the mailing list have reported over the last couple of releases. I hope you find it useful.
Quoted 6 lines
Mark
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Hi Andrei,
Quoted 8 lines · Andrei Mikhailovsky
Mark, many thanks for your effort and ceph performance tests. This puts things in perspective.
Looking at the results, I was a bit concerned that the IOPs performance in niether releases come even marginally close to the capabilities of the underlying ssd device. Even the fastest PCI ssds have only managed to achieve about the 1/6th IOPs of the raw device.
Perspective is definitely good! Any time you are dealing with latency sensitive workloads, there are a lot of bottlenecks that can limit your performance. There's a world of difference between streaming data to a raw SSD as fast as possible and writing data out to a distributed storage system that is calculating data placement, invoking the TCP stack, doing CRC checks, journaling writes, invoking the VM layer to cache data in case it's hot (which in this case it's not).
Quoted 4 lines
I guess there is a great deal more optimisations to be done in the upcoming LTS releases to make the IOPs rate close to the raw device performance.
There is definitely still room for improvement! It's important to remember though that there is always going to be a trade off between flexibility, data integrity, and performance. If low latency is your number one need before anything else, you are probably best off eliminating as much software as possible between you and the device (except possibly if you can make clever use of caching). While Ceph itself is some times the bottleneck, in many cases we've found that bottlenecks in the software that surrounds Ceph are just as big obstacles (filesystem, VM layer, TCP stack, leveldb, etc). If you need a distributed storage system that can universally maintain native SSD levels of performance, the entire stack has to be highly tuned.
Quoted 6 lines
I have done some testing in the past and noticed that despite the server having a lot of unused resources (about 40-50% server idle and about 60-70% ssd idle) the ceph would not perform well when used with ssds. I was testing with Firefly + auth and my IOPs rate was around the 3K mark. Something is holding ceph back from performing well with ssds (((
Out of curiosity, did you try the same tests directly on the SSD?
Quoted 31 lines
Andrei
------------------------------------------------------------------------
*From: *"Mark Nelson" <[email protected]>
*To: *"ceph-devel" <[email protected]>
*Cc: *[email protected]
*Sent: *Tuesday, 17 February, 2015 5:37:01 PM *Subject: *[ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore
performance comparisonHi All,
I wrote up a short document describing some tests I ran recently to look
at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Quoted 6 lines
Quoted 6 lines
I don't have really good insight yet into how tweaking these would affect single-osd performance. I know the PCIe SSDs do have multiple controllers on-board so perhaps increasing the number of shards would improve things, but I suspect that going too high could maybe start hurting performance as well. Have you done any testing here? It could be an interesting follow-up paper.
I think it should be tunned regarding number of osds and number of cores you have. I have done test in past with sommath values
osd_op_num_threads_per_shard = 1osd_op_num_shards = 25filestore_fd_cache_size = 64filestore_fd_cache_shards = 32
But don't have take time to try differents values.
But I was to be able to reach 120000iops 4k read with 3osd if I remember. (But I was limited by client cpu)
I'm going to do big benchmark next month (3 nodes (20cores) with 6ssd each), So I'll try to test different sharding values, with different number of osd.
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "aderumier" <[email protected]>
Cc: "ceph-devel" <[email protected]>, "ceph-users" <[email protected]> Envoyé: Mercredi 18 Février 2015 15:56:44
Objet: Re: [ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparison
Hi Alex,
Thanks! I didn't tweak the sharding settings at all, so they are just at the default values:
OPTION(osd_op_num_threads_per_shard, OPT_INT, 2)OPTION(osd_op_num_shards, OPT_INT, 5)
I don't have really good insight yet into how tweaking these would affect single-osd performance. I know the PCIe SSDs do have multiple controllers on-board so perhaps increasing the number of shards would improve things, but I suspect that going too high could maybe start hurting performance as well. Have you done any testing here? It could be an interesting follow-up paper.
Mark
Quoted 27 lines · Alexandre DERUMIER
Nice Work Mark !
I don't see any tuning about sharding in the config file sample
(osd_op_num_threads_per_shard,osd_op_num_shards,...)
as you only use 1 ssd for the bench, I think it should improve results for hammer ?
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "ceph-devel" <[email protected]>
Cc: "ceph-users" <[email protected]>
Envoyé: Mardi 17 Février 2015 18:37:01
Objet: [ceph-users] Ceph Dumpling/Firefly/Hammer SSD/Memstore performance comparisonHi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Quoted 11 lines
Mark
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.comSignature · 3 lines
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
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Quoted 8 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Do you have any work scheduled to examine the synchronous IO latency changes across versions? I suspect those are involved with the loss of performance some users have reported, and I've not heard any believable theories as to the cause. Since this is the first set of results pointing that way on hardware available for detailed tests I hope we can dig into it. And those per-op latencies are the next thing we'll need to cut down on, since they correspond pretty directly with CPU costs that we want to scale down! :)
-Greg
I don't have detail perf number for sync io latency now.
But a few days ago I did single OSD single io depth benchmark. In short, Firefly > Dumpling > Hammer per op latency.
It's great to see Mark's benchmark result! As for pcie ssd, I think ceph can't make full use of it currently for one OSD. We may need to mainly focus on sata-ssd improvments.
Quoted 23 lines · Gregory Farnum
Quoted 8 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Do you have any work scheduled to examine the synchronous IO latency changes across versions? I suspect those are involved with the loss of performance some users have reported, and I've not heard any believable theories as to the cause. Since this is the first set of results pointing that way on hardware available for detailed tests I hope we can dig into it. And those per-op latencies are the next thing we'll need to cut down on, since they correspond pretty directly with CPU costs that we want to scale down! :)
-Greg
--
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 · 3 lines
Best Regards, Wheat
Quoted 10 lines · Gregory Farnum
Quoted 8 lines · Mark Nelson
Hi All,
I wrote up a short document describing some tests I ran recently to look at how SSD backed OSD performance has changed across our LTS releases. This is just looking at RADOS performance and not RBD or RGW. It also doesn't offer any real explanations regarding the results. It's just a first high level step toward understanding some of the behaviors folks on the mailing list have reported over the last couple of releases. I hope you find it useful.
Quoted 8 lines
Do you have any work scheduled to examine the synchronous IO latency changes across versions? I suspect those are involved with the loss of performance some users have reported, and I've not heard any believable theories as to the cause. Since this is the first set of results pointing that way on hardware available for detailed tests I hope we can dig into it. And those per-op latencies are the next thing we'll need to cut down on, since they correspond pretty directly with CPU costs that we want to scale down! :)
I kind of suspect that some of the user issues might be RBD on the client side (or even QEMU). Certainly possible it's OSD too though. With so many different kinds of hardware and so many ways to tune things it can be tough to narrow down. I'm really looking forward to the work that's being done on LTTNG tracing. That will give us much easier insight into these kinds of things than we've had in the past.
Quoted 2 lines
-Greg