All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1920871] [NEW] netperf UDP_STREAM high packet loss on QEMU tap network
@ 2021-03-23  6:42 Tao Xu
  2021-05-14 18:54 ` [Bug 1920871] " Thomas Huth
  2021-07-14  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: Tao Xu @ 2021-03-23  6:42 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Hi, I boot a guest with "-netdev
tap,id=hn0,vhost=off,br=br0,helper=/usr/local/libexec/qemu-bridge-
helper" network option, and using "netperf -H IP -t UDP_STREAM" to test
guest UDP performance, I got the following output:

Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992   65507   10.00      144710      0    7583.56
212992           10.00          32              1.68

We can find most of UDP packets are lost. But I test another host machine or use "-netdev usr,xxxxx". I can got:
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992   65507   10.00       18351      0     961.61
212992           10.00       18350            961.56

most of UDP packets are recived.

And If we check the tap qemu used, we can see:
ifconfig tap0
tap0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::ecc6:21ff:fe6f:b174  prefixlen 64  scopeid 0x20<link>
        ether ee:c6:21:6f:b1:74  txqueuelen 1000  (Ethernet)
        RX packets 282  bytes 30097 (29.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9086214  bytes 12731596673 (11.8 GiB)
        TX errors 0  dropped 16349024 overruns 0  carrier 0  collisions 0
lots of TX packets are dropped.

list other packet size:

➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 1
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992       1   10.00     2297941      0       1.84
212992           10.00     1462024              1.17

➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 128
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
Socket  Message  Elapsed      Messages                
Size    Size     Time         Okay Errors   Throughput
bytes   bytes    secs            #      #   10^6bits/sec

212992     128   10.00     2311547      0     236.70
212992           10.00     1359834            139.25

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  netperf UDP_STREAM high packet loss on QEMU tap network

Status in QEMU:
  New

Bug description:
  Hi, I boot a guest with "-netdev
  tap,id=hn0,vhost=off,br=br0,helper=/usr/local/libexec/qemu-bridge-
  helper" network option, and using "netperf -H IP -t UDP_STREAM" to
  test guest UDP performance, I got the following output:

  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00      144710      0    7583.56
  212992           10.00          32              1.68

  We can find most of UDP packets are lost. But I test another host machine or use "-netdev usr,xxxxx". I can got:
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00       18351      0     961.61
  212992           10.00       18350            961.56

  most of UDP packets are recived.

  And If we check the tap qemu used, we can see:
  ifconfig tap0
  tap0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
          inet6 fe80::ecc6:21ff:fe6f:b174  prefixlen 64  scopeid 0x20<link>
          ether ee:c6:21:6f:b1:74  txqueuelen 1000  (Ethernet)
          RX packets 282  bytes 30097 (29.3 KiB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 9086214  bytes 12731596673 (11.8 GiB)
          TX errors 0  dropped 16349024 overruns 0  carrier 0  collisions 0
  lots of TX packets are dropped.

  list other packet size:

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 1
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992       1   10.00     2297941      0       1.84
  212992           10.00     1462024              1.17

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 128
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992     128   10.00     2311547      0     236.70
  212992           10.00     1359834            139.25

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


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

* [Bug 1920871] Re: netperf UDP_STREAM high packet loss on QEMU tap network
  2021-03-23  6:42 [Bug 1920871] [NEW] netperf UDP_STREAM high packet loss on QEMU tap network Tao Xu
@ 2021-05-14 18:54 ` Thomas Huth
  2021-07-14  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2021-05-14 18:54 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.

If the bug has already been fixed in the latest upstream version of QEMU,
then please close this ticket as "Fix released".

If it is not fixed yet and you think that this bug report here is still
valid, then you have two options:

1) If you already have an account on gitlab.com, please open a new ticket
for this problem in our new tracker here:

    https://gitlab.com/qemu-project/qemu/-/issues

and then close this ticket here on Launchpad (or let it expire auto-
matically after 60 days). Please mention the URL of this bug ticket on
Launchpad in the new ticket on GitLab.

