Network Throughput measure in LS1046ARDB using DPDK

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

Network Throughput measure in LS1046ARDB using DPDK

871 Views
Sakthi
Contributor II

Hi

I am working with LS1046ARDB Evaluation Board to develop a network based application. I have posted a few queries in previous post Solved: DPDK App build through Codewarrior IDE - NXP Community. Thank you for your response.

Now I am able to do build and debug the l2fwd application. Then i need to test the l2fwd application to analyze the throughput of the network. I have configured the LS1046ARDB board according to LSDK 20.12 User Guide are mentioned below.

In U-BOOT:
default_hugepagesz=1024m hugepagesz=1024m hugepages=4 isolcpus=1-3 bportals=s0 qportals=s0
iommu.passthrough=1

setenv dtb fsl-ls1046a-rdb-usdpaa.dtb

I have configured the u-boot environment variable for hugepages, cpu's and device-tree.

Kernel Config:

Core0, SGMII 1 & SGMII 2 - I have used for linux kernel

DPDK config:

RGMII 1 & RGMII 2 with rest cores are used for DPDK userspace.

After kernel booting, i have verified the hugepages, ethernet interfaces are properly assigned or not, it's properly assigned. Then i ran the l2fwd application with few arguments mentioned below.

#sudo ./l2fwd -c 0x3 -n 1 -- -p 0x3 -q 1 -T 0

I have few queries about l2fwd application are mentioned below:

Q1: l2fwd application is running successfully, when i am sending ARP type packet to port 0(RGMII 1) means it will forward the packet to port 1(RGMII 2). When I am sending IPv4 packets, l2fwd app does not forward the packet to corresponding port. Can you suggest me to forward the IPv4 packets in layer 2.

Q2: Next i have to analyze the throughput of network through the ARP type packet. I have 2 evaluation board(LS1046ARDB) named as EB1 and EB2. I made EB2 as a DUT(l2fwd) and EB1 for running packet generation application. I have used the pktgen_dpdk tool to generate the traffic with ARP type in EB1. I have connected EB1 RGMII 1 to EB2 RGMII 1 and EB1 RGMII 2 to EB2 RGMII 2. Then i start traffic on EB1 RGMII 1, then it will send to EB2 RGMII 1(l2fwd running here), so it will forward the traffic to EB2 RGMII 2. Then i was able to receive and capture the forward data in EB1 RGMII 2. Can you suggest me how to calculate the network throughput in pktgen_dpdk?

Let me know about how to test the l2fwd app with jperf tool also. I need to analyze the throughput through software instead of spirent test center.

Q3: Suggest me to run the l2fwd application with the arguments to achieve the maximum performance in the packet processing. EAL arguments-> Core, Memory channel. App arguments -> Queue.

Thanks is advance.

 

0 Kudos
Reply
0 Replies