Hi @hittzt,
Thank you for your patience.
According to the reference manual, Flexible Router classification would cause performance penalty. Therefore, to get the maximum performance of PFE, I suggest the Vlan Bridge mode. I did the tcp and udp tests and the configurations and results are as follow:
Disabled pfe0, pfe0sl, pfe1, pfess1, aux0, aux0sl in the BSP36,
manually load the .ko files in the kernel
insmod pfeng.ko
insmod pfeng-slave.ko disable_netlink=1
libfci_cli phyif-update -i emac2 --mode FLEXIBLE_ROUTER -P ON
libfci_cli logif-update -i s9.pfe2sl --mr DMAC --dmac 00:04:9f:be:ff:02
ifconfig pfe2sl 10.0.0.111
then set the host as client and S32G as server using the following command to test on the host.
iperf3 -c 10.0.0.111 -i 1 -t 30 -b 1000M -R -P 8
iperf3 -c 10.0.0.111 -i 1 -t 30 -b 1000M -R -P 8 -u
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-30.00 sec 519 MBytes 145 Mbits/sec 2624 sender
[ 8] 0.00-30.00 sec 483 MBytes 135 Mbits/sec 2722 sender
[ 10] 0.00-30.00 sec 444 MBytes 124 Mbits/sec 2631 sender
[ 12] 0.00-30.00 sec 427 MBytes 119 Mbits/sec 2807 sender
[ 14] 0.00-30.00 sec 408 MBytes 114 Mbits/sec 2700 sender
[ 16] 0.00-30.00 sec 381 MBytes 106 Mbits/sec 2721 sender
[ 18] 0.00-30.00 sec 360 MBytes 101 Mbits/sec 2623 sender
[ 20] 0.00-30.00 sec 345 MBytes 96.4 Mbits/sec 2730 sender
[SUM] 0.00-30.00 sec 3.29 GBytes 941 Mbits/sec 21558 sender
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 6] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 9] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 11] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 13] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 15] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 17] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253727 (0%) sender
[ 19] 0.00-30.00 sec 350 MBytes 98.0 Mbits/sec 0.000 ms 0/253725 (0%) sender
[SUM] 0.00-30.00 sec 2.74 GBytes 784 Mbits/sec 0.000 ms 0/2029814 (0%) sender
exchange the server and client the result will be a little different, and the number of threads also affects the result.
Hope this helps.
Thanks,
Mayank s Patel