Friday, 6 February 2015

[ubuntu] Slow ethernet speeds on fresh install of ubuntu server 14.04 topic






Hi all,

I just set up a server on my apt, but I am finding that any transfers over the network are very slow, capping at 15 megabytes/s. For reference, I can download faster on my wireless network from steam, capping at just under 18 megabytes/s.

First thing I though was the problem was the ZFS volume, however, testing directly on the drives I get 500MB/s without compression. Then I tried transferring files to the SSD and the speed was the same, the download speed is also the same in either case.

SMB, FTP and SFTP all cap at the same speed around 15MB/s. It is driving me nuts, I am using GigE and Cat5e cable which should support speeds faster than what I am seeing, heck even my wireless is faster.

At first I thought it might be the driver for the NIC, so I downloaded the latest version from Intel (my network chip on my motherboard is Intel I210), got the tar file and used # make install, modprobe igb, then added the modprobe igb to rc.local and ethtool confirms it is using igb driver. So I saw no difference at all.

Here is some output I get:

Code:


oscar@HTPC:~$ uname -mr
3.13.0-45-generic x86_64



Code:


oscar@HTPC:~$ sudo lshw -C network  *-network
      description: Ethernet interface
      product: I210 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:03:00.0
      logical name: p2p1
      version: 03
      serial: d0:50:99:53:4f:e6
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.0.5-k duplex=full firmware=3.16, 0x800004d6 ip=192.168.1.252 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:18 memory:f7200000-f727ffff ioport:d000(size=32) memory:f7280000-f7283fff
  *-network DISABLED
      description: Ethernet interface
      product: I210 Gigabit Network Connection
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: p3p1
      version: 03
      serial: d0:50:99:53:4f:e7
      capacity: 1Gbit/s
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.0.5-k firmware=3.16, 0x800004d6 latency=0 link=no multicast=yes port=twisted pair
      resources: irq:19 memory:f7100000-f717ffff ioport:c000(size=32) memory:f7180000-f7183fff



Code:


oscar@HTPC:~$ ifconfiglo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:747 errors:0 dropped:0 overruns:0 frame:0
          TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:225195 (225.1 KB)  TX bytes:225195 (225.1 KB)


p2p1      Link encap:Ethernet  HWaddr d0:50:99:53:4f:e6
          inet addr:192.168.1.252  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5530817 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1171981 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8018837238 (8.0 GB)  TX bytes:98825929 (98.8 MB)
          Memory:f7200000-f7280000


virbr0    Link encap:Ethernet  HWaddr 0e:af:01:68:17:5b
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



Code:


oscar@HTPC:~$ route -nKernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 p2p1
192.168.122.0  0.0.0.0        255.255.255.0  U    0      0        0 virbr0



Code:


oscar@HTPC:~$ sudo ethtool p2p1Settings for p2p1:
        Supported ports: [ TP ]
        Supported link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                              drv probe link
        Link detected: yes



Code:


oscar@HTPC:~$ ethtool -i p2p1driver: igb
version: 5.0.5-k
firmware-version: 3.16, 0x800004d6
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no








No comments:

Post a Comment