ls1043ardb bridge performance

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ls1043ardb bridge performance

354 次查看
martinm
Contributor I

Hi,

I tried to make simple bridging between fm1-mac2 and fm1-mac5 gigabit ports. I used this comand

flex-installer -i auto -m ls1043ardb -d /dev/mmcblk0 -r rootfs_lsdk2108_ubuntu_main_arm64.tgz

 to generate SD card image. After succesfull boot from SD card and login i run this commands:

ip addr add 192.168.3.80/24 dev fm1-mac1
ip route add default via 192.168.3.1
ip link add br0 type bridge
brctl setfd br0 0 #at to jede rovnou
ip link set fm1-mac2 master br0
ip link set fm1-mac5 master br0
ip link set fm1-mac6 master br0
ip link set up dev br0
ip link set up dev fm1-mac2
ip link set up dev fm1-mac5
ip link set up dev fm1-mac6
sysctl net.bridge.bridge-nf-call-iptables=0

 to set up ip access on port  fm1-mac1 and bridge between fm1-mac2,5,6.

Then I measured bidirectional performance via smartbits SMB200 gigabit cards RFC-1242 & RFC-2544 between fm1-mac2 and fm1-mac5 ports.

This is my results:

     
Frame SizePassed Rate(%)(01,01,01) to (01,03,01) (pks/sec)(01,03,01) to (01,01,01) (pks/sec)Total
  1GB -1GB1GB -1GB 
647,98118821118821237642
1288,016764167641135282
25610,99497614976199522
51259,11138889138889277778
151871,945846658466116932

 

Is it normal, that for 64B and 128B frame size is throughput only 80MBitsps?

Can I achieve full 1Gbit performance somehow (using DPAA/DPDK)?

Is somewhere some simple example how to set it up on this board? I tried to read some manuals about DPAA/DPDK, but I am not understand it much.

Is possible to configure fm1-macX ports like L2 switch without need much CPU power?

Thanks.

标签 (1)
0 项奖励
回复
1 回复

318 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Some suggestions about this test:
1. try to generate multiple-flows and make sure the multi-flows are spread across multi-cores. You can double confirm it through checking CPU usage "mpstat 1 -P ALL", or checking DPAA interrupts on each core.
2. disable netfilter if iptable/ebtable is not used (CONFIG_NETFILTER=n)

0 项奖励
回复