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

2016-08-16 Thread Bodireddy, Bhanuprakash
Bhanuprakash <bhanuprakash.bodire...@intel.com> >Cc: Daniele Di Proietto <diproiet...@ovn.org>; Kavanagh, Mark B ><mark.b.kavan...@intel.com>; dev@openvswitch.org >Subject: Re: [ovs-dev] [PATCH v5] netdev-dpdk: Set pmd thread priority > >On Thu, Jul 28, 2016 at 03

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

2016-08-15 Thread Bodireddy, Bhanuprakash
>-Original Message- >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] >Sent: Wednesday, July 27, 2016 10:10 PM >To: Kavanagh, Mark B >Cc: Bodireddy, Bhanuprakash ; >dev@openvswitch.org >Subject: Re: [PATCH v5] netdev-dpdk:

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

2016-07-28 Thread Flavio Leitner
On Thu, Jul 28, 2016 at 03:39:58PM +, Bodireddy, Bhanuprakash wrote: > >-Original Message- > >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] > >Sent: Wednesday, July 27, 2016 10:10 PM > >To: Kavanagh, Mark B > >Cc: Bodireddy, Bhanuprakash

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

2016-07-28 Thread Bodireddy, Bhanuprakash
>-Original Message- >From: Daniele Di Proietto [mailto:diproiet...@ovn.org] >Sent: Wednesday, July 27, 2016 10:10 PM >To: Kavanagh, Mark B >Cc: Bodireddy, Bhanuprakash ; >dev@openvswitch.org >Subject: Re: [PATCH v5] netdev-dpdk:

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

2016-07-27 Thread Daniele Di Proietto
Thanks for the patch, the implementation looks good to me too. During testing I kept noticing that it's way too easy to make OVS completely unresponsive. As you point out in the documentation by having dpdk-lcore-mask the same as pmd-cpu-mask, OVS cannot even be killed (a kill -9 is required).

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

2016-07-27 Thread Kavanagh, Mark B
> >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

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

2016-07-27 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