2) If you don't have an account on gitlab.com and don't intend to get
one, but still would like to keep this ticket opened, then please switch
the state back to "New" or "Confirmed" within the next 60 days (other-
wise it will get closed as "Expired"). We will then eventually migrate
the ticket automatically to the new system (but you won't be the reporter
of the bug in the new system and thus you won't get notified on changes
anymore).

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: New => Incomplete

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

Title:
  netperf UDP_STREAM high packet loss on QEMU tap network

Status in QEMU:
  Incomplete

Bug description:
  Hi, I boot a guest with "-netdev
  tap,id=hn0,vhost=off,br=br0,helper=/usr/local/libexec/qemu-bridge-
  helper" network option, and using "netperf -H IP -t UDP_STREAM" to
  test guest UDP performance, I got the following output:

  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00      144710      0    7583.56
  212992           10.00          32              1.68

  We can find most of UDP packets are lost. But I test another host machine or use "-netdev usr,xxxxx". I can got:
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00       18351      0     961.61
  212992           10.00       18350            961.56

  most of UDP packets are recived.

  And If we check the tap qemu used, we can see:
  ifconfig tap0
  tap0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
          inet6 fe80::ecc6:21ff:fe6f:b174  prefixlen 64  scopeid 0x20<link>
          ether ee:c6:21:6f:b1:74  txqueuelen 1000  (Ethernet)
          RX packets 282  bytes 30097 (29.3 KiB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 9086214  bytes 12731596673 (11.8 GiB)
          TX errors 0  dropped 16349024 overruns 0  carrier 0  collisions 0
  lots of TX packets are dropped.

  list other packet size:

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 1
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992       1   10.00     2297941      0       1.84
  212992           10.00     1462024              1.17

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 128
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992     128   10.00     2311547      0     236.70
  212992           10.00     1359834            139.25

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


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

* [Bug 1920871] Re: netperf UDP_STREAM high packet loss on QEMU tap network
  2021-03-23  6:42 [Bug 1920871] [NEW] netperf UDP_STREAM high packet loss on QEMU tap network Tao Xu
  2021-05-14 18:54 ` [Bug 1920871] " Thomas Huth
@ 2021-07-14  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-14  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

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

Title:
  netperf UDP_STREAM high packet loss on QEMU tap network

Status in QEMU:
  Expired

Bug description:
  Hi, I boot a guest with "-netdev
  tap,id=hn0,vhost=off,br=br0,helper=/usr/local/libexec/qemu-bridge-
  helper" network option, and using "netperf -H IP -t UDP_STREAM" to
  test guest UDP performance, I got the following output:

  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00      144710      0    7583.56
  212992           10.00          32              1.68

  We can find most of UDP packets are lost. But I test another host machine or use "-netdev usr,xxxxx". I can got:
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992   65507   10.00       18351      0     961.61
  212992           10.00       18350            961.56

  most of UDP packets are recived.

  And If we check the tap qemu used, we can see:
  ifconfig tap0
  tap0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
          inet6 fe80::ecc6:21ff:fe6f:b174  prefixlen 64  scopeid 0x20<link>
          ether ee:c6:21:6f:b1:74  txqueuelen 1000  (Ethernet)
          RX packets 282  bytes 30097 (29.3 KiB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 9086214  bytes 12731596673 (11.8 GiB)
          TX errors 0  dropped 16349024 overruns 0  carrier 0  collisions 0
  lots of TX packets are dropped.

  list other packet size:

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 1
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992       1   10.00     2297941      0       1.84
  212992           10.00     1462024              1.17

  ➜  boot netperf -H 192.168.199.200 -t UDP_STREAM -- -m 128
  MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.199.200 () port 0 AF_INET
  Socket  Message  Elapsed      Messages                
  Size    Size     Time         Okay Errors   Throughput
  bytes   bytes    secs            #      #   10^6bits/sec

  212992     128   10.00     2311547      0     236.70
  212992           10.00     1359834            139.25

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



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

end of thread, other threads:[~2021-07-14  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  6:42 [Bug 1920871] [NEW] netperf UDP_STREAM high packet loss on QEMU tap network Tao Xu
2021-05-14 18:54 ` [Bug 1920871] " Thomas Huth
2021-07-14  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.