Re: [PATCH v3] kni: allow configuring the kni thread granularity

2021-11-24 Thread Tudor Cornea
Hi Ferruh, > As I tested both with KNI sample app and KNI PMD, change looks good, > practically we can't change the scheduler delay with existing code but > this patch enables it and lets configure performance/CPU usage trade of. > > Only possible change is to remove 'RTE_KNI_PREEMPT_DEFAULT' ma

Re: [PATCH v3] kni: allow configuring the kni thread granularity

2021-11-23 Thread Ferruh Yigit
On 11/22/2021 5:31 PM, Ferruh Yigit wrote: On 11/8/2021 10:13 AM, Tudor Cornea wrote: The Kni kthreads seem to be re-scheduled at a granularity of roughly 1 millisecond right now, which seems to be insufficient for performing tests involving a lot of control plane traffic. Even if KNI_KTHREAD_R

Re: [PATCH v3] kni: allow configuring the kni thread granularity

2021-11-22 Thread Ferruh Yigit
On 11/8/2021 10:13 AM, Tudor Cornea wrote: The Kni kthreads seem to be re-scheduled at a granularity of roughly 1 millisecond right now, which seems to be insufficient for performing tests involving a lot of control plane traffic. Even if KNI_KTHREAD_RESCHEDULE_INTERVAL is set to 5 microseconds,

[dpdk-dev] [PATCH v3] kni: allow configuring the kni thread granularity

2021-11-08 Thread Tudor Cornea
The Kni kthreads seem to be re-scheduled at a granularity of roughly 1 millisecond right now, which seems to be insufficient for performing tests involving a lot of control plane traffic. Even if KNI_KTHREAD_RESCHEDULE_INTERVAL is set to 5 microseconds, it seems that the existing code cannot resch