Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flow utility: performance measurement.
Based on work of Divakar Dharanalakota <ddivakar@juniper.net> Add perf mode to the flow utility. Perf adds requested number of flows in HOLD state, sets them in FWD state, then invalidates and displays time in miliseconds. The perf test may be conducted only once, after start of VRouter and before any flows are created. VRouter needs to be restared before running the test again, as generation IDs in flow requests wouldn't match with VRouter's internal count. flow -p <number of flows> - create requested number of HOLD flows, then create the same number of FWD flows, then invalidate them. Display time in miliseconds. flow -p <nb> -b <rqs in bunch> - the same as above + send requested number of netlink requests (up to 15) in a bunch. Change-Id: Ia22b643e05d7e05ce7925cb355353df4522ce6ae Closes-bug: #1555774
- Loading branch information
1 parent
d9d94a9
commit c03cb7b
Showing
3 changed files
with
275 additions
and
35 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
Oops, something went wrong.