Skip to contentSkip to conversation

slow speed for virtio-scsi since qemu 2.2

Qemu-devel Stefan Priebe 5 participants 14 messages Feb 15, 2015 – Feb 16, 2015

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

H Stefan,

only for write ? or also read ?

I'll try to reproduce on my test cluster.

----- Mail original -----
De: "Stefan Priebe" <[email protected]>
À: "qemu-devel" <[email protected]>
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

#3 lore raw

Hi,

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:

Quoted 8 lines · Stefan Priebe
Quoted 5 lines

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

Quoted 9 lines
Quoted 2 lines

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

#4 lore raw
Quoted 14 lines · Stefan Priebe - Profihost AG

Hi,

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:

Quoted 11 lines · Stefan Priebe
Quoted 7 lines

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.

Quoted 6 lines
Quoted 3 lines

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

#5 lore raw

Hi,
Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:

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

Hi,

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:

Quoted 11 lines · Stefan Priebe
Quoted 7 lines

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.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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

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

Hi,
Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:

Quoted 21 lines · Stefan Priebe - Profihost AG
Quoted 18 lines

Hi,

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:

Quoted 14 lines · Stefan Priebe
Quoted 7 lines

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?

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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

#7 lore raw

Hi,

Quoted 30 lines

Am 16.02.2015 um 15:58 schrieb Andrey Korolyov <[email protected]>:

Quoted 26 lines · Stefan Priebe - Profihost AG

Hi,

Quoted 25 lines

Am 16.02.2015 um 15:44 schrieb Paolo Bonzini:

Quoted 21 lines · Stefan Priebe - Profihost AG

Hi,

Quoted 9 lines

Am 16.02.2015 um 13:24 schrieb Paolo Bonzini:

Quoted 6 lines · Stefan Priebe

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

Quoted 6 lines
Quoted 2 lines

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?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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

#8 lore raw
In reply to Stefan Priebe - Profihost AG
Quoted 7 lines · Stefan Priebe - Profihost AG
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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

#9 lore raw
Quoted 10 lines

Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <[email protected]>:

Quoted 4 lines · Stefan Priebe - Profihost AG
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

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

Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

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

Quoted 2 lines

Paolo

#10 lore raw
Quoted 3 lines · Stefan Priebe - Profihost AG
Quoted 2 lines
Quoted 2 lines

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

#11 lore raw

Am 16.02.2015 um 16:49 schrieb Paolo Bonzini:

Quoted 8 lines · Stefan Priebe - Profihost AG
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

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

Quoted 3 lines

Paolo

#12 lore raw
In reply to Stefan Priebe - Profihost AG

Am 16.02.2015 um 16:41 schrieb Stefan Priebe - Profihost AG:

Quoted 9 lines
Quoted 9 lines

Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <[email protected]>:

Quoted 4 lines · Stefan Priebe - Profihost AG
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines

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

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line

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

Signature · 3 lines
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)
#13 lore raw

Am 16.02.2015 um 16:50 schrieb Andreas Färber:

Quoted 14 lines

Am 16.02.2015 um 16:41 schrieb Stefan Priebe - Profihost AG:

Quoted 13 lines
Quoted 13 lines

Am 16.02.2015 um 15:49 schrieb Paolo Bonzini <[email protected]>:

Quoted 7 lines · Stefan Priebe - Profihost AG
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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?

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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

Quoted 4 lines

Regards,
Andreas