Skip to contentSkip to conversation

e1000 nic TCP performances

Qemu-devel Vincent Autefage 2 participants 4 messages Sep 20, 2013 – Jun 18, 2018

lore
Share & tools
lore
#0 lore raw

Public bug reported:

Hi,

Here is the context :

$ qemu -name A -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,listen=127.0.0.1:7000
$ qemu -name B -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,connect=127.0.0.1:7000

The bandwidth is really tiny :

. Iperf3 reports about 30 Mb/sec
. NetPerf reports about 50 Mb/sec

With UDP sockets, there is no problem at all :

. Iperf3 reports about 1 Gb/sec
. NetPerf reports about 950 Mb/sec

I've noticed this fact only with the e1000 NIC, not with others (rtl8139,virtio, etc.) I've used the main GIT version of QEMU.

Thanks in advance.

See you,
VInce

** Affects: qemu
Importance: Undecided
Status: New

Signature · 41 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/1228285

Title:
  e1000 nic TCP performances

Status in QEMU:
  New

Bug description:
  Hi,

  Here is the context :

  $ qemu -name A -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,listen=127.0.0.1:7000
  $ qemu -name B -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,connect=127.0.0.1:7000

  The bandwidth is really tiny :

      . Iperf3 reports about 30 Mb/sec
      . NetPerf reports about 50 Mb/sec

  
  With UDP sockets, there is no problem at all :

      . Iperf3 reports about 1 Gb/sec
      . NetPerf reports about 950 Mb/sec

  
  I've noticed this fact only with the e1000 NIC, not with others (rtl8139,virtio, etc.)
  I've used the main GIT version of QEMU.

  
  Thanks in advance.

  See you,
  VInce

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1228285/+subscriptions
#1 lore raw
Quoted 11 lines · Vincent Autefage

Here is the context :

$ qemu -name A -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,listen=127.0.0.1:7000
$ qemu -name B -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,connect=127.0.0.1:7000

The bandwidth is really tiny :

. Iperf3 reports about 30 Mb/sec
. NetPerf reports about 50 Mb/sec

Quoted 8 lines

With UDP sockets, there is no problem at all :

. Iperf3 reports about 1 Gb/sec
. NetPerf reports about 950 Mb/sec

I've noticed this fact only with the e1000 NIC, not with others (rtl8139,virtio, etc.) I've used the main GIT version of QEMU.

It's interesting that you see good performance over -netdev socket TCP with the other NIC models.

I don't know what the issue would be, you'll probably need to dig further to discover the problem. Using wireshark might be a good start. Try to figure out where the delay is incurred and then instrument that code to find out the cause.

Stefan

#2 lore raw
In reply to Vincent Autefage

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

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

Signature · 41 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/1228285

Title:
  e1000 nic TCP performances

Status in QEMU:
  Incomplete

Bug description:
  Hi,

  Here is the context :

  $ qemu -name A -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,listen=127.0.0.1:7000
  $ qemu -name B -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,connect=127.0.0.1:7000

  The bandwidth is really tiny :

      . Iperf3 reports about 30 Mb/sec
      . NetPerf reports about 50 Mb/sec

  
  With UDP sockets, there is no problem at all :

      . Iperf3 reports about 1 Gb/sec
      . NetPerf reports about 950 Mb/sec

  
  I've noticed this fact only with the e1000 NIC, not with others (rtl8139,virtio, etc.)
  I've used the main GIT version of QEMU.

  
  Thanks in advance.

  See you,
  VInce

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

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

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

Signature · 41 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/1228285

Title:
  e1000 nic TCP performances

Status in QEMU:
  Expired

Bug description:
  Hi,

  Here is the context :

  $ qemu -name A -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,listen=127.0.0.1:7000
  $ qemu -name B -m 1024 -net nic vlan=0,model=e1000 -net socket,vlan=0,connect=127.0.0.1:7000

  The bandwidth is really tiny :

      . Iperf3 reports about 30 Mb/sec
      . NetPerf reports about 50 Mb/sec

  
  With UDP sockets, there is no problem at all :

      . Iperf3 reports about 1 Gb/sec
      . NetPerf reports about 950 Mb/sec

  
  I've noticed this fact only with the e1000 NIC, not with others (rtl8139,virtio, etc.)
  I've used the main GIT version of QEMU.

  
  Thanks in advance.

  See you,
  VInce

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