Skip to contentSkip to conversation

Why is librbd1 / librados2 from Firefly 20% slower than the one from dumpling?

DISCUSSION Stefan Priebe 6 participants 13 messages Jun 13, 2014 – Jul 2, 2014 8 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

while testint firefly i cam into the sitation where i had a client where the latest dumpling packages where installed (0.67.9).

As my pool has hashppool false and the tunables are set to default it can talk to my firefly ceph sotrage.

For random 4k writes using fio with librbd and 32 jobs and an iodepth of 32.

I get these results:

librbd / librados2 from dumpling:
write: io=3020.9MB, bw=103083KB/s, iops=25770, runt= 30008msec
WRITE: io=3020.9MB, aggrb=103082KB/s, minb=103082KB/s,
maxb=103082KB/s, mint=30008msec, maxt=30008msec

librbd / librados2 from firefly:
write: io=7344.3MB, bw=83537KB/s, iops=20884, runt= 90026msec
WRITE: io=7344.3MB, aggrb=83537KB/s, minb=83537KB/s, maxb=83537KB/s,
mint=90026msec, maxt=90026msec

Stefan

A message that is not in the archive (sent off-list or not yet received): 539B11C4.1010400-2Lf/[email protected]

#2 lore raw

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests? -Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 27 lines · Stefan Priebe

Hi,

while testint firefly i cam into the sitation where i had a client where the latest dumpling packages where installed (0.67.9).

As my pool has hashppool false and the tunables are set to default it can talk to my firefly ceph sotrage.

For random 4k writes using fio with librbd and 32 jobs and an iodepth of 32.

I get these results:

librbd / librados2 from dumpling:
write: io=3020.9MB, bw=103083KB/s, iops=25770, runt= 30008msec
WRITE: io=3020.9MB, aggrb=103082KB/s, minb=103082KB/s, maxb=103082KB/s,
mint=30008msec, maxt=30008msec

librbd / librados2 from firefly:
write: io=7344.3MB, bw=83537KB/s, iops=20884, runt= 90026msec
WRITE: io=7344.3MB, aggrb=83537KB/s, minb=83537KB/s, maxb=83537KB/s,
mint=90026msec, maxt=90026msec

Stefan
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#3 lore raw
Quoted 5 lines · On Wed, 25 Jun 2014 17:17:02 -0700 Gregory Farnum wrote:

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

This sounds a lot like what I saw when going from Emperor to Firefly, see my post from a month ago:
https://www.mail-archive.com/[email protected]/msg10095.html

Though the decrease in IOPS is even higher.

Regards,

Christian

Quoted 39 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 23 lines · Stefan Priebe

Hi,

while testint firefly i cam into the sitation where i had a client where the latest dumpling packages where installed (0.67.9).

As my pool has hashppool false and the tunables are set to default it can talk to my firefly ceph sotrage.

For random 4k writes using fio with librbd and 32 jobs and an iodepth of 32.

I get these results:

librbd / librados2 from dumpling:
write: io=3020.9MB, bw=103083KB/s, iops=25770, runt= 30008msec
WRITE: io=3020.9MB, aggrb=103082KB/s, minb=103082KB/s,
maxb=103082KB/s, mint=30008msec, maxt=30008msec

librbd / librados2 from firefly:
write: io=7344.3MB, bw=83537KB/s, iops=20884, runt= 90026msec
WRITE: io=7344.3MB, aggrb=83537KB/s, minb=83537KB/s, maxb=83537KB/s,
mint=90026msec, maxt=90026msec

Quoted 5 lines

Stefan
_______________________________________________
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

Signature · 3 lines
Christian Balzer        Network/Systems Engineer                
[email protected]   	Global OnLine Japan/Fusion Communications
http://www.gol.com/

A message that is not in the archive (sent off-list or not yet received): CAPYLRzjL1JrgsThUejDHQsG3qcK1ZTXgcO2mHEuoHN-FbwVwsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#5 lore raw

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

Stefan

Quoted 32 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 27 lines · Stefan Priebe

Hi,

while testint firefly i cam into the sitation where i had a client where the latest dumpling packages where installed (0.67.9).

As my pool has hashppool false and the tunables are set to default it can talk to my firefly ceph sotrage.

For random 4k writes using fio with librbd and 32 jobs and an iodepth of 32.

I get these results:

librbd / librados2 from dumpling:
write: io=3020.9MB, bw=103083KB/s, iops=25770, runt= 30008msec
WRITE: io=3020.9MB, aggrb=103082KB/s, minb=103082KB/s, maxb=103082KB/s,
mint=30008msec, maxt=30008msec

librbd / librados2 from firefly:
write: io=7344.3MB, bw=83537KB/s, iops=20884, runt= 90026msec
WRITE: io=7344.3MB, aggrb=83537KB/s, minb=83537KB/s, maxb=83537KB/s,
mint=90026msec, maxt=90026msec

