cloyne / network

5 stars 5 forks source link

Actually getting Gigabit speeds #120

Open clonm opened 5 years ago

clonm commented 5 years ago

Sonic's faster currently. Need to finally follow through on this. Relevant to @kngnm, may require @mitar's help but I think the first step is just contacting HE.

clonm commented 5 years ago

Progress report:

Ping Speed

  1. in the web interface for any of our mikrotik routers, go to Tools > Ping Speed
  2. Enter the remote IP to test in the "Ping To" box
  3. Click start, wait about two minutes, then click stop. If it doesn't work, change the Big Packet Size to 1024 instead of 1500. Not sure why this is helping - see #72
  4. WRITE DOWN the remote IP, small packet size, big packet size, and average throughput values in the Getting to Gigabit spreadsheet.

Pros:

Cons/Caveats:

iperf (see tozd/iperf )

  1. Pick an iperf server - I've been testing with iperf.he.net (216.218.227.10) and iperf.scottlinux.com (173.230.156.66). You can also run iperf in server mode with iperf -s from within the network. server3 has an iperf server running in a docker container (so exec into the docker container first! you don't need to install iperf on the host).
  2. On the client, run iperf -c <server> -P 4 -f 'm' -r. The -P 4 means run with 4 threads in parallel. If this fails, try with 2. Increase the number of threads until the total throughput doesn't increase with more threads, then use the last value where more threads helped.
    • If using server3 as the server, you will need to pass a port number depending on the interface being tested. See spreadsheet notes for details.
  3. (possibly unnecessary) if running within network, switch directions: Run the client as server and the server as client. Remember to swap the address. This should be pretty much identical and has been so far in the tests I've done.
clonm commented 4 years ago

Running iperf from server2 which is now directly attached to BSCRouterHE, I get ~425 Mbps