How to obtain the best forward performance for 64B packet?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to obtain the best forward performance for 64B packet?

510 Views
yongquan
Contributor I

As described by pdf of "LS1043ARDB CORE/LINUX/USDPAA NETWORK BENCHMARK"

 

But i use LS1043ARDB broad configured as following:

1. configure and run testpmd:
export PATH=$PATH:/usr/local/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
export DPAA_NUM_RX_QUEUES=4
export DPAA_FMC_MODE=1
fmc -x
fmc -c /usr/local/dpdk/dpaa/usdpaa_config_ls1043.xml -p /usr/local/dpdk/dpaa/usdpaa_policy_hash_ipv4_4queue.xml -a


testpmd -l 0,1,2,3 -n 4 -- -i --nb-cores=3 --portmask=0x3f --txd=512 --rxd=128 --txq=4 --rxq=4 --txfreet=32 --rxfreet=32 --txrst=32
testpmd>set fwd io
testpmd>start


2. test throughtput with smarbit
just get 28% that is worse than the result(about 38%) on the pdf.

 

Is it a correct test way ?
How to get the best performance as described by nxp document ?

0 Kudos
1 Reply

481 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following procedure from the testing team.

root@NXP:~# fmc -x
root@NXP:~# mkdir -p /mnt/hugepages
root@NXP:~# mount -t hugetlbfs none /mnt/hugepages
root@NXP:~# export DPAA_FMC_MODE=1
root@NXP:~# fmc -c /root/dpdkfiles/usdpaa_config_ls1043.xml -p /root/dpdkfiles/usdpaa_policy_hash_ipv4_1queue.xml -a
root@NXP:~# export DPAA_NUM_RX_QUEUES=1
root@NXP:~# /root/dpdkfiles/testpmd -c 0xf -n 4 -- -a --coremask=0xe --portmask=0x3c --forward-mode=io --disable-hw-vlan

root@NXP:~# cat /proc/cmdline
root=/dev/mmcblk0p3 rw rootdelay=10 console=ttyS0,115200 ramdisk_size=0x10000000 bportals=s0 qportals=s0 isolcpus=1-3 mem=3072M default_hugepagesz=2MB hugepagesz=2MB hugepages=448

0 Kudos