On Wed, Aug 14, 2024 at 10:49:42AM +0200, Eelco Chaudron wrote: > It is observed in some environments that there are much more ukeys than > actual DP flows. For example: > > $ ovs-appctl upcall/show > system@ovs-system: > flows : (current 7) (avg 6) (max 117) (limit 2125) > offloaded flows : 525 > dump duration : 1063ms > ufid enabled : true > > 23: (keys 3612) > 24: (keys 3625) > 25: (keys 3485) > > The revalidator threads are busy revalidating the stale ukeys leading to > high CPU and long dump duration. > > This patch records the last dump timestamp. If the flow was not dumped > for at least twice the idle time, we can assume the datapath flow now > longer exists and the ukey should be deleted. > > Reported-by: Roi Dayan <[email protected]> > Co-authored-by: Han Zhou <[email protected]> > Co-authored-by: Roi Dayan <[email protected]> > Signed-off-by: Han Zhou <[email protected]> > Signed-off-by: Roi Dayan <[email protected]> > Signed-off-by: Eelco Chaudron <[email protected]>
Acked-by: Simon Horman <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
