summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2023-01-11 09:35:01 +0000
committerIlya Maximets <i.maximets@ovn.org>2023-01-12 18:56:05 +0100
commitde3bbdc479a9a78135e1922e4e6011732515e7ef (patch)
tree0e637afa610a029ca0b68567361d56108934851b /NEWS
parentf4c884135139f0d9e309bcd58244191145c5abba (diff)
downloadopenvswitch-de3bbdc479a9a78135e1922e4e6011732515e7ef.tar.gz
dpif-netdev: Add PMD load based sleeping.
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 ( 59 us/iteration avg.) ... Reviewed-by: Robin Jarry <rjarry@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2f6ededfe..4f9291bf1 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,9 @@ Post-v3.0.0
- Userspace datapath:
* Add '-secs' argument to appctl 'dpif-netdev/pmd-rxq-show' to show
the pmd usage of an Rx queue over a configurable time period.
+ * Add new experimental PMD load based sleeping feature. PMD threads can
+ request to sleep up to a user configured 'pmd-maxsleep' value under
+ low load conditions.
v3.0.0 - 15 Aug 2022