測評丨NXP LS系列產品網路性能測驗
號外號外!繼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-A72處理器,最高可支持1.8GHz,2GB DDR4 RAM,資料吞吐量最高可達2.1GT/S,高達45000 CoreMark 分值的性能,
OK1046A-C2采用的 LSI046A 四核處理器設計主頻1.8GHz,ARM Cortex-A72架構,使得它在資料處理方面擁有得天獨厚的優勢,相比于它的兩個哥哥OK1012A-C、OK1043A-C具有更強的資料處理性能,
OK1046A-C2開發板引出了兩路SFP+,最高通信率可達10Gbps 可安裝SFP+光模塊或電模塊;除此之外還引出了5路1GbpsEthernet,支持10M/100M/1000Mbps自適應,其中SGMII引出3路,RGMII引出2路,有8個SerDes通道用于高速外設介面,網口有多重配置方案:最多可支持五個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(P13下)口,輸入以下命令進行測驗:
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資源,其中5路網口均可通過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 進行資料轉發,網路拓撲如下測驗:
如下所示:
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系列產品所特有的,
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/254874.html
標籤:其他
