In this testing, we will use window version of iperf.
1. Server side (IP 192.168.1.1/24)
a. execute server function on your workstation as Server in this testing
C:\iperf.performance test>iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
2. Client side (IP 192.168.2.1/24)
a. Testing with default value = 10 sec testing period
C:\iperf.performance test> iperf -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[884] local 192.168.2.1 port 1036 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[884] 0.0-10.0 sec 2.89 MBytes 2.41 Mbits/sec
Checking output of server side
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[760] local 192.168.1.1 port 5001 connected with 192.168.2.1 port 43218
[ ID] Interval Transfer Bandwidth
[760] 0.0-10.0 sec 2.66 MBytes 2.23 Mbits/sec
b. Testing with default value = 10 sec and window size = 100k
C:\iperf.performance test> iperf -w 100k -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 100 KByte
------------------------------------------------------------
[1912] local 192.168.2.1 port 43490 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-10.3 sec 2.83 MBytes 2.30 Mbits/sec
Checking output of server side
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[744] local 192.168.1.1 port 5001 connected with 192.168.2.1 port 43490
[ ID] Interval Transfer Bandwidth
[744] 0.0-10.3 sec 2.83 MBytes 2.31 Mbits/sec
c. Testing with default value = 100 sec and window size = 8k
C:\iperf.performance test> iperf -t 100 -c 192.168.1.1
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 192.168.2.1 port 43555 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-100.0 sec 26.7 MBytes 2.24 Mbits/sec
Checking output of server side
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[740] local 192.168.1.1 port 5001 connected with 192.168.2.1 port 43555
[ ID] Interval Transfer Bandwidth
[740] 0.0-100.0 sec 26.7 MBytes 2.24 Mbits/sec