On Wed, Jan 11, 2023 at 10:35 AM Kevin Traynor <[email protected]> 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 time to zero (i.e. no sleep). > > Sleep time will be increased on each iteration where the low load > conditions remain up to a total of the max sleep time which is set > by the user e.g: > ovs-vsctl set Open_vSwitch . other_config:pmd-maxsleep=500 > > The default pmd-maxsleep value is 0, which means that no sleeps > will occur and the default behaviour is unchanged from previously. > > Also add new stats to pmd-perf-show to get visibility of operation > e.g. > ... > - sleep iterations: 153994 ( 76.8 % of iterations) > Sleep time (us): 9159399 ( 46 us/iteration avg.) > ... > > Reviewed-by: Robin Jarry <[email protected]> > Reviewed-by: David Marchand <[email protected]> > Signed-off-by: Kevin Traynor <[email protected]>
Checked v4 -> v5 diff. Reviewed-by: David Marchand <[email protected]> -- David Marchand _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
