Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
21/02/2022 21:10, Aaron Lee: > Hi Thomas, > > Actually I remembered in my previous setup I had run dpdk-devbind.py to > bind the mlx5 NIC to igb_uio. I read somewhere that you don't need to do > this and just wanted to confirm that this is correct. Indeed, mlx5 PMD runs on top of mlx5 kernel

Re: Are Intel CPUs better than AMD CPUs for DPDK applications?

2022-02-21 Thread Stephen Hemminger
On Mon, 21 Feb 2022 21:28:08 +0100 Staffan Wiklund wrote: > Stephen, thanks for your answer. > I realize the statement is very vague. > I was thinking of if there was something common in the design of Intel and > AMD CPUs respectively that has an impact on their use by DPDK applications. > Do

Re: Are Intel CPUs better than AMD CPUs for DPDK applications?

2022-02-21 Thread Staffan Wiklund
Stephen, thanks for your answer. I realize the statement is very vague. I was thinking of if there was something common in the design of Intel and AMD CPUs respectively that has an impact on their use by DPDK applications. Do you know if there is such a common design difference between Intel and

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Aaron Lee
Hi Thomas, Actually I remembered in my previous setup I had run dpdk-devbind.py to bind the mlx5 NIC to igb_uio. I read somewhere that you don't need to do this and just wanted to confirm that this is correct. Best, Aaron On Mon, Feb 21, 2022 at 11:45 AM Aaron Lee wrote: > Hi Thomas, > > I

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Aaron Lee
Hi Thomas, I tried installing things from scratch two days ago and have gotten things working! I think part of the problem was figuring out the correct hugepage allocation for my system. If I recall correctly, I tried setting up my system with default page size 1G but perhaps didn't have enough

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
21/02/2022 19:52, Thomas Monjalon: > 18/02/2022 22:12, Aaron Lee: > > Hello, > > > > I'm trying to get my ConnectX5 NIC working with DPDK v21.11 but I'm > > wondering if the card I have simply isn't compatible. I first noticed that > > the model I was given is MCX515A-CCA_Ax_Bx. Below are some of

Re: ConnectX5 Setup with DPDK

2022-02-21 Thread Thomas Monjalon
18/02/2022 22:12, Aaron Lee: > Hello, > > I'm trying to get my ConnectX5 NIC working with DPDK v21.11 but I'm > wondering if the card I have simply isn't compatible. I first noticed that > the model I was given is MCX515A-CCA_Ax_Bx. Below are some of the error > logs when running dpdk-pdump.

ConnectX5 Setup with DPDK

2022-02-21 Thread Aaron Lee
Hello, I'm trying to get my ConnectX5 NIC working with DPDK v21.11 but I'm wondering if the card I have simply isn't compatible. I first noticed that the model I was given is MCX515A-CCA_Ax_Bx. Below are some of the error logs when running dpdk-pdump. EAL: Detected CPU lcores: 80 EAL: Detected

Re: Mellanox performance degradation with more than 12 lcores

2022-02-21 Thread Дмитрий Степанов
Thanks for the clarification! I was able to get 148Mpps with 12 lcores after some BIOS tunings. Looks like due to these HW limitations I have to use ring buffer as you suggested to support more than 32 lcores! пт, 18 февр. 2022 г. в 16:40, Dmitry Kozlyuk : > Hi, > > > With more than 12 lcores

Re: Mellanox performance degradation with more than 12 lcores

2022-02-21 Thread Дмитрий Степанов
I get 125 Mpps from single port using 12 lcores: numactl -N 1 -m 1 /opt/dpdk-21.11/build/app/dpdk-testpmd -l 64-127 -n 4 -a :c1:00.0 -- --stats-period 1 --nb-cores=12 --rxq=12 --txq=12 --rxd=512 With 63 cores i get 35 Mpps: numactl -N 1 -m 1 /opt/dpdk-21.11/build/app/dpdk-testpmd -l 64-127

Re: Are Intel CPUs better than AMD CPUs for DPDK applications?

2022-02-21 Thread Stephen Hemminger
On Mon, 21 Feb 2022 16:14:26 +0100 Staffan Wiklund wrote: > Hello > > Do you know if there is a difference in support for DPDK that is provided by > Intel and AMD CPUs respectively? > > I talked to a person today claiming he has learned that Intel CPUs have > been preferred over AMD CPUs for

Are Intel CPUs better than AMD CPUs for DPDK applications?

2022-02-21 Thread Staffan Wiklund
Hello Do you know if there is a difference in support for DPDK that is provided by Intel and AMD CPUs respectively? I talked to a person today claiming he has learned that Intel CPUs have been preferred over AMD CPUs for some DPDK applications. This person had no document showing reasons for