forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ofproto-dpif-upcall: Hardcode max_idle to 1500ms.
Before this patch, OVS tried to guess an optimal max idle time for datapath flows based on the number of datapath flows relative to the limit. This caused instability because the limit was based on the dump duration which was affected by the max idle time. This patch chooses instead to hardcode the max idle time to 1.5s except in extreme case where the datapath flow limit is exceeded. 1.5s was chosen to ensure pings occurring at once per second stay cached in the datapath. Signed-off-by: Ethan Jackson <[email protected]> Acked-by: Joe Stringer <[email protected]>
- Loading branch information
Showing
2 changed files
with
6 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters