一、测试描述
(一)硬件环境
以下硬件被用于测试环境的搭建:
基于FT-2500 CPU的五舟服务器
基于Intel(R) Xeon(R)Gold 5218 CPU @ 2.30GHz CPU的烽火服务器
xNIC-200双口10GbE网卡
Intel 82599双口10GbE网卡
(二)Kernel下性能测试
Kernel下使用iperf3作为测试工具,一张网卡作为客户端发送以太网包,另一张网卡作为服务端接收以太网包,测试在Kernel下最大性能。
测试时间60秒
TCP流
UDP流
二、测试1: xNIC-200双口10GbE带宽智能网卡,在基于FT2500 CPU的五舟服务器的环境上使用内核进行性能测试(2x10GbE)
(一)测试环境
测试 | 测试1- xNIC-200单卡双口10GbE内核测试 |
网卡 | 一张xNIC-200 双口10GbE网卡SFP+,PCle3.0x8 一张Intel 82599 双口10GbE网卡SFP+,PCle3.0x8 |
测试版本 | xNIC-200 FM version: 0.0.0.8 20220606 82599 FM version: 0x00011bab |
测试配置 | 2网卡,各2口。2台服务器,一张网卡用一台服务器 |
服务器1:
服务器 | 烽火服务器 |
CPU | Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz |
系统内存 | 32GB*8 DDR4@2666MHz |
操作系统 | CentOS Linux release 7.9.2009 (Core) |
内核版本 | Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxGNU/Linux |
Iperf3版本 | iperf 3.1.7 |
GCC版本 | gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) |
服务器2:
服务器 | 五舟服务器 |
CPU | FT-2500/128 |
系统内存 | 32GB*16 DDR4@2666MHz |
操作系统 | Kylin Linux Advanced Server V10 (Tercel) |
内核版本 | Linux localhost.localdomain 4.19.90-19.ky10.aarch64 #1 SMP Mon Jul 27 18:43:49 CST 2020 aarch64 aarch64 aarch64 GNU/Linux |
Iperf3版本 | iperf 3.1.3 |
GCC版本 | 7.3.0 |
xNIC-200双口 10GbE的卡插在FT2500上,另外一张intel的卡插在烽火服务器上,通过IP地址连通服务端与客户端,使用iperf3从客户端向服务端发送TCP、UDP包,时间为60s,查看TCP、UDP最大性能不丢包性能。测试环境如图1所示。
图1:测试1的测试环境
(二)测试配置
服务器1:
BIOS | BIOS Information Vendor: American Megatrends Inc. Version: P2.20 Release Date: 05/29/2019 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 32 MB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 5.14 |
BOOT设置 | BOOT_IMAGE=/vmlinuz-3.10.0-1160.71.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet intel_iommu=on iommu=pt pci=assign-busses pci=reallo LANG=en_US.UTF-8 |
命令行 | TCP包:iperf3 –c <服务端IP> –t 60 –Z –A 2 UDP包:iperf3 -u –c <服务端IP> -t 60 –Z –A 2 –b 3G –l 2k |
其他 优化 |
服务器2:
BIOS | Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: ZD-TECH Version: KL4.26.TTY.S.001.201217.D Release Date: 12/17/20 21:27:04 Address: 0x88000 Runtime Size: 480 kB ROM Size: 32 MB Characteristics: BIOS characteristics not supported ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported
Handle 0x0006, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Abbreviated Installable Languages: 2 zh|cn|unicode en|us|unicode Currently Installed Language: zh|cn|unicode |
BOOT设置 | BOOT_IMAGE=/vmlinuz-4.19.90-19.ky10.aarch64 root=/dev/mapper/klas-root ro crashkernel=auto rd.lvm.lv=klas/root rd.lvm.lv=klas/swap smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 crashkernel=1024M,high video=efifb:off video=VGA-1:640x480-32@60me isolcpus=0-55 nohz_full=0-55 rcu_nocbs=0-55 |
命令行 | TCP包:iperf3 –c <服务端IP> –t 60 –Z –A 2 UDP包:iperf3 -u –c <服务端IP> -t 60 –Z –A 2 –b 10G –l 25k |
其他优化 |
(三)测试结果
FT2500作为客户端 | |||||||||
| TCP | UDP | |||||||
端口 | 发送带宽Gbps | 接收带宽Gbps | 重传数 | 线程数 | 发送带宽Gbps | 接收带宽Gbps | 延时ms | 丢包 | 线程数 |
0 | 9.91 | 9.91 | 24 | 1 | 9.19 | 9.19 | 0.013 | 0% | 1 |
1 | 9.91 | 9.91 | 42 | 1 | 9.23 | 9.23 | 0.014 | 0% | 1 |
FT2500作为服务端 | |||||||||
| TCP | UDP | |||||||
端口 | 发送带宽Gbps | 接收带宽Gbps | 重传数 | 线程数 | 发送带宽Gbps | 接收带宽Gbps | 延时ms | 丢包 | 线程数 |
0 | 9.89 | 9.89 | 721 | 1 | 3 | 3 | 0.002 | 0% | 1 |
1 | 9.91 | 9.9 | 0 | 1 | 3 | 3 | 0.002 | 0% | 1 |
107作为客户端0口tcp

107作为客户端1口tcp

107作为客户端0口udp

107作为客户端1口udp

107作为服务端0口tcp

107作为服务端1口tcp

107作为服务端0口udp(iperf2)

107作为服务端1口udp(iperf2)

107作为服务端0口udp(iperf3)

107作为服务端1口udp(iperf3)

三、测试结论
测试中测试了xNIC-200双口10GbE带宽智能网卡在FT2500服务器上的性能。
本报告提供了网卡带宽测试结果以及相应的软硬件配置,以便复制相应测试平台。