Skip to contentSkip to conversation

vhost-user: qemu stops processing packets under high load of traffic

Qemu-devel Vincent JARDIN 3 participants 7 messages Mar 11, 2016 – Mar 16, 2016

lore
Share & tools
lore
#0 lore raw

Public bug reported:

Description of problem:
- qemu socket becomes full, causing qemu to send incomplete SET_VRING_CALL messages to vhost-user backend (without proper fd set in ancillary data).
- after some time, some interrupts are lost, causing the VM to stop transmitting packets.

How reproducible:
Run a stress tests of a vhost-user interface using an UDP
traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM (running linux) doing routing to forward packets between the 2 virtio ports.
When traffic reaches high pps rates of small packets,

Actual results:
- VM stop transmitting packets

Expected results:
- VM should never stop transmitting packets

Additional info:
We do propose a fix at:
http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

** Affects: qemu
Importance: Undecided
Status: New

** Tags: 6wind

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions
#1 lore raw

for tracking,
http://git.qemu.org/?p=qemu.git;a=patch;h=5669655aafdb88a8797c74a989dd0c0ebb1349fa

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions
#2 lore raw
Quoted 13 lines · Vincent JARDIN

for tracking,
http://git.qemu.org/?p=qemu.git;a=patch;h=5669655aafdb88a8797c74a989dd0c0ebb1349fa

Signature · 9 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

I presume you'll also close this bu at some point? It's fixed in upstream QEMU.

Quoted 26 lines

Bug description:
Description of problem:
- qemu socket becomes full, causing qemu to send incomplete SET_VRING_CALL messages to vhost-user backend (without proper fd set in ancillary data).
- after some time, some interrupts are lost, causing the VM to stop transmitting packets.

How reproducible:
Run a stress tests of a vhost-user interface using an UDP
traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM (running linux) doing routing to forward packets between the 2 virtio ports.
When traffic reaches high pps rates of small packets,

Actual results:
- VM stop transmitting packets

Expected results:
- VM should never stop transmitting packets

Additional info:
We do propose a fix at:

    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions

#3 lore raw
In reply to Vincent JARDIN

Let's close it. Sorry, it should be opened into:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions
#4 lore raw
In reply to Vincent JARDIN

Correct, it is fixed in Qemu upstream. Just need to get it used into my ubuntu.

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions
#5 lore raw
In reply to Vincent JARDIN

you can also add the project 'qemu-kvm' on the bug in order to get it into the ubuntu qemu-kvm bug list.

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in QEMU:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1556306/+subscriptions
#6 lore raw
In reply to Vincent JARDIN

apologize but I was corrected that for qemu issues. The bug should be in the following:

Distribution: ubuntu
package: qemu <--instead of project.

I will correct this in the bug.

** Project changed: qemu => qemu (Ubuntu)

Signature · 36 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1556306

Title:
   vhost-user: qemu stops processing packets under high load of traffic

Status in qemu package in Ubuntu:
  New

Bug description:
  Description of problem:
  - qemu socket becomes full, causing qemu to send incomplete
  SET_VRING_CALL messages to vhost-user backend (without proper fd set in
  ancillary data).
  - after some time, some interrupts are lost, causing the VM to stop
  transmitting packets.

  How reproducible:
  Run a stress tests of a vhost-user interface using an UDP
  traffic generator. Traffic generator (IXIA) was connected to 2 physical ports that are in turn connected to 2 virtio ports through a linux bridge, VM
  (running linux) doing routing to forward packets between the 2 virtio ports.
  When traffic reaches high pps rates of small packets,

  Actual results:
  - VM stop transmitting packets

  Expected results:
  - VM should never stop transmitting packets

  Additional info:
  We do propose a fix at:
    http://lists.nongnu.org/archive/html/qemu-devel/2015-12/msg00652.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1556306/+subscriptions