diff options
author | Haiyang Zhang <[email protected]> | 2023-10-11 13:30:44 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-16 14:55:32 -0700 |
commit | 562b1fdf061bff9394ccd884456ed1173c224fdc (patch) | |
tree | e56864865571c6600af484f5e701ba535e6b8f32 /tools/perf/scripts/python/flamegraph.py | |
parent | 39d08b91646d83e87f7cbcd846b3ef33b1a53b79 (diff) |
tcp: Set pingpong threshold via sysctl
TCP pingpong threshold is 1 by default. But some applications, like SQL DB
may prefer a higher pingpong threshold to activate delayed acks in quick
ack mode for better performance.
The pingpong threshold and related code were changed to 3 in the year
2019 in:
commit 4a41f453bedf ("tcp: change pingpong threshold to 3")
And reverted to 1 in the year 2022 in:
commit 4d8f24eeedc5 ("Revert "tcp: change pingpong threshold to 3"")
There is no single value that fits all applications.
Add net.ipv4.tcp_pingpong_thresh sysctl tunable, so it can be tuned for
optimal performance based on the application needs.
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions