万兆网卡性能简单测试

23700阅读 0评论2014-07-03 phanx
分类:服务器与存储

========phanx.com========
Author:   phanx
Updated: 2014-7-3
转载请保留作者信息
=========================

itpub上看到有人用iperf测试万兆网卡,速度只能到3Gb/400MB 左右,我找了台机器测试了一下,基本还是接近10Gb的。
下载,编译iperf 。老的版本是iperf  2.0.5  在 

新的是iperf3系列了,在 

tar xf cd iperf-3.0.3
./configure
make && make install

[root@testapp1 .libs]# iperf3 -c 192.168.1.13 -n 10G
Connecting to host 188.188.68.13, port 5201
[  4] local 188.188.68.12 port 52339 connected to 192.168.1.13 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  1.13 GBytes  9.72 Gbits/sec    0   1.57 MBytes       
[  4]   1.00-2.00   sec  1.13 GBytes  9.74 Gbits/sec    0   1.57 MBytes       
[  4]   2.00-3.00   sec  1.14 GBytes  9.75 Gbits/sec    0   1.57 MBytes       
[  4]   3.00-4.00   sec  1.13 GBytes  9.74 Gbits/sec    0   1.57 MBytes       
[  4]   4.00-5.00   sec  1.14 GBytes  9.75 Gbits/sec    0   1.57 MBytes       
[  4]   5.00-6.00   sec  1.13 GBytes  9.75 Gbits/sec    0   1.57 MBytes       
[  4]   6.00-7.00   sec  1.14 GBytes  9.76 Gbits/sec    0   1.57 MBytes       
[  4]   7.00-8.00   sec  1.14 GBytes  9.75 Gbits/sec    0   1.57 MBytes       
[  4]   8.00-8.81   sec   945 MBytes  9.72 Gbits/sec    0   1.57 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-8.81   sec  10.0 GBytes  9.74 Gbits/sec    0             sender
[  4]   0.00-8.81   sec  10.0 GBytes  9.74 Gbits/sec                  receiver


iperf Done.

机器配置如下:
[root@testapp1 ~]# dmidecode |egrep "Product|Xeon\(R\)|MB$"
        Product Name: PowerEdge R620
        Product Name: 0D2D5F
        Version:        Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
        Version:        Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB
        Size: 4096 MB

[root@testapp1 .libs]# lspci|grep Ether
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.2 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.3 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)

交换机是Cisco 4900M。 改天再找个Intel的i540网卡测测。
上一篇:Standalone GI(SIHA)环境下的Oracle 11gR2 单实例数据库修改主机名
下一篇:Oracle Certified Master 和 Redhat Certified Architect到手