summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-08-08 23:56:14 +0200
committerBruno Martins <bgcngm@gmail.com>2023-11-06 09:28:24 +0000
commit745e9111c5bb16381cc6fc7ee67400d0390dd93e (patch)
tree962cd784df51a2cc7b8d260dbe45ce2ea430e500 /tools/perf/scripts/python
parent6e32b0370654b3c679a0ce2c97376066ebfe37f4 (diff)
receive: use ring buffer for incoming handshakes
Apparently the spinlock on incoming_handshake's skb_queue is highly contended, and a torrent of handshake or cookie packets can bring the data plane to its knees, simply by virtue of enqueueing the handshake packets to be processed asynchronously. So, we try switching this to a ring buffer to hopefully have less lock contention. This alleviates the problem somewhat, though it still isn't perfect, so future patches will have to improve this further. However, it at least doesn't completely diminish the data plane. Reported-by: Streun Fabio <fstreun@student.ethz.ch> Reported-by: Joel Wanner <joel.wanner@inf.ethz.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Change-Id: I6e515a2092f55c8dd9cd4962300c7d01fa23cd60
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions