diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-31 01:49:05 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-31 01:49:05 +0300 |
commit | 736a55309de3f3f620c3af50b5b9a922b8421700 (patch) | |
tree | 7e459c0444b918afc4470831d67aeef8dbc8dac1 /net | |
parent | c5a2c734b4fe8b1a21d7f885241ce38a51651343 (diff) | |
parent | f24e29099f4faf1969151fb4b857fda16b7c1a72 (diff) | |
download | linux-736a55309de3f3f620c3af50b5b9a922b8421700.tar.xz |
Merge branch 'bpf-nfp-map-op-cache'
Jakub Kicinski says:
====================
This set adds a small batching and cache mechanism to the driver.
Map dumps require two operations per element - get next, and
lookup. Each of those needs a round trip to the device, and on
a loaded system scheduling out and in of the dumping process.
This set makes the driver request a number of entries at the same
time, and if no operation which would modify the map happens
from the host side those entries are used to serve lookup
requests for up to 250us, at which point they are considered
stale.
This set has been measured to provide almost 4x dumping speed
improvement, Jaco says:
OLD dump times
500 000 elements: 26.1s
1 000 000 elements: 54.5s
NEW dump times
500 000 elements: 7.6s
1 000 000 elements: 16.5s
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions