diff options
author | Tonghao Zhang <[email protected]> | 2019-11-01 22:23:45 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-03 17:18:03 -0800 |
commit | 04b7d136d015f220b1003e6c573834658d507a31 (patch) | |
tree | cc22e3309f1c05eeb3b125f001ce5db6b8f3ad79 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ae8a76fb8b5d03fa2adc7249dc6131ba6a0c6119 (diff) |
net: openvswitch: add flow-mask cache for performance
The idea of this optimization comes from a patch which
is committed in 2014, openvswitch community. The author
is Pravin B Shelar. In order to get high performance, I
implement it again. Later patches will use it.
Pravin B Shelar, says:
| On every packet OVS needs to lookup flow-table with every
| mask until it finds a match. The packet flow-key is first
| masked with mask in the list and then the masked key is
| looked up in flow-table. Therefore number of masks can
| affect packet processing performance.
Link: https://github.com/openvswitch/ovs/commit/5604935e4e1cbc16611d2d97f50b717aa31e8ec5
Signed-off-by: Tonghao Zhang <[email protected]>
Tested-by: Greg Rose <[email protected]>
Acked-by: William Tu <[email protected]>
Signed-off-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions