锐单电子商城 , 一站式电子元器件采购平台!
  • 电话:400-990-0325

测评丨NXP LS系列产品网络性能测试

时间:2023-03-07 06:00:00 046继电器

外号!OK1012A-C自上市以来,飞凌嵌入式公司相继推出OK1043A-C、OK1046A-C,最新上市的OK1028A-C,OK10XX该系列产品也是一个大家庭。俗话说,春兰秋菊,各擅胜场。下面小编就为大家简单介绍一下各产品的网络性能。

先来聊一下OK1012A-C。

OK1012开发板采用FET1012A-C核心板基于NXP公司ARM Cortex-A53架构LS1012A处理器设计,主频1GHz。最高支持2个2.5Gbps配备硬件包转发引擎的以太网控制器,网络交换性能可达线速;OK1012A-C开发板引出了两条路Ethernet,支持10M/100M/1000Mbps自适应。

SGMII接口网络性能测试:

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测试:

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

接着来看看OK1043A-C。

图片上传失败

重试

OK1043A-C采用的FET1043A-C基于核心板NXP公司四核ARM Cortex-A53架构的LS1043A处理器,主频1.6GHz。采用核心板 通过底板分离结构COMe保证了接口连接的速率。原生支持7个Ethernet:1个10Gbps和6个1000Mbps。OK1043A-C开发板实际上导致了6路Ethernet,支持1G/100M/10Mbps自适应,包括通过QSGMII引出4个,RGMII引出2个。

QSGMII接口网络测试:

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接口网络测试:

root@localhost:~#echo performance >

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

root@localhost:~# iperf3 -c 192.168.1.181 -i 5 -t60

再来看看OK1046A-C2。

OK1046A-C2 采用的 FETI046A-C 基于核心板NXP公司的LSI046A四核处理器设计,主频1.8GHz,ARM Cortex-A72架构。原生支持8个。MAC,最多可支持2个XFI(10GbE)接口或8路lGb Ethernet。

OK1046A-C2 数据处理能力更强:4核ARM Cortex-A最高可支持72处理器1.8GHz,2GB DDR4 RAM,最高数据吞吐量为2.1GT/S,高达45000 CoreMark 分值的性能。

OK1046A-C2采用的 LSI046A 四核处理器设计主频1.8GHz,ARM Cortex-A72架构,使得它在数据处理方面拥有得天独厚的优势,相比于它的两个哥哥OK1012A-C、OK1043A-C数据处理性能更强。

OK1046A-C开发板引出了两条路SFP ,最高通信率可达10Gbps 可安装SFP 光模块或电模块;此外,5路1GbpsEthernet,支持10M/100M/1000Mbps自适应,其中SGMII引出3路,RGMII引出2路。有8个SerDes高速外设界面采用通道,网口有多种配置方案:最多可支持5个SGMII支持1000Mbit/s、最多支持三个SGMII支持2500Mbit/s最多支持一个QSGMII。

SFP 网络测试:

在OK1046A-C2 在终端上输入以下命令:

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接口网络测试,插入网线fm1-mac4(P输入以下命令进行测试:

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接口网络测试,插入网线fm1-mac6(P27下)口,输入以下命令进行测试:

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

4

最后来看看OK1028A-C。OK1028A-C开发板基于NXP LS1028A双核处理器设计ARM Cortex-A72,主频最高1.5GHz,板载2GB DDR4 RAM,8GB ROM;原生支持6个Gbit Ethernet,支持TSN以太网交换机和以太网控制器可以支持集成IT和OT网络。

高性能、高计算能力:LS1028A处理器,双核Cortex-A72,主频高达1.5GHz满足边缘计算、大数据处理应用的性能要求。

多网口与TSN支持:FET1028A-C核心板本地支持6个千兆以太网接口,最高支持2个.5Gbps,内置支持TSN的4端口Switch,二层转发不消耗CPU资源。五个网口可以通过。SerDes配置支持。

OK1028A-C开发板引出5条路Ethernet,支持10/100/1000Mbps自适应,包括通过QSGMII引出4路,SGMII一路引出,全部支持TSN。同时还支持4G模块和5G模块。

SGMII接口网络性能测试,输入以下命令进行测试:

root@forlinx:~# ifconfig eno0 192.168.1.200

root@forlinx:~# iperf3 -c 192.168.1.181 -i 1 -t 0

QSGMII 二层转发试验:

用两根网线连接OK1028A-C 的swp0 口和swp1 口,使用OK1028A-C 数据转发。网络拓扑测试如下:

p> 

 

如下所示:

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与SGMII三层转发测试

 

 

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拥有高性能、高算力的大数据处理能力,除此之外,搭载的双核Cortex-A72的LS1028处理器还支持4K显示输出,支持一个显示接口,可支持DP1.3和DP1.4,显示分辨率高达4Kp60。这是OK1028A-C相比于其他OKXX系列产品所特有的。

小编评测到此结束,OK10xx系列产品为您提供了多种选择,能够解决您对网络性能的各种需求。没有它实现不了的,只有没想到的,各个这么优异的性能,怎能不爱,搭配上飞凌优质专业的技术服务,一定会给客户带来非同一般的体验,让我们拭目以待吧!

锐单商城拥有海量元器件数据手册IC替代型号,打造电子元器件IC百科大全!

相关文章