diff options
author | 2024-11-09 13:22:58 -0800 | |
---|---|---|
committer | 2024-11-09 13:22:59 -0800 | |
commit | e4e3fd0a99d55e8cbc410d06f5ad159da157beba (patch) | |
tree | 937f05d064e392b6dc14002925032cc28b9c35e8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'r8169-improve-wol-suspend-related-code' (diff) | |
parent | neighbour: Create netdev->neighbour association (diff) | |
download | wireguard-linux-e4e3fd0a99d55e8cbc410d06f5ad159da157beba.tar.xz wireguard-linux-e4e3fd0a99d55e8cbc410d06f5ad159da157beba.zip |
Merge branch 'improve-neigh_flush_dev-performance'
Gilad Naaman says:
====================
Improve neigh_flush_dev performance
This patchsets improves the performance of neigh_flush_dev.
Currently, the only way to implement it requires traversing
all neighbours known to the kernel, across all network-namespaces.
This means that some flows are slowed down as a function of neigh-scale,
even if the specific link they're handling has little to no neighbours.
In order to solve this, this patchset adds a netdev->neighbours list,
as well as making the original linked-list doubly-, so that it is
possible to unlink neighbours without traversing the hash-bucket to
obtain the previous neighbour.
The original use-case we encountered was mass-deletion of links (12K
VLANs) while there are 50K ARPs and 50K NDPs in the system; though the
slowdowns would also appear when the links are set down.
====================
Link: https://patch.msgid.link/20241107160444.2913124-1-gnaaman@drivenets.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions