qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
@ 2015-02-15 18:46 Stefan Priebe
  2015-02-16 11:06 ` Alexandre DERUMIER
  2015-02-16 12:24 ` Paolo Bonzini
  0 siblings, 2 replies; 14+ messages in thread
From: Stefan Priebe @ 2015-02-15 18:46 UTC (permalink / raw)
  To: qemu-devel

Hi,

while i get a constant random 4k i/o write speed of 20.000 iops with 
qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between 
500 iops and 15.000 iop/s).

If i use virtio instead of virtio-scsi speed is the same between 2.2 and 
2.1.

Is there a known regression?

Greets,
Stefan

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-15 18:46 [Qemu-devel] slow speed for virtio-scsi since qemu 2.2 Stefan Priebe
@ 2015-02-16 11:06 ` Alexandre DERUMIER
  2015-02-16 12:24 ` Paolo Bonzini
  1 sibling, 0 replies; 14+ messages in thread
From: Alexandre DERUMIER @ 2015-02-16 11:06 UTC (permalink / raw)
  To: Stefan Priebe; +Cc: qemu-devel

H Stefan,

only for write ? or also read ?

I'll try to reproduce on my test cluster.


----- Mail original -----
De: "Stefan Priebe" <s.priebe@profihost.ag>
À: "qemu-devel" <qemu-devel@nongnu.org>
Envoyé: Dimanche 15 Février 2015 19:46:12
Objet: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2

Hi, 

while i get a constant random 4k i/o write speed of 20.000 iops with 
qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between 
500 iops and 15.000 iop/s). 

If i use virtio instead of virtio-scsi speed is the same between 2.2 and 
2.1. 

Is there a known regression? 

Greets, 
Stefan 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-15 18:46 [Qemu-devel] slow speed for virtio-scsi since qemu 2.2 Stefan Priebe
  2015-02-16 11:06 ` Alexandre DERUMIER
@ 2015-02-16 12:24 ` Paolo Bonzini
  2015-02-16 14:43   ` Stefan Priebe - Profihost AG
  1 sibling, 1 reply; 14+ messages in thread
From: Paolo Bonzini @ 2015-02-16 12:24 UTC (permalink / raw)
  To: Stefan Priebe, qemu-devel



On 15/02/2015 19:46, Stefan Priebe wrote:
> 
> while i get a constant random 4k i/o write speed of 20.000 iops with
> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
> 500 iops and 15.000 iop/s).
> 
> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
> 2.1.

http://wiki.qemu.org/Contribute/ReportABug

What is your command line?

Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 12:24 ` Paolo Bonzini
@ 2015-02-16 14:43   ` Stefan Priebe - Profihost AG
  2015-02-16 14:44     ` Paolo Bonzini
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Priebe - Profihost AG @ 2015-02-16 14:43 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel

Hi,

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:
> 
> 
> On 15/02/2015 19:46, Stefan Priebe wrote:
>>
>> while i get a constant random 4k i/o write speed of 20.000 iops with
>> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
>> 500 iops and 15.000 iop/s).
>>
>> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
>> 2.1.
> 
> http://wiki.qemu.org/Contribute/ReportABug
> 
> What is your command line?
> 
> Paolo
> 

Could it be that this is a results of compiling qemu with --enable-debug
to get debugging symbols?

