From 371667fcfb3f92593358cdfd3cd13b7fb5fe6a29 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 5 Oct 2021 19:33:37 +0200 Subject: 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 --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcp.c') diff --git a/tcp.c b/tcp.c index d42e9ab..bdd3260 100644 --- a/tcp.c +++ b/tcp.c @@ -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 for tcpi_bytes_acked, instead of * , but that doesn't include a definition for SOL_TCP -- cgit v1.2.3