File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ gateway=192.168.1.1
161161# FreeBSD network performance tuning configurations.
162162# Most native FreeBSD configurations are supported.
163163[freebsd.boot]
164- # If use rack/bbr which depend HPTS, you should set a greater value of hz, such as 100000 means a tick is 10us .
164+ # If use rack/bbr which depend HPTS, you should set a greater value of hz, such as 1000000 means a tick is 1us .
165165hz =100
166166
167167# Block out a range of descriptors to avoid overlap
@@ -215,3 +215,7 @@ net.inet.ip.forwarding=0
215215net.inet.tcp.functions_default =freebsd
216216# need by bbr, should enable it.
217217net.inet.tcp.hpts.skip_swi =1
218+ # Interval between calls to hpts_timeout_dir. default min 250us, max 256-512ms, default 512ms.
219+ net.inet.tcp.hpts.minsleep =250
220+ # [25600-51200]
221+ net.inet.tcp.hpts.maxsleep =51200
You can’t perform that action at this time.
0 commit comments