Change RWIN Value macOS Monterey 12.3 Stable Build
How do I change the RWIN value in macOS Monterey. I have created a sysctl.conf file and the RWIN value does not change. Here is below what my configuration is located in /etc/systctl.conf.
kern.ipc.somaxconn=2048
net.inet.tcp.rfc1323=1
net.inet.tcp.win_scale_factor=4
net.inet.tcp.sendspace=1042560
net.inet.tcp.recvspace=1042560
net.inet.tcp.mssdflt=1448
net.inet.tcp.v6mssdflt=1412
net.inet.tcp.msl=15000
net.inet.tcp.always_keepalive=0
net.inet.tcp.delayed_ack=3
net.inet.tcp.slowstart_flightsize=20
net.inet.tcp.local_slowstart_flightsize=9
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.icmp.icmplim=50
However Speedguide.net TCP Analyzer shows these results. The TCP Window is the value that needs to be optimized for a fast fiber connection.
« SpeedGuide.net TCP Analyzer Results »
Tested on: 2022.03.17 15:00
IP address: 172.226.x.xx
Client OS/browser: Mac OS (Safari 15.4)
TCP options string: 020405b40402080ab0995de10000000001030307
MSS: 1460
MTU: 1500
TCP Window: 64256 (not multiple of MSS)
RWIN Scaling: 7 bits (2^7=128)
Unscaled RWIN : 502
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 2570 kbps (257 Kilobytes/s)
BDP limit (500ms): 1028 kbps (103 Kilobytes/s)
MTU Discovery: ON
TTL: 49
Timestamps: ON
SACKs: ON
IP ToS: 00000000 (0)
MacBook Pro 14″, macOS 12.3