Stefan

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:43   ` Stefan Priebe - Profihost AG
@ 2015-02-16 14:44     ` Paolo Bonzini
  2015-02-16 14:47       ` Stefan Priebe - Profihost AG
  0 siblings, 1 reply; 14+ messages in thread
From: Paolo Bonzini @ 2015-02-16 14:44 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG, qemu-devel



On 16/02/2015 15:43, Stefan Priebe - Profihost AG wrote:
> Hi,
> 
> Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:
>>
>>
>> On 15/02/2015 19:46, Stefan Priebe wrote:
>>>
>>> while i get a constant random 4k i/o write speed of 20.000 iops with
>>> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
>>> 500 iops and 15.000 iop/s).
>>>
>>> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
>>> 2.1.
>>
>> http://wiki.qemu.org/Contribute/ReportABug
>>
>> What is your command line?
> 
> Could it be that this is a results of compiling qemu with --enable-debug
> to get debugging symbols?

Yes.

Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:44     ` Paolo Bonzini
@ 2015-02-16 14:47       ` Stefan Priebe - Profihost AG
  2015-02-16 14:49         ` Paolo Bonzini
  2015-02-16 14:58         ` Andrey Korolyov
  0 siblings, 2 replies; 14+ messages in thread
From: Stefan Priebe - Profihost AG @ 2015-02-16 14:47 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel

Hi,
Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:
> 
> 
> On 16/02/2015 15:43, Stefan Priebe - Profihost AG wrote:
>> Hi,
>>
>> Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:
>>>
>>>
>>> On 15/02/2015 19:46, Stefan Priebe wrote:
>>>>
>>>> while i get a constant random 4k i/o write speed of 20.000 iops with
>>>> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
>>>> 500 iops and 15.000 iop/s).
>>>>
>>>> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
>>>> 2.1.
>>>
>>> http://wiki.qemu.org/Contribute/ReportABug
>>>
>>> What is your command line?
>>
>> Could it be that this is a results of compiling qemu with --enable-debug
>> to get debugging symbols?
> 
> Yes.

*urg* my fault - sorry. Is there a way to get debugging symbols without
using enable-debug / getting slower performance?

Greets,
Stefan

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:47       ` Stefan Priebe - Profihost AG
@ 2015-02-16 14:49         ` Paolo Bonzini
  2015-02-16 15:41           ` Stefan Priebe - Profihost AG
  2015-02-16 14:58         ` Andrey Korolyov
  1 sibling, 1 reply; 14+ messages in thread
From: Paolo Bonzini @ 2015-02-16 14:49 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG, qemu-devel



On 16/02/2015 15:47, Stefan Priebe - Profihost AG wrote:
>>> >>
>>> >> Could it be that this is a results of compiling qemu with --enable-debug
>>> >> to get debugging symbols?
>> > 
>> > Yes.
> *urg* my fault - sorry. Is there a way to get debugging symbols without
> using enable-debug / getting slower performance?

Yes, just do nothing ("--enable-debug-info" is the default;
"--enable-debug" enables debug info _and_ turns off optimization).

Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:47       ` Stefan Priebe - Profihost AG
  2015-02-16 14:49         ` Paolo Bonzini
@ 2015-02-16 14:58         ` Andrey Korolyov
  2015-02-16 15:38           ` Stefan Priebe - Profihost AG
  1 sibling, 1 reply; 14+ messages in thread
From: Andrey Korolyov @ 2015-02-16 14:58 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: Paolo Bonzini, qemu-devel

On Mon, Feb 16, 2015 at 5:47 PM, Stefan Priebe - Profihost AG
<s.priebe@profihost.ag> wrote:
> Hi,
> Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:
>>
>>
>> On 16/02/2015 15:43, Stefan Priebe - Profihost AG wrote:
>>> Hi,
>>>
>>> Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:
>>>>
>>>>
>>>> On 15/02/2015 19:46, Stefan Priebe wrote:
>>>>>
>>>>> while i get a constant random 4k i/o write speed of 20.000 iops with
>>>>> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
>>>>> 500 iops and 15.000 iop/s).
>>>>>
>>>>> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
>>>>> 2.1.
>>>>
>>>> http://wiki.qemu.org/Contribute/ReportABug
>>>>
>>>> What is your command line?
>>>
>>> Could it be that this is a results of compiling qemu with --enable-debug
>>> to get debugging symbols?
>>
>> Yes.
>
> *urg* my fault - sorry. Is there a way to get debugging symbols without
> using enable-debug / getting slower performance?

Hi Stefan, splitdebug will help you there. Also this is a standard way
to ship debugging symbols in most distribuitions, so I wonder if you
may use just a generic build skeleton for this task...

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:58         ` Andrey Korolyov
@ 2015-02-16 15:38           ` Stefan Priebe - Profihost AG
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Priebe - Profihost AG @ 2015-02-16 15:38 UTC (permalink / raw)
  To: Andrey Korolyov; +Cc: Paolo Bonzini, qemu-devel

Hi,

> Am 16.02.2015 um 15:58 schrieb Andrey Korolyov <andrey@xdel.ru>:
> 
> On Mon, Feb 16, 2015 at 5:47 PM, Stefan Priebe - Profihost AG
> <s.priebe@profihost.ag> wrote:
>> Hi,
>>> Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:
>>> 
>>> 
>>>> On 16/02/2015 15:43, Stefan Priebe - Profihost AG wrote:
>>>> Hi,
>>>> 
>>>>> Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:
>>>>> 
>>>>> 
>>>>>> On 15/02/2015 19:46, Stefan Priebe wrote:
>>>>>> 
>>>>>> while i get a constant random 4k i/o write speed of 20.000 iops with
>>>>>> qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
>>>>>> 500 iops and 15.000 iop/s).
>>>>>> 
>>>>>> If i use virtio instead of virtio-scsi speed is the same between 2.2 and
>>>>>> 2.1.
>>>>> 
>>>>> http://wiki.qemu.org/Contribute/ReportABug
>>>>> 
>>>>> What is your command line?
>>>> 
>>>> Could it be that this is a results of compiling qemu with --enable-debug
>>>> to get debugging symbols?
>>> 
>>> Yes.
>> 
>> *urg* my fault - sorry. Is there a way to get debugging symbols without
>> using enable-debug / getting slower performance?
> 
> Hi Stefan, splitdebug will help you there. Also this is a standard way
> to ship debugging symbols in most distribuitions, so I wonder if you
> may use just a generic build skeleton for this task...

I'm using enable-debug with dh_strip from Debian

Stefan

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 14:49         ` Paolo Bonzini
@ 2015-02-16 15:41           ` Stefan Priebe - Profihost AG
  2015-02-16 15:49             ` Paolo Bonzini
  2015-02-16 15:50             ` Andreas Färber
  0 siblings, 2 replies; 14+ messages in thread
From: Stefan Priebe - Profihost AG @ 2015-02-16 15:41 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel


> Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <pbonzini@redhat.com>:
> 
> 
> 
> On 16/02/2015 15:47, Stefan Priebe - Profihost AG wrote:
>>>>>> 
>>>>>> Could it be that this is a results of compiling qemu with --enable-debug
>>>>>> to get debugging symbols?
>>>> 
>>>> Yes.
>> *urg* my fault - sorry. Is there a way to get debugging symbols without
>> using enable-debug / getting slower performance?
> 
> Yes, just do nothing ("--enable-debug-info" is the default;
> "--enable-debug" enables debug info _and_ turns off optimization).

If I do not enable-debug dh_strip does not extract any debugging symbols.

Stefan 

> 
> Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 15:41           ` Stefan Priebe - Profihost AG
@ 2015-02-16 15:49             ` Paolo Bonzini
  2015-02-16 19:02               ` Stefan Priebe
  2015-02-16 15:50             ` Andreas Färber
  1 sibling, 1 reply; 14+ messages in thread
From: Paolo Bonzini @ 2015-02-16 15:49 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: qemu-devel



On 16/02/2015 16:41, Stefan Priebe - Profihost AG wrote:
>> > Yes, just do nothing ("--enable-debug-info" is the default;
>> > "--enable-debug" enables debug info _and_ turns off optimization).
> If I do not enable-debug dh_strip does not extract any debugging symbols.

Then you need --disable-strip too.

Paolo

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 15:41           ` Stefan Priebe - Profihost AG
  2015-02-16 15:49             ` Paolo Bonzini
@ 2015-02-16 15:50             ` Andreas Färber
  2015-02-16 19:02               ` Stefan Priebe
  1 sibling, 1 reply; 14+ messages in thread
From: Andreas Färber @ 2015-02-16 15:50 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: Paolo Bonzini, qemu-devel

Am 16.02.2015 um 16:41 schrieb Stefan Priebe - Profihost AG:
>> Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <pbonzini@redhat.com>:
>>
>>
>>
>> On 16/02/2015 15:47, Stefan Priebe - Profihost AG wrote:
>>>>>>>
>>>>>>> Could it be that this is a results of compiling qemu with --enable-debug
>>>>>>> to get debugging symbols?
>>>>>
>>>>> Yes.
>>> *urg* my fault - sorry. Is there a way to get debugging symbols without
>>> using enable-debug / getting slower performance?
>>
>> Yes, just do nothing ("--enable-debug-info" is the default;
>> "--enable-debug" enables debug info _and_ turns off optimization).
> 
> If I do not enable-debug dh_strip does not extract any debugging symbols.

Maybe you forgot --disable-strip?

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 15:50             ` Andreas Färber
@ 2015-02-16 19:02               ` Stefan Priebe
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Priebe @ 2015-02-16 19:02 UTC (permalink / raw)
  To: Andreas Färber; +Cc: Paolo Bonzini, qemu-devel


Am 16.02.2015 um 16:50 schrieb Andreas Färber:
> Am 16.02.2015 um 16:41 schrieb Stefan Priebe - Profihost AG:
>>> Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <pbonzini@redhat.com>:
>>>
>>>
>>>
>>> On 16/02/2015 15:47, Stefan Priebe - Profihost AG wrote:
>>>>>>>>
>>>>>>>> Could it be that this is a results of compiling qemu with --enable-debug
>>>>>>>> to get debugging symbols?
>>>>>>
>>>>>> Yes.
>>>> *urg* my fault - sorry. Is there a way to get debugging symbols without
>>>> using enable-debug / getting slower performance?
>>>
>>> Yes, just do nothing ("--enable-debug-info" is the default;
>>> "--enable-debug" enables debug info _and_ turns off optimization).
>>
>> If I do not enable-debug dh_strip does not extract any debugging symbols.
>
> Maybe you forgot --disable-strip?

Thanks!

Stefan

>
> Regards,
> Andreas
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Qemu-devel] slow speed for virtio-scsi since qemu 2.2
  2015-02-16 15:49             ` Paolo Bonzini
