Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Problem with Network Speed on Ubuntu 16.04 host

$
0
0
Hi All

I've been scratching my head, and have looked all over the internet, but can't come up with a solution. Hopefully someone here can help out. I'm fairly new in the kvm virtualisation space, but know my way around ubuntu and linux.
Let me describe what's happening.
I've set up ubuntu 16.04 as a server host for KVM vm's. I set up bridged networking, so that my local network can access the virtual machines and visa-versa. The Bridge is recognised, and I have comms as I want to. The issue is that I can't get more than 10Mb/s to either the host or the virtual machines. What I'm suspecting is that in ubuntu the bridge is set up, and ubuntu can't recognise the virtual nic's or bridge as being able to handle more than this speed.
This is from the host:
lshw -c Network
Code:

*-network:0
      description: Ethernet interface
      product: NetXtreme BCM5719 Gigabit Ethernet PCIe
      vendor: Broadcom Corporation
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: eno1
      version: 01
      serial: 40:a8:f0:27:ed:64
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5719-v1.46 NCSI v1.3.16.0 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:51 memory:f6bf0000-f6bfffff memory:f6be0000-f6beffff memory:f6bd0000-f6bdffff memory:f4000000-f403ffff
  *-network:1 DISABLED
      description: Ethernet interface
      product: NetXtreme BCM5719 Gigabit Ethernet PCIe
      vendor: Broadcom Corporation
      physical id: 0.1
      bus info: pci@0000:03:00.1
      logical name: eno2
      version: 01
      serial: 40:a8:f0:27:ed:65
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=5719-v1.46 NCSI v1.3.16.0 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:52 memory:f6bc0000-f6bcffff memory:f6bb0000-f6bbffff memory:f6ba0000-f6baffff memory:f4040000-f407ffff
  *-network:2 DISABLED
      description: Ethernet interface
      product: NetXtreme BCM5719 Gigabit Ethernet PCIe
      vendor: Broadcom Corporation
      physical id: 0.2
      bus info: pci@0000:03:00.2
      logical name: eno3
      version: 01
      serial: 40:a8:f0:27:ed:66
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=5719-v1.46 NCSI v1.3.16.0 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:51 memory:f6b90000-f6b9ffff memory:f6b80000-f6b8ffff memory:f6b70000-f6b7ffff memory:f4080000-f40bffff
  *-network:3
      description: Ethernet interface
      product: NetXtreme BCM5719 Gigabit Ethernet PCIe
      vendor: Broadcom Corporation
      physical id: 0.3
      bus info: pci@0000:03:00.3
      logical name: eno4
      version: 01
      serial: 40:a8:f0:27:ed:67
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5719-v1.46 NCSI v1.3.16.0 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:52 memory:f6b60000-f6b6ffff memory:f6b50000-f6b5ffff memory:f6b40000-f6b4ffff memory:f40c0000-f40fffff
  *-network:0
      description: Ethernet interface
      physical id: 3
      logical name: vnet0
      serial: fe:54:00:d6:21:44
      size: 10Mbit/s
      capabilities: ethernet physical
      configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
      description: Ethernet interface
      physical id: 4
      logical name: vnet4
      serial: fe:54:00:b0:ff:53
      size: 10Mbit/s
      capabilities: ethernet physical
      configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
  *-network:2
      description: Ethernet interface
      physical id: 5
      logical name: vnet3
      serial: fe:54:00:43:7d:4d
      size: 10Mbit/s
      capabilities: ethernet physical
      configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
  *-network:3
      description: Ethernet interface
      physical id: 6
      logical name: vnet2
      serial: fe:54:00:7b:a0:98
      size: 10Mbit/s
      capabilities: ethernet physical
      configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s
  *-network:4
      description: Ethernet interface
      physical id: 7
      logical name: vnet1
      serial: fe:54:00:c6:ac:b5
      size: 10Mbit/s
      capabilities: ethernet physical
      configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=yes multicast=yes port=twisted pair speed=10Mbit/s

As can be seen the physical nics have a Gbit/s capacity, but somehow the virtual(vnet) have only 10Mbit/s.
I've tried using ethtool etc, to no avail.

Could someone please point me in the right direction. I don't think there's a problem with the virtio drivers I'm using, cause the guests, seem to be showing the correct speeds, however the host virtual nics seem capped at that 10Mbit/s

Any help would be appreciated.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>