Skip to contentSkip to conversation

any known virtio-net regressions in Qemu 2.7?

Qemu-devel Stefan Priebe - Profihost AG 3 participants 8 messages Dec 14, 2016 – Dec 20, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Greets,
Stefan

#1 lore raw

Hi Stefan,

do you have upgraded kernel ?

maybe it could be related to vhost-net module too.

----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 16:04:08
Objet: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Hello,

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Greets,
Stefan

#2 lore raw

Am 14.12.2016 um 16:33 schrieb Alexandre DERUMIER:

Quoted 3 lines

Hi Stefan,

do you have upgraded kernel ?

Yes sure. But i'm out of ideas how to debug. Sometimes it gives me constant 80MB/s, sometimes 125 and sometimes only 6. While on the host the cards are not busy.

Greets,
Stefan

Quoted 23 lines

maybe it could be related to vhost-net module too.

----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 16:04:08
Objet: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Hello,

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Greets,
Stefan

#3 lore raw

does rollbacking the kernel to previous version fix the problem ?

i'm not sure if "perf" could give you some hints
----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 21:36:23
Objet: Re: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Am 14.12.2016 um 16:33 schrieb Alexandre DERUMIER:

Quoted 3 lines

Hi Stefan,

do you have upgraded kernel ?

Yes sure. But i'm out of ideas how to debug. Sometimes it gives me constant 80MB/s, sometimes 125 and sometimes only 6. While on the host the cards are not busy.

Greets,
Stefan

Quoted 23 lines

maybe it could be related to vhost-net module too.

----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 16:04:08
Objet: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Hello,

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Greets,
Stefan

#4 lore raw

Am 15.12.2016 um 07:46 schrieb Alexandre DERUMIER:

Quoted 1 line

does rollbacking the kernel to previous version fix the problem ?

The culprit is the used tuned agent from Redhat
(https://github.com/redhat-performance/tuned). The used profile virtual-host results in these problems. Stopping tuned or using another profile like throughput-performance everything is fine again.

Geets,
Stefan

Quoted 45 lines

i'm not sure if "perf" could give you some hints
----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "aderumier" <[email protected]>
Cc: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 21:36:23
Objet: Re: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Am 14.12.2016 um 16:33 schrieb Alexandre DERUMIER:

Quoted 3 lines

Hi Stefan,

do you have upgraded kernel ?

Yes sure. But i'm out of ideas how to debug. Sometimes it gives me constant 80MB/s, sometimes 125 and sometimes only 6. While on the host the cards are not busy.

Greets,
Stefan

Quoted 23 lines

maybe it could be related to vhost-net module too.

----- Mail original -----
De: "Stefan Priebe, Profihost AG" <[email protected]> À: "qemu-devel" <[email protected]>
Envoyé: Mercredi 14 Décembre 2016 16:04:08
Objet: [Qemu-devel] any known virtio-net regressions in Qemu 2.7?

Hello,

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Greets,
Stefan

#5 lore raw
Quoted 8 lines · Stefan Priebe - Profihost AG

Am 15.12.2016 um 07:46 schrieb Alexandre DERUMIER:

Quoted 1 line

does rollbacking the kernel to previous version fix the problem ?

The culprit is the used tuned agent from Redhat
(https://github.com/redhat-performance/tuned). The used profile virtual-host results in these problems. Stopping tuned or using another profile like throughput-performance everything is fine again.

Interesting discovery. Have you filed a bug report about it?

Quoted 7 lines

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Stefan

#6 lore raw

Am 19.12.2016 um 12:03 schrieb Stefan Hajnoczi:

Quoted 11 lines · Stefan Priebe - Profihost AG
Quoted 8 lines

Am 15.12.2016 um 07:46 schrieb Alexandre DERUMIER:

Quoted 1 line

does rollbacking the kernel to previous version fix the problem ?

The culprit is the used tuned agent from Redhat
(https://github.com/redhat-performance/tuned). The used profile virtual-host results in these problems. Stopping tuned or using another profile like throughput-performance everything is fine again.

Interesting discovery. Have you filed a bug report about it?

As we're not using RHEL, nor CentOS i didn't expect this to make sense ;-) I just believed that something in the kernel changed.

Greets,
Stefan

Quoted 10 lines
Quoted 7 lines

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Stefan

#7 lore raw
Quoted 11 lines · Stefan Priebe - Profihost AG

Am 19.12.2016 um 12:03 schrieb Stefan Hajnoczi:

Quoted 10 lines · Stefan Priebe - Profihost AG
Quoted 8 lines

Am 15.12.2016 um 07:46 schrieb Alexandre DERUMIER:

Quoted 1 line

does rollbacking the kernel to previous version fix the problem ?

The culprit is the used tuned agent from Redhat
(https://github.com/redhat-performance/tuned). The used profile virtual-host results in these problems. Stopping tuned or using another profile like throughput-performance everything is fine again.

Quoted 4 lines
Quoted 1 line

Interesting discovery. Have you filed a bug report about it?

As we're not using RHEL, nor CentOS i didn't expect this to make sense ;-) I just believed that something in the kernel changed.

I see. At least the tuned maintainers are aware of it now. If others report the same problem maybe it can be solved.

Thanks!

Stefan

Quoted 10 lines
Quoted 10 lines
Quoted 7 lines

after upgrading a cluster OS, Qemu, ... i'm experiencing slow and volatile network speeds inside my VMs.

Currently I've no idea what causes this but it's related to the host upgrades. Before i was running Qemu 2.6.2.

I'm using virtio for the network cards.

Stefan