Re: [ovs-dev] [PATCH v2] dpif-netdev: Load based PMD sleeping.

2023-01-06 Thread Kevin Traynor
On 21/12/2022 23:43, Ilya Maximets wrote: On 12/20/22 19:35, Kevin Traynor wrote: On 19/12/2022 16:18, Ilya Maximets wrote: On 12/16/22 18:50, Kevin Traynor wrote: Sleep for an incremental amount of time if none of the Rx queues assigned to a PMD have at least half a batch of packets (i.e. 16

Re: [ovs-dev] [PATCH v2] dpif-netdev: Load based PMD sleeping.

2022-12-21 Thread Ilya Maximets
On 12/20/22 19:35, Kevin Traynor wrote: > On 19/12/2022 16:18, Ilya Maximets wrote: >> On 12/16/22 18:50, Kevin Traynor wrote: >>> Sleep for an incremental amount of time if none of the Rx queues >>> assigned to a PMD have at least half a batch of packets (i.e. 16 pkts) >>> on an polling iteration

Re: [ovs-dev] [PATCH v2] dpif-netdev: Load based PMD sleeping.

2022-12-20 Thread Kevin Traynor
On 19/12/2022 16:18, Ilya Maximets wrote: On 12/16/22 18:50, Kevin Traynor wrote: Sleep for an incremental amount of time if none of the Rx queues assigned to a PMD have at least half a batch of packets (i.e. 16 pkts) on an polling iteration of the PMD. Upon detecting the threshold of >= 16

Re: [ovs-dev] [PATCH v2] dpif-netdev: Load based PMD sleeping.

2022-12-19 Thread Ilya Maximets
On 12/16/22 18:50, Kevin Traynor wrote: > Sleep for an incremental amount of time if none of the Rx queues > assigned to a PMD have at least half a batch of packets (i.e. 16 pkts) > on an polling iteration of the PMD. > > Upon detecting the threshold of >= 16 pkts on an Rxq, reset the > sleep

[ovs-dev] [PATCH v2] dpif-netdev: Load based PMD sleeping.

2022-12-16 Thread Kevin Traynor
Sleep for an incremental amount of time if none of the Rx queues assigned to a PMD have at least half a batch of packets (i.e. 16 pkts) on an polling iteration of the PMD. Upon detecting the threshold of >= 16 pkts on an Rxq, reset the sleep time to zero (i.e. no sleep). Sleep time will be