[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intel 82576 Gigabit on Debian 7 slow speed.



On 18.12.2015 16:32, Michael Beck wrote:
> Any lost packets?

ifconfig
bond0     Link encap:Ethernet  HWaddr
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
          RX packets:654308767 errors:0 dropped:5238 overruns:0 frame:0
          TX packets:761897714 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
RX bytes:343017135502 (319.4 GiB) TX bytes:877734258061 (817.4 GiB)

eth0      Link encap:Ethernet  HWaddr
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:426388262 errors:0 dropped:0 overruns:0 frame:0
          TX packets:504528230 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
RX bytes:201613380511 (187.7 GiB) TX bytes:593461966181 (552.7 GiB)
          Memory:fafe0000-fb000000

eth1      Link encap:Ethernet  HWaddr
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:9000  Metric:1
          RX packets:227920505 errors:0 dropped:0 overruns:0 frame:0
          TX packets:257369484 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
RX bytes:141403754991 (131.6 GiB) TX bytes:284272291880 (264.7 GiB)
          Memory:faf60000-faf80000

I think 5238 dropped packets for several days compared to received packets is negligible.

> Real real full-duplex (ethtool)?

ethtool -i bond0
driver: bonding
version: 3.7.1
firmware-version: 2
bus-info:
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

ethtool eth0
Settings for eth0:
        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: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

ethtool eth1
Settings for eth1:
        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: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

> What does the (managed?) switch say?

It shows 1Gbit.

> Are the cables okay (cat6?)?

Yes. Cables are new cat6e.

> Which kind of transfer?nfs/cifs/iscsi or raw iperf-test?

I've tried send/receive cifs (samba). Also I've tried sendng file with pscp using Kitty. Both give same low speed.
NFS or iSCSI isn't used.

iperf -c ip
------------------------------------------------------------
Client connecting to ip, TCP port 5001
TCP window size: 23.5 KByte (default)
------------------------------------------------------------
[  3] local ip port 36389 connected with ip port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   835 MBytes   700 Mbits/sec

70% of 1Gbit. Is this seems a problem with samba?

iperf -uc 10.10.0.254 -b 1000m
------------------------------------------------------------
Client connecting to ip, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  224 KByte (default)
------------------------------------------------------------
[  3] local ip port 33348 connected with ip port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   966 MBytes   810 Mbits/sec
[  3] Sent 688757 datagrams
[  3] WARNING: did not receive ack of last datagram after 10 tries.

dd if=/dev/zero of=test.bin bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 24.5841 s, 427 MB/s

dd if=test.bin of=/dev/null bs=1M
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 2.24662 s, 4.7 GB/s

Disk is a zfs raid:
zpool create -f -m none -o ashift=12 zfspool raidz2 .... (total 8 x 1TB + 8 x 2TB disk in SATA2 supermicro backplane)
zfs set atime=off zfspool
zfs set dedup=off zfspool
zfs create -V 4T zfspool/backup
zfs set compression=lz4 zfspool/backup
mkfs.ext4 -b 4096 -q /dev/zvol/zfspool/backup

Is this samba problem or zfs problem?


Reply to: