Re: [ovs-dev] [PATCH v3 2/2] dpif-netdev: Add load based PMD sleeping.

2023-01-10 Thread Kevin Traynor
On 09/01/2023 15:23, David Marchand wrote: On Fri, Jan 6, 2023 at 4:00 PM 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

Re: [ovs-dev] [PATCH v3 2/2] dpif-netdev: Add load based PMD sleeping.

2023-01-10 Thread Kevin Traynor
On 09/01/2023 16:00, Robin Jarry wrote: Kevin Traynor, Jan 06, 2023 at 15:59: 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

Re: [ovs-dev] [PATCH v3 2/2] dpif-netdev: Add load based PMD sleeping.

2023-01-09 Thread Robin Jarry
Kevin Traynor, Jan 06, 2023 at 15:59: > 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

Re: [ovs-dev] [PATCH v3 2/2] dpif-netdev: Add load based PMD sleeping.

2023-01-09 Thread David Marchand
On Fri, Jan 6, 2023 at 4:00 PM 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

[ovs-dev] [PATCH v3 2/2] dpif-netdev: Add load based PMD sleeping.

2023-01-06 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