diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 19:33:37 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-05 20:02:03 +0200 |
commit | 371667fcfb3f92593358cdfd3cd13b7fb5fe6a29 (patch) | |
tree | 8dcbde0f9d1f3463d4c53f089d4cd8825c213c9d /tcp.c | |
parent | 78631ceb990ad10ce7f9c6a1f154c2edf0950870 (diff) | |
download | passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar.gz passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar.bz2 passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar.lz passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar.xz passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.tar.zst passt-371667fcfb3f92593358cdfd3cd13b7fb5fe6a29.zip |
tcp: Increase LOW_RTT_THRESHOLD to 10us
Sometimes we can get up to 6-7us minimum RTT for local connections too.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.c')
-rw-r--r-- | tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -367,7 +367,7 @@ #define PORT_DETECT_INTERVAL 1000 #define LOW_RTT_TABLE_SIZE 8 -#define LOW_RTT_THRESHOLD 5 /* us */ +#define LOW_RTT_THRESHOLD 10 /* us */ /* We need to include <linux/tcp.h> for tcpi_bytes_acked, instead of * <netinet/tcp.h>, but that doesn't include a definition for SOL_TCP |