@ 2015-02-16 19:02               ` Stefan Priebe
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Priebe @ 2015-02-16 19:02 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel


Am 16.02.2015 um 16:49 schrieb Paolo Bonzini:
>
>
> On 16/02/2015 16:41, Stefan Priebe - Profihost AG wrote:
>>>> Yes, just do nothing ("--enable-debug-info" is the default;
>>>> "--enable-debug" enables debug info _and_ turns off optimization).
>> If I do not enable-debug dh_strip does not extract any debugging symbols.
>
> Then you need --disable-strip too.

Thanks!

Stefan

>
> Paolo
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-02-16 19:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-15 18:46 [Qemu-devel] slow speed for virtio-scsi since qemu 2.2 Stefan Priebe
2015-02-16 11:06 ` Alexandre DERUMIER
2015-02-16 12:24 ` Paolo Bonzini
2015-02-16 14:43   ` Stefan Priebe - Profihost AG
2015-02-16 14:44     ` Paolo Bonzini
2015-02-16 14:47       ` Stefan Priebe - Profihost AG
2015-02-16 14:49         ` Paolo Bonzini
2015-02-16 15:41           ` Stefan Priebe - Profihost AG
2015-02-16 15:49             ` Paolo Bonzini
2015-02-16 19:02               ` Stefan Priebe
2015-02-16 15:50             ` Andreas Färber
2015-02-16 19:02               ` Stefan Priebe
2015-02-16 14:58         ` Andrey Korolyov
2015-02-16 15:38           ` Stefan Priebe - Profihost AG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).