Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:perf_and_log:benchmark.ipv6.routing [2019/07/09 12:43] – [Prerequisites] gwlim | docs:guide-user:perf_and_log:benchmark.ipv6.routing [2019/07/09 13:23] – [Server Network Settings] gwlim | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| In order to make full use of the bandwidth you are paying for, the router has to be able to process IPv6 network packets at rates that exceed the bandwidth of the subscription you are paying for. | In order to make full use of the bandwidth you are paying for, the router has to be able to process IPv6 network packets at rates that exceed the bandwidth of the subscription you are paying for. | ||
| - | You should not take benchmarks found online as a reference because it is now using OpenWRT iptables (Masquerade) to perform | + | You should not take benchmarks found online as a reference because it is now using OpenWRT iptables (Masquerade) to perform |
| For a graphical approach to testing you can follow the methods to utilise jperf to benchmark Network Address Translation performance as described below: | For a graphical approach to testing you can follow the methods to utilise jperf to benchmark Network Address Translation performance as described below: | ||
| Line 34: | Line 34: | ||
| - Plug the Client' | - Plug the Client' | ||
| - In order to simplify the steps involved we will use 2001: | - In order to simplify the steps involved we will use 2001: | ||
| + | |||
| + | ==== WAN Network Settings ==== | ||
| + | |||
| + | On the Client Computer using Web Browser, | ||
| + | |||
| + | | Protocol | Static | | ||
| + | |IPv6 Address | 2001:1::1 | | ||
| + | |IPv6 Prefix | 64 | | ||
| + | |Default Gateway | | | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Click Save and Apply. | ||
| + | |||
| + | ==== Server Network Settings ==== | ||
| + | |||
| + | On the Server use its own network configuration tool to set the network settings to | ||
| + | |||
| + | | Protocol | Static | | ||
| + | | IPv6 Address | 2001:1::4 | | ||
| + | | Prefix | 64 | | ||
| + | |Default Gateway | 2001:1::1 | | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Click Save and Apply. | ||
| + | |||
| + | ==== LAN Network Settings ==== | ||
| + | |||
| + | On the Client Computer using Web Browser, | ||
| + | |||
| + | | Protocol | Static | | ||
| + | |IPv6 Address | 2001:2::1 | | ||
| + | |IPv6 Prefix | 64 | | ||
| + | |Default Gateway | | | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Click Save and Apply. | ||
| ==== Client Network Settings ==== | ==== Client Network Settings ==== | ||
| + | |||
| + | On the Client use its own network configuration tool to set the network settings to | ||
| + | |||
| + | | Protocol | Static | | ||
| + | | IPv6 Address | 2001:2::2 | | ||
| + | | Prefix | 64 | | ||
| + | |Default Gateway | 2001:2::1 | | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Click Save and Apply. | ||
| + | |||
| + | ==== Network Settings Verification ==== | ||
| + | |||
| + | By this step your client should be able to ping the server successfully by the command: | ||
| + | < | ||
| + | You should get a series of ping echo response if not recheck your network settings or turn off your firewall on both the Client and the Server. | ||
| + | |||
| + | ===== Setting Up Jperf ===== | ||
| + | |||
| + | Extract the compressed files in Jperf to a folder. | ||
| + | If you are running Linux you might need to set the execute bit on jperf.sh. | ||
| + | Open a Terminal in that directory and run < | ||
| + | In Windows you run Jperf by double clicking jperf.bat. | ||
| + | In UNIX you run Jperf by executing jperf.sh. | ||
| + | |||
| + | ==== Set Server To Listen ==== | ||
| + | |||
| + | You should be able to see the jperf main screen. | ||
| + | |||
| + | You need to set the Jperf on the Server to listen first before we can run the Client. | ||
| + | |||
| + | Remember to check the IPv6 checkbox to bind to the IPv6 interface | ||
| + | |||
| + | For the Server, simply select Server and change the metric to Mbits for easy reference and comparison as shown below. | ||
| + | |||
| + | Then click run Iperf to set the Server to listening mode. | ||
| + | |||
| + | For TCP select TCP as shown below, for UDP select UDP | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Start Benchmark On Client ==== | ||
| + | |||
| + | For the Client Computer, simply select Client and enter the Server Address 2001:1::4 and change the metric to Mbits as well. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | For UDP, you need to set the bandwidth to line rate eg. 900Mbits and observe the actual throughput on the receiver Server as shown below | ||
| + | |||
| + | {{: | ||
| + | |||
| + | When you are ready click run Iperf to start the test. | ||
| + | After the test ends you should ALWAYS analyse the result on the Server for accuracy instead of the Client since only the network packets that get through matters not the packets generated. | ||
| + | |||
| + | {{media: | ||
| + | |||
| + | For the above picture it indicates that the Router will be generally sufficiently powerful enough for a < 250Mbps Internet Subscription Plan. | ||
| + | |||
| + | |Note that OpenWRT does Routing and Lookups in Software so any activities that taxes the Router' | ||
| + | |||
| + | {{tag> | ||
| + | |||