10/14/2014 Weekly Ceph Performance Meeting
Hi All,
Just a reminder that the weekly performance meeting is on Wednesdays at 8AM PST!
Etherpad URL:
http://pad.ceph.com/p/performance_weekly
To join the Meeting:
https://bluejeans.com/268261044
To join via Browser:
https://bluejeans.com/268261044/browser
To join with Lync:
https://bluejeans.com/268261044/lync
To join via Room System:
Video Conferencing System: bjn.vc -or- 199.48.152.152 Meeting ID: 268261044
To join via Phone:
1) Dial:
+1 408 740 7256
+1 888 240 2560(US Toll Free)
+1 408 317 9253(Alternate Number)
(see all numbers - http://bluejeans.com/numbers)2) Enter Conference ID: 268261044
Mark
Hi,
about performance, maybe could it be great to also include client side performance ?
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 7 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops
....
)
So maybe it's related
Quoted 1 line
Quoted 1 line
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane
http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
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
Having trouble joining. No feedback on why from the BlueJeans plugin.
Matt
Quoted 37 lines · ----- "Mark Nelson
Hi All,
Just a reminder that the weekly performance meeting is on Wednesdays at
8AM PST!Etherpad URL:
http://pad.ceph.com/p/performance_weeklyTo join the Meeting:
https://bluejeans.com/268261044To join via Browser:
https://bluejeans.com/268261044/browserTo join with Lync:
https://bluejeans.com/268261044/lyncTo join via Room System:
Video Conferencing System: bjn.vc -or- 199.48.152.152 Meeting ID: 268261044To join via Phone:
1) Dial:+1 408 740 7256 +1 888 240 2560(US Toll Free) +1 408 317 9253(Alternate Number) (see all numbers - http://bluejeans.com/numbers)2) Enter Conference ID: 268261044
Mark
--
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 · 10 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines
If its 1 volume, does adding another volume on the same VM help?
Quoted 1 line
As far I remember, yes . I'll test again to confirm.
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 16:42:04
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 7 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops
....
)
So maybe it's related
Quoted 1 line
Quoted 1 line
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane
http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
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
No good! What browser? I can try to find out if anyone else has had problems since RH uses bluejeans pretty much across the company.
Mark
Quoted 44 lines · Matt W. Benjamin
Having trouble joining. No feedback on why from the BlueJeans plugin.
Matt
Quoted 37 lines · ----- "Mark Nelson
Hi All,
Just a reminder that the weekly performance meeting is on Wednesdays at
8AM PST!Etherpad URL:
http://pad.ceph.com/p/performance_weeklyTo join the Meeting:
https://bluejeans.com/268261044To join via Browser:
https://bluejeans.com/268261044/browserTo join with Lync:
https://bluejeans.com/268261044/lyncTo join via Room System:
Video Conferencing System: bjn.vc -or- 199.48.152.152 Meeting ID: 268261044To join via Phone:
1) Dial:+1 408 740 7256 +1 888 240 2560(US Toll Free) +1 408 317 9253(Alternate Number) (see all numbers - http://bluejeans.com/numbers)2) Enter Conference ID: 268261044
Mark
--
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 3 lines
Quoted 3 lines
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
I'll do test next week with virtio-scsi, it seem that it's possible to use multiple queues
-device virtio-scsi-pci,id=scsi0,num_queues=8,...
So, maybe it'll help.
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 17:54:35
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines
If its 1 volume, does adding another volume on the same VM help?
Quoted 1 line
As far I remember, yes . I'll test again to confirm.
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 16:42:04
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 7 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops
....
)
So maybe it's related
Quoted 1 line
Quoted 1 line
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane
http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
Quoted 5 lines
Signature · 7 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 -- 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
I was running on (ahem) Windows. I tried with both Firefox and Chrome. It worked last week and previously.
Matt
Quoted 60 lines · ----- "Mark Nelson
No good! What browser? I can try to find out if anyone else has had
problems since RH uses bluejeans pretty much across the company.
Mark
Quoted 1 line · Matt W. Benjamin
Having trouble joining. No feedback on why from the BlueJeans
plugin.
Quoted 8 lines
Matt
Quoted 3 lines · ----- "Mark Nelson
Hi All,
Just a reminder that the weekly performance meeting is on
Wednesdays
Quoted 28 lines
Quoted 28 lines
at
8AM PST!Etherpad URL:
http://pad.ceph.com/p/performance_weeklyTo join the Meeting:
https://bluejeans.com/268261044To join via Browser:
https://bluejeans.com/268261044/browserTo join with Lync:
https://bluejeans.com/268261044/lyncTo join via Room System:
Video Conferencing System: bjn.vc -or- 199.48.152.152 Meeting ID: 268261044To join via Phone:
1) Dial:+1 408 740 7256 +1 888 240 2560(US Toll Free) +1 408 317 9253(Alternate Number) (see all numbers - http://bluejeans.com/numbers)2) Enter Conference ID: 268261044
Quoted 3 lines
Quoted 3 lines
Mark
--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 4 lines
Quoted 3 lines
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
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 · 10 lines
Matt Benjamin The Linux Box 206 South Fifth Ave. Suite 150 Ann Arbor, MI 48104 http://linuxbox.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
We also find this before, seems it's because QEMU use single thread for IO, I tried to enable the debug log of in librbd, find that the threaded is always the same. Assuming the backend is power enough, so how many IOs can be sent out by qemu == how many IOPS can we get.
The upper bound may varies depends on how fast QEMU can send out a request, I remember we have tried different CPU model and get best with an very old NHM CPU(with high frequency to 2.93Ghz, take ~0.03 to send out a request and we get 22K read IOPS bound), better than new SNB CPU. Frequency do play important part since it's single thread.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alexandre DERUMIER
Sent: Wednesday, October 15, 2014 11:55 PM
To: Mark Nelson
Cc: [email protected]
Subject: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines
If its 1 volume, does adding another volume on the same VM help?
Quoted 1 line
As far I remember, yes . I'll test again to confirm.
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 16:42:04
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 8 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops ....
)
So maybe it's related
Quoted 2 lines
Quoted 2 lines
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
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
Quoted 3 lines
Quoted 3 lines
We also find this before, seems it's because QEMU use single thread for IO, I tried to enable the debug log of in librbd, find that the threaded is always the same. Assuming the backend is power enough, so how >>many IOs can be sent out by qemu == how many IOPS can we get.
The upper bound may varies depends on how fast QEMU can send out a request, I remember we have tried different CPU model and get best with an very old NHM
CPU(with high frequency to 2.93Ghz, take ~0.03 to send >>out a request and we get 22K read IOPS bound), better than new SNB CPU. Frequency do play important part since it's single thread.
Hi, indeed qemu use a single thread per queue.
I think it's not a problem with common storage (nfs,scsi,..) because they use less cpu ressource than librbd, so you can reach easily > 100000iops with 1thread.
Now, the good new, virtio-scsi support multiqueue , with num_queues option.
I have done bench with num_queues, and now I can finally reach 50000iops with a single qemu disk-> rbd volume :)
If you use libvirt, here the config:
http://www.redhat.com/archives/libvir-list/2013-April/msg00021.html
Now, about fio-rbd cpu usage, something is really strange,
fio (rbd engine) on qemu host : 40000iops - 8 cores 100%
fio (aio) inside qemu with virtio-scsi + num_queues : 50000 iops - around 4 cores 100%
So, maybe something is bad in fio-rbd implementation ?
I need to bench again to be sure about this, I'll send results in some days.
----- Mail original -----
De: "Xiaoxi Chen" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Jeudi 16 Octobre 2014 05:27:13
Objet: RE: 10/14/2014 Weekly Ceph Performance Meeting
We also find this before, seems it's because QEMU use single thread for IO, I tried to enable the debug log of in librbd, find that the threaded is always the same. Assuming the backend is power enough, so how many IOs can be sent out by qemu == how many IOPS can we get.
The upper bound may varies depends on how fast QEMU can send out a request, I remember we have tried different CPU model and get best with an very old NHM CPU(with high frequency to 2.93Ghz, take ~0.03 to send out a request and we get 22K read IOPS bound), better than new SNB CPU. Frequency do play important part since it's single thread.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alexandre DERUMIER
Sent: Wednesday, October 15, 2014 11:55 PM
To: Mark Nelson
Cc: [email protected]
Subject: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines
If its 1 volume, does adding another volume on the same VM help?
Quoted 1 line
As far I remember, yes . I'll test again to confirm.
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 16:42:04
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 8 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops ....
)
So maybe it's related
Quoted 2 lines
Quoted 2 lines
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
Quoted 5 lines
Signature · 7 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 -- 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 3 lines
Hi, indeed qemu use a single thread per queue.
I think it's not a problem with common storage (nfs,scsi,..) because they use less cpu ressource than librbd, so you can reach easily > 100000iops with 1thread.
I think it's a common problem shared by all storage backend(nfs,scsi), but Ceph take longer time to sent out an IO(30us), while NFS and scsi is really simple(no crush, no stripping, etc) that may only take 3us to send out an IO, so the upper bound is 10X than ceph.
Quoted 5 lines
Now, the good new, virtio-scsi support multiqueue , with
num_queuesoption.
I have done bench withnum_queues, and now I can finally reach 50000iops with a single qemu disk-> rbd volume :)If you use libvirt, here the config:
http://www.redhat.com/archives/libvir-list/2013-April/msg00021.html
Thanks, this is really very helpful for us, we will try it out, thank you
-----Original Message-----
From: Alexandre DERUMIER [mailto:[email protected]]
Sent: Thursday, October 16, 2014 2:25 PM
To: Chen, Xiaoxi
Cc: [email protected]; Mark Nelson
Subject: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines
Quoted 3 lines
We also find this before, seems it's because QEMU use single thread for IO, I tried to enable the debug log of in librbd, find that the threaded is always the same. Assuming the backend is power enough, so how >>many IOs can be sent out by qemu == how many IOPS can we get.
The upper bound may varies depends on how fast QEMU can send out a request, I remember we have tried different CPU model and get best with an very old NHM
CPU(with high frequency to 2.93Ghz, take ~0.03 to send >>out a request and we get 22K read IOPS bound), better than new SNB CPU. Frequency do play important part since it's single thread.
Hi, indeed qemu use a single thread per queue.
I think it's not a problem with common storage (nfs,scsi,..) because they use less cpu ressource than librbd, so you can reach easily > 100000iops with 1thread.
Now, the good new, virtio-scsi support multiqueue , with num_queues option.
I have done bench with num_queues, and now I can finally reach 50000iops with a single qemu disk-> rbd volume :)
If you use libvirt, here the config:
http://www.redhat.com/archives/libvir-list/2013-April/msg00021.html
Now, about fio-rbd cpu usage, something is really strange,
fio (rbd engine) on qemu host : 40000iops - 8 cores 100% fio (aio) inside qemu with virtio-scsi + num_queues : 50000 iops - around 4 cores 100%
So, maybe something is bad in fio-rbd implementation ?
I need to bench again to be sure about this, I'll send results in some days.
----- Mail original -----
De: "Xiaoxi Chen" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Jeudi 16 Octobre 2014 05:27:13
Objet: RE: 10/14/2014 Weekly Ceph Performance Meeting
We also find this before, seems it's because QEMU use single thread for IO, I tried to enable the debug log of in librbd, find that the threaded is always the same. Assuming the backend is power enough, so how many IOs can be sent out by qemu == how many IOPS can we get.
The upper bound may varies depends on how fast QEMU can send out a request, I remember we have tried different CPU model and get best with an very old NHM CPU(with high frequency to 2.93Ghz, take ~0.03 to send out a request and we get 22K read IOPS bound), better than new SNB CPU. Frequency do play important part since it's single thread.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Alexandre DERUMIER
Sent: Wednesday, October 15, 2014 11:55 PM
To: Mark Nelson
Cc: [email protected]
Subject: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 3 lines
If its 1 volume, does adding another volume on the same VM help?
Quoted 1 line
As far I remember, yes . I'll test again to confirm.
I have done test, It's scaling with multiple virtio disk on multiple rbd volume.
(Not sure, but maybe it's related to iodepth bug showed in this meeting in intel slides ?)
----- Mail original -----
De: "Alexandre DERUMIER" <[email protected]> À: "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 16:42:04
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 4 lines
Quoted 4 lines
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Ok,great,I'll do it.
Quoted 8 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Quoted 2 lines
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Not yet, but I can try to do it, I'll have time next week.
Quoted 5 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
Quoted 1 line
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM?
yes, 1 disk = 1 volume on VM
Quoted 1 line
Quoted 1 line
If its 1 volume, does adding another volume on the same VM help?
As far I remember, yes . I'll test again to confirm.
Note that when benching with fio-rbd, I need to increase the client number too.
(1client - queue depth 32: +- 8000iops
2clients - queue depth 32: +- 16000iops ....
)
So maybe it's related
Quoted 2 lines
Quoted 2 lines
I'm not familiar with the new qemu options, so that would be good to discuss at
the meeting too!
The dataplane/iothread feature allow virtio disk to reach around 1.000.000 iops vs 100.000 iops without dataplane http://www.linux-kvm.org/wiki/images/1/17/Kvm-forum-2013-Effective-multithreading-in-QEMU.pdf
Syntax to enable it:
qemu -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,....
Regards,
Alexandre
----- Mail original -----
De: "Mark Nelson" <[email protected]>
À: "Alexandre DERUMIER" <[email protected]>, "Mark Nelson" <[email protected]>
Cc: [email protected]
Envoyé: Mercredi 15 Octobre 2014 15:26:20
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting
Quoted 3 lines · Alexandre DERUMIER
Hi,
about performance, maybe could it be great to also include client side performance ?
Sure! Please feel free to add this or other topics that are useful/interesting to the etherpad. Please include your name though so we know who's brought it up. Even if we don't get to everything it will provide useful topics for the subsequent weeks.
Quoted 4 lines
Currently I see 2 performance problems with librbd:
1) The cpu usage is quite huge. (I'm cpu bound with 8cores CPU E5-2603 v2 @ 1.80GHz, with 40000iops 4k read using fio-rbd)
Interesting. Have you taken a look with perf or other tools to see where time is being spent?
Quoted 3 lines
2) in qemu, it's impossible to reach more than around 7000iops with 1 disk. (maybe is it also related to cpu or threads number). I have also try with the new qemu iothread/dataplane feature, but it doesn't help.
1 disk meaning 1 OSD, or 1 disk meaning 1 volume on a VM? If its 1 volume, does adding another volume on the same VM help? I'm not familiar with the new qemu options, so that would be good to discuss at the meeting too!
Quoted 5 lines
Signature · 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
Quoted 8 lines · Xiaoxi
Quoted 3 lines
Hi, indeed qemu use a single thread per queue.
I think it's not a problem with common storage (nfs,scsi,..) because they use less cpu ressource than librbd, so you can reach easily > 100000iops with 1thread.I think it's a common problem shared by all storage
backend(nfs,scsi), but Ceph take longer time to sent out an IO(30us), while NFS and scsi is reallysimple(no crush, no stripping, etc)that may only take 3us to send out an IO, so the upper bound is 10X than ceph.
I would be very interested in seeing where the CPU time is actually spent. I know there are is some locking contention in librbd, but with the librados changes that layer at least should have have a much lower overhead. We also should be preserving mappings for PGs in most cases to avoid much time spent in CRUSH. It would be very interesting to be proven wrong, though!
sage
Quoted 10 lines · Sage Weil
Quoted 8 lines · Xiaoxi
Quoted 3 lines
Hi, indeed qemu use a single thread per queue.
I think it's not a problem with common storage (nfs,scsi,..) because they use less cpu ressource than librbd, so you can reach easily > 100000iops with 1thread.I think it's a common problem shared by all storage
backend(nfs,scsi), but Ceph take longer time to sent out an IO(30us), while NFS and scsi is reallysimple(no crush, no stripping, etc)that may only take 3us to send out an IO, so the upper bound is 10X than ceph.
Quoted 6 lines
I would be very interested in seeing where the CPU time is actually spent. I know there are is some locking contention in librbd, but with the librados changes that layer at least should have have a much lower overhead. We also should be preserving mappings for PGs in most cases to avoid much time spent in CRUSH. It would be very interesting to be proven wrong, though!
Measuring both should be simple. pref is a really great at getting these kinds of answers quickly. The CPU time part is pretty easy measure so I'll skip that. And to measure contention you can have pref watch for the sys:futex_enter tracepoint event. This way you measure all the times a lock was content... and not only which lock but also what code path.
Make sure you compile the application (or at very least the library) without omit-frame pointer gcc flag (it's default on x86_64). And then the perf command to do that is:
shell $ perf record -g -e syscalls:sys_exit_futex ./my_appname shell $ perf report
You should have an answer to contention points at the end of your test. I would offer to help more, but don't use RBD and have no experience with those parts.
Make sure you're using a newish kernel / newish perf with support for tracepoints, and you make sure you have the right permission to use tracepoint events in perf.
Quoted 6 lines
sage
--
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 · 7 lines
Milosz Tanski CTO 16 East 34th Street, 15th floor New York, NY 10016 p: 646-253-9055 e: [email protected]