CEPH filesystem development
 help / color / mirror / Atom feed
From: Alexandre DERUMIER <aderumier@odiso.com>
To: Mark Nelson <mark.nelson@inktank.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: 10/14/2014 Weekly Ceph Performance Meeting
Date: Wed, 15 Oct 2014 18:04:27 +0200 (CEST)	[thread overview]
Message-ID: <825a656d-27dd-4fa1-a784-bea1eec58002@mailpro> (raw)
In-Reply-To: <0ef470f8-b69f-48ef-9975-6c2693f88b3c@mailpro>

>>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" <aderumier@odiso.com> 
À: "Mark Nelson" <mark.nelson@inktank.com> 
Cc: ceph-devel@vger.kernel.org 
Envoyé: Mercredi 15 Octobre 2014 17:54:35 
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting 

> 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. 
>>If its 1 volume, does adding another volume on the same VM help? 

>>>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" <aderumier@odiso.com> 
À: "Mark Nelson" <mark.nelson@inktank.com> 
Cc: ceph-devel@vger.kernel.org 
Envoyé: Mercredi 15 Octobre 2014 16:42:04 
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting 

>>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. 

> 
> 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? 

Not yet, but I can try to do it, I'll have time next week. 



> 
> 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? 
yes, 1 disk = 1 volume on VM 

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



>>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" <mark.nelson@inktank.com> 
À: "Alexandre DERUMIER" <aderumier@odiso.com>, "Mark Nelson" <mark.nelson@inktank.com> 
Cc: ceph-devel@vger.kernel.org 
Envoyé: Mercredi 15 Octobre 2014 15:26:20 
Objet: Re: 10/14/2014 Weekly Ceph Performance Meeting 

On 10/15/2014 01:22 AM, Alexandre DERUMIER wrote: 
> 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. 

> 
> 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? 

> 
> 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! 

> 
> 
> 
> 
> 
-- 
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in 
the body of a message to majordomo@vger.kernel.org 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-10-15 16:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15  3:40 10/14/2014 Weekly Ceph Performance Meeting Mark Nelson
2014-10-15  6:22 ` Alexandre DERUMIER
2014-10-15 13:26   ` Mark Nelson
2014-10-15 14:42     ` Alexandre DERUMIER
2014-10-15 15:54       ` Alexandre DERUMIER
2014-10-15 16:04         ` Alexandre DERUMIER [this message]
2014-10-16  3:27         ` Chen, Xiaoxi
2014-10-16  6:25           ` Alexandre DERUMIER
2014-10-16  6:53             ` Chen, Xiaoxi
2014-10-23 21:53               ` Sage Weil
2014-10-23 22:06                 ` Milosz Tanski
2014-10-15 15:50 ` Matt W. Benjamin
2014-10-15 15:58   ` Mark Nelson
2014-10-15 16:44     ` Matt W. Benjamin
  -- strict thread matches above, loose matches on Subject: below --
2014-10-17  5:58 Zhang, Jian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=825a656d-27dd-4fa1-a784-bea1eec58002@mailpro \
    --to=aderumier@odiso.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=mark.nelson@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox