aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2023-11-07 15:24:21 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2023-12-11 16:34:09 +0100
commit7c20311b3d30b96576a95fec31f58e4d5e0d3234 (patch)
tree81e434bd02155f6519929562c8e9ee7ed6b303de /src
parentdevice: change Peer.endpoint locking to reduce contention (diff)
downloadwireguard-go-7c20311b3d30b96576a95fec31f58e4d5e0d3234.tar.xz
wireguard-go-7c20311b3d30b96576a95fec31f58e4d5e0d3234.zip
device: reduce redundant per-packet overhead in RX path
Peer.RoutineSequentialReceiver() deals with packet vectors and does not need to perform timer and endpoint operations for every packet in a given vector. Changing these per-packet operations to per-vector improves throughput by as much as 10% in some environments. Signed-off-by: Jordan Whited <jordan@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions