Re: [ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-06-25 Thread David Marchand
On Tue, Jun 25, 2019 at 3:47 PM Ilya Maximets wrote: > On 23.05.2019 17:23, David Marchand wrote: > > When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 > > polled by pmd1 -> q1 polled by pmd0/q0 polled by pmd1), the current > > "Step 5" puts both pmds to sleep waiting for

Re: [ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-06-25 Thread Ilya Maximets
On 23.05.2019 17:23, David Marchand wrote: > When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 > polled by pmd1 -> q1 polled by pmd0/q0 polled by pmd1), the current > "Step 5" puts both pmds to sleep waiting for the control thread to wake > them up later. > > Prefer to make

Re: [ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-06-21 Thread Ian Stokes
On 6/20/2019 3:31 PM, David Marchand wrote: On Wed, Jun 19, 2019 at 3:40 PM Ian Stokes > wrote: On 5/23/2019 3:23 PM, David Marchand wrote: > When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 > polled by pmd1 -> q1 polled

Re: [ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-06-20 Thread David Marchand
On Wed, Jun 19, 2019 at 3:40 PM Ian Stokes wrote: > On 5/23/2019 3:23 PM, David Marchand wrote: > > When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 > > polled by pmd1 -> q1 polled by pmd0/q0 polled by pmd1), the current > > "Step 5" puts both pmds to sleep waiting for the

Re: [ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-06-19 Thread Ian Stokes
On 5/23/2019 3:23 PM, David Marchand wrote: When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 polled by pmd1 -> q1 polled by pmd0/q0 polled by pmd1), the current "Step 5" puts both pmds to sleep waiting for the control thread to wake them up later. Prefer to make them spin

[ovs-dev] [PATCH 3/5] dpif-netdev: Do not sleep when swapping queues.

2019-05-23 Thread David Marchand
When swapping queues from a pmd thread to another (q0 polled by pmd0/q1 polled by pmd1 -> q1 polled by pmd0/q0 polled by pmd1), the current "Step 5" puts both pmds to sleep waiting for the control thread to wake them up later. Prefer to make them spin in such a case to avoid sleeping an