[dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-16 Thread Shirley Avishour
Hi, I have an application over dpdk which is consisted of the following threads each running on a separate core: 1) rx thread which listens on in a poll mode for traffic 2) 2 packet processing threads (for load balancing) 3) kni thread (which also runs on a separate core). the rx thread receives p

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-16 Thread Shirley Avishour
at 4:42 PM, Ferruh Yigit wrote: > On 1/16/2017 12:20 PM, Shirley Avishour wrote: > > Hi, > > I have an application over dpdk which is consisted of the following > threads > > each running on a separate core: > > 1) rx thread which listens on in a poll mode for traf

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-16 Thread Shirley Avishour
, Ferruh Yigit wrote: > On 1/16/2017 2:47 PM, Shirley Avishour wrote: > > Hi, > > As I wrote the kernel thread runs on a dedicated lcore. > > running top while my application is running I see kni_single and the cpu > > usage is really low... > > Is there any rate l

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-16 Thread Shirley Avishour
PM, Shirley Avishour wrote: > > Hi, > > As I wrote the kernel thread runs on a dedicated lcore. > > running top while my application is running I see kni_single and the cpu > > usage is really low... > > Is there any rate limitation for transmitting to the kernel inter

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-17 Thread Shirley Avishour
, Shirley Avishour wrote: > Hi, > KNI_KTHREAD_RESCHEDULE_INTERVAL is currently set to 5usec. how should I > tweak this value to get better performance? > and can you explain the use of KNI_RX_LOOP_NUM and what can I possibly > modify it to ? > > Thanks! > > > On Mon, Jan 16,

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-18 Thread Shirley Avishour
17954361 0 == == On Tue, Jan 17, 2017 at 7:57 PM, Ferruh Yigit wrote: > On 1/17/2017 5:46 PM, Ferruh Yigit wrote: > > On 1/16/2017 2:58 PM, Shirley Avishour wrote: > >> I am currently using the kernel interface for recording

Re: [dpdk-dev] drops while transmitting to the kni using rte_kni_tx_burst()

2017-01-23 Thread Shirley Avishour
> wake_up_process(kni->pthread); > } > > Thanks, > > Jason > > On Mon, Jan 16, 2017 at 6:42 AM, Ferruh Yigit > wrote: > >> On 1/16/2017 12:20 PM, Shirley Avishour wrote: >> > Hi, >> > I have an application over dpdk

[dpdk-dev] tcpreplay is stuck for a while when running with kni_thread

2017-05-10 Thread Shirley Avishour
Hi, When calling tcpreplay for any device and not necessarily the kni it can take a few minutes until the packet transmission starts. this occurs only when the kni_thread is running. I am running on Centos with kernel version 3.10 and libpcap version 1.5.3 I tried debugging the tcpreplay and notice

[dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-29 Thread Shirley Avishour
Hi, We are trying to run a dpdk based application one the same machine with other java based applications. In order to do that we isolated the dpdk application cores and disabled hyperthreading for those cores. But sporadically we encounter misses over the interface. We are running on a single sock

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-29 Thread Shirley Avishour
ELIST / --lcores COREMAP EAL parameter ? > > Did you try also the isolcpus Linux kernel parameter in order to isolate > cores from the general Linux scheduler? > > Regards, > Rami Rosen > > > On Tue, Jan 29, 2019 at 6:32 PM Shirley Avishour > wrote: > >> Hi, &

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-29 Thread Shirley Avishour
Hi Rami, This is the printout for cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=UUID=6f1a210b-a30f-456d-bf16-bbb210da5666 ro default_hugepagesz=2M hugepagesz=2M hugepages=4096 isolcpus=1-5 nohz_full=1-5 rcu_nocbs=1-5 The requires cpus are in fact isolated but jvm generate some

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-29 Thread Shirley Avishour
can be solved. > > Regards, > Rami Rosen > > > On Wed, Jan 30, 2019 at 9:05 AM Shirley Avishour > wrote: > >> Hi Rami, >> >> This is the printout for cat /proc/cmdline >> BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic >> root=UUID=6f1a210b-a30f-456

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-30 Thread Shirley Avishour
Hi Rami, This is correct but that is because the default value of the PF_NO_SETAFFINITY flags does not allow to set affinity to kernel threads from user space. I was looking for a way to change the kernel and recompile it to be able to block kernel threads from running on the cpu isolated cores. (s

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-30 Thread Shirley Avishour
Perhaps by modifying the function set_cpus_allowed() which sets the kernel threads flag with PF_NO_SETAFFINITY. To remark it in the kernel code and to recompile the code. On Wed, Jan 30, 2019 at 10:27 AM Shirley Avishour wrote: > Hi Rami, > This is correct but that is because the default

Re: [dpdk-dev] running dpdk application on the same machine with other none dpdk application

2019-01-30 Thread Shirley Avishour
Hi, I will consider that. Thanks again for your help. Shirley. On Wed, Jan 30, 2019 at 10:40 AM Rami Rosen wrote: > Hi Shirley, > > Hi, > It could be that this will work, but as I assume you know - > > This requires providing a patched kernel to end customers, some will not > like it, some > wil

[dpdk-dev] errors while working with dpdk cuckoo hash

2017-08-21 Thread Shirley Avishour
Hi, I am running an application over dpdk ver 16.04. My application massively inserting and deleting from a hash table using a key that can be very similar for many instances. I noticed that in some cases I am unable to find an entry while I am certain it was inserted successfully. I wrote a test

Re: [dpdk-dev] errors while working with dpdk cuckoo hash

2017-08-30 Thread Shirley Avishour
< pablo.de.lara.gua...@intel.com> wrote: > Hi Shirley, > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shirley Avishour > > Sent: Monday, August 21, 2017 12:37 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] errors whil

[dpdk-dev] using virtio driver in dpdk release 2.0

2016-07-19 Thread Shirley Avishour
Hi, We are using KVM for loading our VM using e1000 driver for the VM interface. we noticed that the maximum rate (rx/tx) I get is 10Mbps. I am currently attempting to move to virtio driver using dpdk release 2.0. >From the documentation it seems that I have to load my dpdk application with librte_