Stefan
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#6 lore raw
Quoted 9 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

Quoted 7 lines

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else. -Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

A message that is not in the archive (sent off-list or not yet received): CAPYLRzhJ_3WkWSFUAx+w+gt5PTLD7SYmSyQ-xPRZ31ahN4a1Ag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#8 lore raw

Am 02.07.2014 00:51, schrieb Gregory Farnum:

Quoted 16 lines
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Quoted 7 lines
Quoted 2 lines

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else.

Hi Greg,

i don't have that test cluster anymore. It had to go into production with dumpling.

So i can't tell you.

Sorry.

Stefan

Quoted 7 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://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

A message that is not in the archive (sent off-list or not yet received): 53B40292.2000108-2Lf/[email protected]

#10 lore raw

Could you give some perf counter from rbd client side? Such as op latency?

Quoted 47 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 00:51, schrieb Gregory Farnum:

Quoted 16 lines
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Quoted 7 lines
Quoted 2 lines

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else.

Hi Greg,

i don't have that test cluster anymore. It had to go into production with dumpling.

So i can't tell you.

Sorry.

Stefan

Quoted 7 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://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

Signature · 3 lines
Best Regards,

Wheat

A message that is not in the archive (sent off-list or not yet received): CACJqLyZYpEJYUn5m5B4LCGGfszY_xPjui5q7HShQuotBkVDt4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#12 lore raw

Am 02.07.2014 15:07, schrieb Haomai Wang:

Quoted 1 line

Could you give some perf counter from rbd client side? Such as op latency?

Sorry haven't any counters. As this mail was some days unseen - i thought nobody has an idea or could help.

Stefan

Quoted 52 lines
Quoted 47 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 00:51, schrieb Gregory Farnum:

Quoted 16 lines
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Quoted 7 lines
Quoted 2 lines

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else.

Hi Greg,

i don't have that test cluster anymore. It had to go into production with dumpling.

So i can't tell you.

Sorry.

Stefan

Quoted 7 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://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

#13 lore raw

Yeah, it's fighting for attention with a lot of other urgent stuff. :(

Anyway, even if you can't look up any details or reproduce at this time, I'm sure you know what shape the cluster was (number of OSDs, running on SSDs or hard drives, etc), and that would be useful guidance. :)
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 61 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 15:07, schrieb Haomai Wang:

Quoted 1 line

Could you give some perf counter from rbd client side? Such as op latency?

Sorry haven't any counters. As this mail was some days unseen - i thought nobody has an idea or could help.

Stefan

Quoted 52 lines
Quoted 47 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 00:51, schrieb Gregory Farnum:

Quoted 16 lines
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Quoted 7 lines
Quoted 2 lines

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else.

Hi Greg,

i don't have that test cluster anymore. It had to go into production with dumpling.

So i can't tell you.

Sorry.

Stefan

Quoted 7 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://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

A message that is not in the archive (sent off-list or not yet received): CAPYLRziFqZYFn4E22oE+-HXXcRppzwY=h2TbDuCErSixzZ=eWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#15 lore raw

Am 02.07.2014 16:00, schrieb Gregory Farnum:

Quoted 6 lines

Yeah, it's fighting for attention with a lot of other urgent stuff. :(

Anyway, even if you can't look up any details or reproduce at this time, I'm sure you know what shape the cluster was (number of OSDs, running on SSDs or hard drives, etc), and that would be useful guidance. :)

Sure

Number of OSDs: 24
Each OSD has an SSD capable of doing tested with fio before installing ceph (70.000 iop/s 4k write, 580MB/s seq. write 1MB blocks)

Single Xeon E5-1620 v2 @ 3.70GHz

48GB RAM

Stefan

Quoted 67 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 61 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 15:07, schrieb Haomai Wang:

Quoted 1 line

Could you give some perf counter from rbd client side? Such as op latency?

Sorry haven't any counters. As this mail was some days unseen - i thought nobody has an idea or could help.

Stefan

Quoted 52 lines
Quoted 47 lines · Stefan Priebe - Profihost AG

Am 02.07.2014 00:51, schrieb Gregory Farnum:

Quoted 16 lines
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi Greg,

Am 26.06.2014 02:17, schrieb Gregory Farnum:

Quoted 5 lines

Sorry we let this drop; we've all been busy traveling and things.

There have been a lot of changes to librados between Dumpling and Firefly, but we have no idea what would have made it slower. Can you provide more details about how you were running these tests?

it's just a normal fio run:
fio --ioengine=rbd --bs=4k --name=foo --invalidate=0 --readwrite=randwrite --iodepth=32 --rbdname=fio_test2 --pool=teststor --runtime=90 --numjobs=32 --direct=1 --group

