运行在1千兆以下的10G网卡

我在两台服务器中安装了10个千兆光纤卡,但是当我testing吞吐量时,它们的运行速度只有大约600Mbps左右:

$ scp random.1G rcm2:/tmp random.1G 100% 1024MB 73.1MB/s 00:14 

我的路线看起来正确。 networking驱动程序和硬件似乎设置正确。

有人可以告诉我,我应该在哪里看?

以下是更多信息:

路由

172.16.157.34

 $ ip route get 172.16.157.35 172.16.157.35 dev eth1 src 172.16.157.34 

172.16.157.35

 $ ip route get 172.16.157.34 172.16.157.34 dev eth2 src 172.16.157.35 

硬件/使用ifconfig

172.16.157.34

 $ ifconfig ... eth2 Link encap:Ethernet HWaddr 90:e2:ba:38:aa:ee inet addr:172.16.157.34 Bcast:172.16.157.63 Mask:255.255.255.224 ... $ lshw -class network ... description: Ethernet interface product: 82599EB 10-Gigabit SFI/SFP+ Network Connection ... serial: 90:e2:ba:38:aa:ee ... 

172.16.157.35

 $ ifconfig ... eth1 Link encap:Ethernet HWaddr 90:E2:BA:38:AA:82 inet addr:172.16.157.35 Bcast:172.16.157.63 Mask:255.255.255.224 ... $ lshw -class network ... description: Ethernet interface product: 82599EB 10-Gigabit SFI/SFP+ Network Connection ... serial: 90:e2:ba:38:aa:82 ... 

驱动程序设置

172.16.157.34

 $ sudo ethtool eth2 Settings for eth2: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 10000Mb/s Duplex: Full Port: FIBRE PHYAD: 0 Transceiver: external Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes 

172.16.157.35

 $ sudo ethtool eth1 [sudo] password for jsp: Settings for eth1: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 10000Mb/s Duplex: Full Port: FIBRE PHYAD: 0 Transceiver: external Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes 

scp在处理数据时有很大的开销。 像nc这样的更薄的东西将为您提供更好的吞吐量和更真实的服务器和networking物理functiontesting。

另外,确保你的瓶颈不存在于其他地方像你的磁盘。 使用iperf或类似的东西testing非磁盘吞吐量。