Network Performance Test Of NXP LS Series Sinlge-board Computer
Since the release of Forlinx embedded ls1012A development board, we have successively launched Ls1043A, LS1046A, and LS1028A, and LS10XX series products are also a big family. The following is a brief introduction to the network performance of each product.
1. OK1012A-C Single-board computer
The FET1012A-C SoM used by the OK1012-C development board is designed based on the LS1012A processor of NXP's ARM Cortex-A53 architecture, with a main frequency of 1GHz. It supports up to two 2.5Gbps Ethernet controllers, equipped with hardware packet forwarding engine, and the network switching performance can reach wire speed; the OK1012A-C SBC leads out two Ethernets and supports 10M/100M/1000Mbps self-adaptation.
SGMII interface network performance test:
PC-Server:
root@localhost:~# iperf3 -s
OK1012-Clien-TCP:
root@localhost:~# ethtool -C eth0 rx-usecs 100
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~# iperf3 -c 192.168.1.182 -i 1 -t10 -w 100000
OK1012-Clien-UDP Test:
root@localhost:~# iperf3 -c192.168.1.182 -i 1 -t 10 –u –b 1000M
OK1012-Server:
root@localhost:~# iperf3 -s
PC-Client-TCP:
root@localhost:~# iperf3 -c 192.168.1.200 -i 1 -t10 –w 200000
PC-Client-UDP:
root@localhost:~# iperf3 -c 192.168.1.200 -i 1 -t10 –u –b 1000M
2. OK1043A-C Single-board computer
The FET1043A-C core board used by OK1043A-C is an LS1043A processor based on NXP's quad-core ARM Cortex-A53 architecture, with a main frequency of 1.6GHz. Adopt the core board + baseboard separation structure, connect through COMe interface, the speed is guaranteed. Natively supports 7 Ethernets: 1 10Gbps and 6 1000Mbps. The OK1043A-C development board actually leads out 6 Ethernets and supports 1G/100M/10Mbps self-adaptation, of which 4 are routed through QSGMII and 2 are routed through RGMII.
QSGMII interface network test:
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~#iperf3 -c 192.168.1.181 -i 5 -t 60
RGMII interface network test:
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~# iperf3 -c 192.168.1.181 -i 5 -t60
3. OK1046A-C2 Single-board computer
The FET1046A-C core board used by OK1046A-C2 is based on NXP's LS1046A quad-core processor design, with a main frequency of 1.8GHz and an ARM Cortex-A72 architecture. Natively supports 8 MACs, and can support up to 2 XFI (10GbE) interfaces or 8-way 1Gb Ethernet.
OK1046A-C2 has stronger data processing capability: 4-core ARM Cortex-A72 processor, up to 1.8GHz, 2GB DDR4 RAM, data throughput up to 2.1GT/S, and up to 45000 CoreMark performance.
The LS1046A quad-core processor used by OK1046A-C2 is designed with a main frequency of 1.8GHz and ARM Cortex-A72 architecture, which makes it unique in data processing. Compared with OK1012A-C and OK1043A-C, it has stronger data processing performance.
The OK1046A-C2 development board leads out two SFP+, the highest communication rate can reach 10Gbps, can install SFP+ optical module or electrical module; in addition, it also leads out five 1Gbps Ethernet, supports 10M/100M/1000Mbps self-adaptation, of which SGMII leads 3 channels, RGMII leads out 2 channels. There are 8 SerDes channels for high-speed peripheral interface, and the network port has multiple configuration schemes: up to five SGMIIs supporting 1000Mbit/s, up to three SGMIIs supporting 2500Mbit/s, and up to one QSGMII.
SFP+ Network Test:
Enter the following command on the OK1046A-C2 terminal:
root@localhost:~# ifconfig fm1-mac10 up
root@localhost:~# ifconfig fm1-mac10 192.168.2.182
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~# iperf3 -c 192.168.2.181 -i 5 -t60
RGMII interface network test, insert the network cable into the fm1-mac4 (under P13) port, and enter the following command to test:
root@localhost:~# ifconfig fm1-mac4 up
root@localhost:~# ifconfig fm1-mac4 192.168.1.106
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~# iperf3 -c 192.168.1.181 -i 5 -t60
SGMII interface network test, insert the network cable into the fm1-mac6 (under P27) port, and enter the following command to test:
root@localhost:~# ifconfig fm1-mac6 up
root@localhost:~# ifconfig fm1-mac6 192.168.1.106
root@localhost:~#echo performance >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
root@localhost:~# iperf3 -c 192.168.1.181 -i 5 -t60
OK1028A-C Single-board computer
OK1028A-C development board is based on NXP LS1028A processor design, dual-core ARM Cortex-A72, main frequency up to 1.5GHz, onboard 2GB DDR4 RAM, 8GB ROM; natively supports 6 Gbit Ethernet, supports TSN Ethernet switch and Ethernet control devices that support converged IT and OT networks.
High performance and high computing power: LS1028A processor, dual-core Cortex-A72, with a main frequency of up to 1.5GHz to meet the performance requirements of edge computing and big data processing applications.
Multi-network ports and TSN support: The FET1028A-C core board natively supports 6 Gigabit Ethernet interfaces, up to 2.5Gbps, and has a built-in 4-port Switch that supports TSN. Layer 2 forwarding does not consume CPU resources. Among them, 5 network ports can be supported by SerDes configuration.
The OK1028A-C development board leads out 5 channels of Ethernet and supports 10/100/1000Mbps self-adaptation, of which 4 channels are led out through QSGMII and one channel is led out by SGMII, all of which support TSN. It also supports 4G modules and 5G modules.
SGMII interface network performance test, enter the following command to test:
root@forlinx:~# ifconfig eno0 192.168.1.200 root@forlinx:~# iperf3 -c 192.168.1.181 -i 1 -t 0
QSGMII Layer 2 forwarding test:
Use two network cables to connect the swp0 and swp1 ports of OK1028A-C, and use OK1028A-C for data forwarding. The network topology is tested as follows:
OK1028A-C:
root@forlinx:~# ifconfig eno0 down
root@forlinx:~# ifconfig eno2 up
root@forlinx:~# ifconfig swp0 up
root@forlinx:~# ifconfig swp1 up
root@forlinx:~# ifconfig swp2 up
root@forlinx:~# ifconfig swp3 up
root@forlinx:~# brctl addbr br0
root@forlinx:~# brctl addif br0 swp0
root@forlinx:~# brctl addif br0 swp1
root@forlinx:~# brctl addif br0 swp2
root@forlinx:~# brctl addif br0 swp3
root@forlinx:~# ifconfig br0 up
Host1:
ifconfig eth0 192.168.1.181 iperf3 -s
Host2:
ifconfig eth0 192.168.1.106 iperf3 -c 192.168.1.181 -i 1 -t 0
QSGMII and SGMII Layer 3 Forwarding Test
OK1028A-C:
root@forlinx:~# ifconfig eno0 up
root@forlinx:~# ifconfig eno2 up
root@forlinx:~# ifconfig swp0 up
root@forlinx:~# ifconfig swp1 up
root@forlinx:~# ifconfig swp2 up
root@forlinx:~# ifconfig swp3 up
root@forlinx:~# brctl addbr br0
root@forlinx:~# brctl addif br0 swp0
root@forlinx:~# brctl addif br0 swp1
root@forlinx:~# brctl addif br0 swp2
root@forlinx:~# brctl addif br0 swp3
root@forlinx:~# ifconfig br0 up
root@forlinx:~# ifconfig br0 192.168.2.1
root@forlinx:~# ifconfig eno0 192.168.1.200
root@forlinx:~# iptables -t nat -A POSTROUTING -oeno0 -j MASQUERADE
Host1:
ifconfig eth0 192.168.1.181 iperf3 -s
Host2:
ifconfig eth0 192.168.2.3 route add default gw 192.168.2.1 iperf3 -c 192.168.1.181 -i 1 -t 0
OK1028A-C has high-performance, high computing power big data processing capabilities, in addition, the equipped dual-core Cortex-A72 LS1028 processor also supports 4K display output, supports a display interface, can support DP1.3 and DP1.4. Display resolution up to 4Kp60. This is unique to the OK1028A-C compared to other Forlinx development board series.
The Forlinx Embedded LS10xx family of products provides you with a variety of options to address your various network performance needs. With high-quality professional technical services, it will definitely bring a pleasant experience to customers.