[dpdk-users] Memory consumption of struct rte_ring

2020-08-25 Thread Lego Lin
Hi, everyone: I am new for DPDK. Recently, I leveraged the DPDK library to address some performance issues. 1. rte_ring 2. rte_rwlock_t I have some questions 1. For rte_ring, what is the exact memory consumption? Example: I want create a rte_ring with size = 512K struct rte_ring * myring

[dpdk-users] about dpdk pdcp

2020-08-25 Thread Liu Hui3 (基站通信子公司-刘慧)
Hi When calling the function(rte_security_session_create) to create the security session of PDCP,what is the meaning of the parameter hfn_threshold passed in? I see that the comment says "HFN threshold for key regeneration", but I still don't quite understand its meaning. Would you please

[dpdk-users] high virtual memory on ver 18.11

2020-08-25 Thread U
hello: I have a doubt??my program has high virtual memory on ver 18.11?? but in ver17 has no such phenomenon! can you help?? thanks very much??

Re: [dpdk-users] DPDK application fails to start in KVM

2020-08-25 Thread David Christensen
On 8/25/20 10:02 AM, Jatin Sahu wrote: Error details: ERROR: This system does not support "RDRAND". Please check that RTE_MACHINE is set correctly. EAL: FATAL: unsupported cpu type. EAL: unsupported cpu type. RDRAND is an x86 CPU instruction (https://en.wikipedia.org/wiki/RDRAND). Your problem

[dpdk-users] DPDK application fails to start in KVM

2020-08-25 Thread Jatin Sahu
Hi, I was using the DPDK library in a VM environment. But during the application startup, the RTE initialization fails with the following error. Is there any limitation of using DPDK libraries with KVM. VM Details: [roamware@roamware ~]$ hostnamectl Static hostname: localhost.localdomain

Re: [dpdk-users] Low throughput when pushing multiple priorities within a VLAN

2020-08-25 Thread Erez Ferber
Hi, I suspect it is related to the egress QoS policy mechanism enabled by default on the ConnectX. I suggest you contact the local support team so they can suggest a proper solution. Regards, Erez On Tue, 25 Aug 2020 at 16:06, Alireza Sanaee wrote: > Hi, > > We have examined three NICs: > >

Re: [dpdk-users] Low throughput when pushing multiple priorities within a VLAN

2020-08-25 Thread Alireza Sanaee
Hi, We have examined three NICs: Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5] Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection Our DPDK version is 20.05.0-rc0, Intel NIC works

Re: [dpdk-users] Round-robin packet distribution

2020-08-25 Thread Pawel Wodkowski
Yes, I meant bytes. Thanks Tom. If you deal with encrypted traffic you can use the payload as random data and spread it using flow director. Constructing flow rules is painful process and be prepared that you case might not work if it is not coverd by test scenarios in DTS. Also you will have