8000 Tweak configuration for non-default stacks · freebsd-net/tcp-testsuite@1c5c5a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c5c5a6

Browse files
committed
Tweak configuration for non-default stacks
1 parent 3b0a976 commit 1c5c5a6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

snd-syn/snd-syn-rtx-max-number-ipv4.pkt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
+ 0.00 `sysctl -w net.inet.tcp.recvspace=65536`
4747
// Flush host cache.
4848
+ 0.00 `sysctl -w net.inet.tcp.hostcache.purgenow=1`
49+
// Ensure that the relevant sysctl variables have their value.
50+
+ 0.00 `sysctl -w -i net.inet.tcp.rack.timers.max_rto=64000`
51+
+ 0.00 `sysctl -w -i net.inet.tcp.bbr.timeout.max_rto=64`
52+
+ 0.00 `sysctl -w -i net.inet.tcp.rack_latest.timers.max_rto=64000`
53+
+ 0.00 `sysctl -w -i net.inet.tcp.bbr_latest.timeout.max_rto=64`
4954
// Create a blocking TCP/IPv4 socket
5055
+ 0.00 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
5156
// Make sure that the time limit for connection setup does not apply

snd-syn/snd-syn-rtx-max-number-ipv6.pkt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
+ 0.00 `sysctl -w net.inet.tcp.recvspace=65536`
4747
// Flush host cache.
4848
+ 0.00 `sysctl -w net.inet.tcp.hostcache.purgenow=1`
49+
// Ensure that the relevant sysctl variables have their value.
50+
+ 0.00 `sysctl -w -i net.inet.tcp.rack.timers.max_rto=64000`
51+
+ 0.00 `sysctl -w -i net.inet.tcp.bbr.timeout.max_rto=64`
52+
+ 0.00 `sysctl -w -i net.inet.tcp.rack_latest.timers.max_rto=64000`
53+
+ 0.00 `sysctl -w -i net.inet.tcp.bbr_latest.timeout.max_rto=64`
4954
// Create a blocking TCP/IPv6 socket
5055
+ 0.00 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
5156
// Make sure that the time limit for connection setup does not apply

0 commit comments

Comments
 (0)
0