Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-22 Thread Bodireddy, Bhanuprakash
.org >>Subject: Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority >> >>On Tue, Aug 16, 2016 at 02:30:04PM +, Bodireddy, Bhanuprakash wrote: >>> >-Original Message- >>> >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] >>&

Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-18 Thread Daniele Di Proietto
le Di Proietto ; dev@openvswitch.org > >Subject: Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority > > > >On Tue, Aug 16, 2016 at 02:30:04PM +, Bodireddy, Bhanuprakash wrote: > >> >-Original Message- > >> >From: Daniele Di Proietto [mai

Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-18 Thread Bodireddy, Bhanuprakash
>-Original Message- >From: Flavio Leitner [mailto:f...@sysclose.org] >Sent: Thursday, August 18, 2016 2:15 PM >To: Bodireddy, Bhanuprakash >Cc: Daniele Di Proietto ; dev@openvswitch.org >Subject: Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority > >On

Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-18 Thread Flavio Leitner
On Tue, Aug 16, 2016 at 02:30:04PM +, Bodireddy, Bhanuprakash wrote: > >-Original Message- > >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] > >Sent: Tuesday, August 16, 2016 1:44 AM > >To: Bodireddy, Bhanuprakash > >Cc: dev@openvswitch.org; Flavio Leitner > >Subject: Re: [PAT

Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-16 Thread Bodireddy, Bhanuprakash
>-Original Message- >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] >Sent: Tuesday, August 16, 2016 1:44 AM >To: Bodireddy, Bhanuprakash >Cc: dev@openvswitch.org; Flavio Leitner >Subject: Re: [PATCH V6] netdev-dpdk: Set pmd thread priority > >I found a crash if apply this patch, "

Re: [ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-15 Thread Daniele Di Proietto
I found a crash if apply this patch, "dpdk-lcore-mask" is not set and "-c 0x1" is passed to "dpdk-extra". Also, I believe Flavio had a comment on the previous version of this patch. Would it be enough to use setpriority(2)? Thanks, Daniele 2016-08-15 8:19 GMT-07:00 Bhanuprakash Bodireddy < bha

[ovs-dev] [PATCH V6] netdev-dpdk: Set pmd thread priority

2016-08-15 Thread Bhanuprakash Bodireddy
Set the DPDK pmd thread scheduling policy to SCHED_RR and static priority to highest priority value of the policy. This is to deal with pmd thread starvation case where another cpu hogging process can get scheduled/affinitized on to the same core the pmd thread is running there by significantly imp