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.
Classifier partitions allowed skipping subtables when if was known from the flow's metadata field that the subtable cannot possibly match. This functionality was later implemented in a more general fashion by staged lookup, where the first stage also covers the metadata field, among the rest of the non-packet fields in the struct flow. While in theory skipping a subtable on the basis of the metadata field alone could produce more effective wildcards, on the basis of our testsuite coverage it does not seem to be the case, as removing the partitioning feature did not result in any test failures. Removing the partitioning feature makes classifier lookups roughly 20% faster when a wildcard mask is not needed, and roughly 10% faster when a wildcard mask is needed, as tested with the test-classifier benchmark with one lookup thread. Found by profiling with 'perf'. Signed-off-by: Jarno Rajahalme <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information
Jarno Rajahalme
committed
Aug 26, 2015
1 parent
5fcff47
commit a14502a
Showing
5 changed files
with
0 additions
and
288 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
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.