Tuesday, December 4, 2018

tcp optimizing gen help

Hey so i posted earlier about poor VPN speeds but iv since adjusted my vpn settings.

now i have found that if i use Iperf and adjust the tcp window size i can get way better speeds

.\iperf-2.0.13a-win.exe -c 192.168.205.2 -w 98000k ------------------------------------------------------------ Client connecting to 192.168.205.2, TCP port 5001 TCP window size: 93.5 MByte ------------------------------------------------------------ [316] local 192.168.220.2 port 54951 connected with 192.168.205.2 port 5001 [ ID] Interval Transfer Bandwidth [316] 0.0-10.0 sec 104 MBytes 86.7 Mbits/sec =========================================================================================== .\iperf-2.0.13a-win.exe -c 192.168.205.2 -w 298000k ------------------------------------------------------------ Client connecting to 192.168.205.2, TCP port 5001 TCP window size: 284 MByte ------------------------------------------------------------ [196] local 192.168.220.2 port 55425 connected with 192.168.205.2 port 5001 [ ID] Interval Transfer Bandwidth [196] 0.0-10.0 sec 294 MBytes 246 Mbits/sec =========================================================================================== .\iperf-2.0.13a-win.exe -c 192.168.205.2 -w 2000000k ------------------------------------------------------------ Client connecting to 192.168.205.2, TCP port 5001 TCP window size: 1.86 GByte ------------------------------------------------------------ [316] local 192.168.220.2 port 55433 connected with 192.168.205.2 port 5001 [ ID] Interval Transfer Bandwidth [316] 0.0-10.0 sec 1.90 GBytes 1.63 Gbits/sec ====================================== =vs= stock ======================================= .\iperf-2.0.13a-win.exe -c 192.168.205.2 ------------------------------------------------------------ Client connecting to 192.168.205.2, TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [196] local 192.168.220.2 port 55443 connected with 192.168.205.2 port 5001 [ ID] Interval Transfer Bandwidth [196] 0.0-10.0 sec 8.63 MBytes 7.21 Mbits/sec 

so it can get goooooin but how do i force my clients to use this setting all the time. all tcp tuning iv found i havent found a way to set that number?

should i set 2 computers and somehow force this tcp setting and have people remote to the 2 computers to send files.

i feel like I would not use this as a policy on all my users computes

What settings can i put on the computers to have this window size be the default?

Iv seen some windows tuning stuff and have attempted to set them but when i rerun iperf with no w command its right back down the poor speeds. and my window size gose back to 64.

currently testing from LA to NY on a Mac mini and a windows 10 computer. both on 10g isp behind 3000d fortigates

should i also post this in sysadmin?



No comments:

Post a Comment