Skip to content

Commit ce75d5c

Browse files
committed
Modify some freebsd tcp stack argument(maxtcptw, finwait2_timeout), to improve test performance, and adjust the value according to actual needs when APP using it.
net.inet.tcp.finwait2_timeout=5000 net.inet.tcp.maxtcptw=128
1 parent 2db743c commit ce75d5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ net.add_addr_allfibs=1
282282
net.link.ether.inet.maxhold=5
283283

284284
net.inet.tcp.fast_finwait2_recycle=1
285+
net.inet.tcp.finwait2_timeout=5000
286+
net.inet.tcp.maxtcptw=128
285287
net.inet.tcp.sendspace=16384
286288
net.inet.tcp.recvspace=8192
287289
#net.inet.tcp.nolocaltimewait=1

0 commit comments

Comments
 (0)