Quoted 7 lines
Quoted 2 lines

Running one time with firefly libs and one time with dumpling libs. Traget is always the same pool on a firefly ceph storage.

What's the backing cluster you're running against? What kind of CPU usage do you see with both? 25k IOPS is definitely getting up there, but I'd like some guidance about whether we're looking for a reduction in parallelism, or an increase in per-op costs, or something else.

Hi Greg,

i don't have that test cluster anymore. It had to go into production with dumpling.

So i can't tell you.

Sorry.

Stefan

Quoted 7 lines

-Greg
Software Engineer #42 @ http://inktank.com | http://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

A message that is not in the archive (sent off-list or not yet received): 53B456E3.1060909-2Lf/[email protected]

#17 lore raw
Quoted 13 lines · Stefan Priebe

Am 02.07.2014 16:00, schrieb Gregory Farnum:

Quoted 6 lines

Yeah, it's fighting for attention with a lot of other urgent stuff. :(

Anyway, even if you can't look up any details or reproduce at this time, I'm sure you know what shape the cluster was (number of OSDs, running on SSDs or hard drives, etc), and that would be useful guidance. :)

Sure

Quoted 7 lines

Number of OSDs: 24
Each OSD has an SSD capable of doing tested with fio before installing ceph (70.000 iop/s 4k write, 580MB/s seq. write 1MB blocks)

Single Xeon E5-1620 v2 @ 3.70GHz

48GB RAM

Awesome, thanks.

I went through the changelogs on the librados/, osdc/, and msg/ directories to see if I could find any likely change candidates between Dumpling and Firefly and couldn't see any issues. :( But I suspect that the sharding changes coming will more than make up the difference, so you might want to plan on checking that out when it arrives, even if you don't want to deploy it to production. -Greg

#18 lore raw

Hi Greg,

Am 02.07.2014 21:36, schrieb Gregory Farnum:

Quoted 22 lines · Stefan Priebe
Quoted 13 lines

Am 02.07.2014 16:00, schrieb Gregory Farnum:

Quoted 6 lines

Yeah, it's fighting for attention with a lot of other urgent stuff. :(

Anyway, even if you can't look up any details or reproduce at this time, I'm sure you know what shape the cluster was (number of OSDs, running on SSDs or hard drives, etc), and that would be useful guidance. :)

Sure

Quoted 7 lines

Number of OSDs: 24
Each OSD has an SSD capable of doing tested with fio before installing ceph (70.000 iop/s 4k write, 580MB/s seq. write 1MB blocks)

Single Xeon E5-1620 v2 @ 3.70GHz

48GB RAM

Quoted 8 lines

Awesome, thanks.

I went through the changelogs on the librados/, osdc/, and msg/ directories to see if I could find any likely change candidates between Dumpling and Firefly and couldn't see any issues. :( But I suspect that the sharding changes coming will more than make up the difference, so you might want to plan on checking that out when it arrives, even if you don't want to deploy it to production.n

To which changes do you refer? Will they be part or backported of/to firefly?

Quoted 6 lines

-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

A message that is not in the archive (sent off-list or not yet received): 53B46106.7050306-2Lf/[email protected]

#20 lore raw
Quoted 41 lines · Stefan Priebe

Hi Greg,

Am 02.07.2014 21:36, schrieb Gregory Farnum:

Quoted 28 lines
Quoted 15 lines · Stefan Priebe

Am 02.07.2014 16:00, schrieb Gregory Farnum:

Quoted 6 lines

Yeah, it's fighting for attention with a lot of other urgent stuff. :(

Anyway, even if you can't look up any details or reproduce at this time, I'm sure you know what shape the cluster was (number of OSDs, running on SSDs or hard drives, etc), and that would be useful guidance. :)

Sure

Quoted 8 lines

Number of OSDs: 24
Each OSD has an SSD capable of doing tested with fio before installing ceph
(70.000 iop/s 4k write, 580MB/s seq. write 1MB blocks)

Single Xeon E5-1620 v2 @ 3.70GHz

48GB RAM

Quoted 8 lines

Awesome, thanks.

I went through the changelogs on the librados/, osdc/, and msg/ directories to see if I could find any likely change candidates between Dumpling and Firefly and couldn't see any issues. :( But I suspect that the sharding changes coming will more than make up the difference, so you might want to plan on checking that out when it arrives, even if you don't want to deploy it to production.n

Quoted 2 lines

To which changes do you refer? Will they be part or backported of/to firefly?

Yehuda's got a pretty big patchset that is sharding up the "big Objecter lock" into many smaller mutexes and RWLocks that will make it much more parallel. He's on vacation just now but I understand it's almost ready to merge; I don't think it'll be suitable for backport to firefly, though (it's big).
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com