Thursday, June 6, 2013

Test Network Performance

iperf 
Start Server
    -s (start the “server” which will receive the data)
    -w 32768 (change the TCP window size to 32 KB, default is a bit low 8 KB)
    The tool will listen on TCP port 5001 at default.

    iperf -s -w 32768

Start Client
    -c IP-ADDRESS (the IP address to the other computer)
    -w 32768 (to raise the TCP window size)
    -t SECONDS (the number of seconds to send data)
    -P 8 (the number of alternate streams to increase throughput, must be uppercase P)

    iperf -c IP -P 8 -t 30 -w 32768 {-d}

     If you want to test the full duplex network performance, that is, transmitting and receiving at the same time, just add the -d option at the client.

pathtest

No comments: