{"id":23,"date":"2010-01-28T11:14:19","date_gmt":"2010-01-28T11:14:19","guid":{"rendered":"\/era\/jawlan\/?p=23"},"modified":"2010-02-05T08:17:56","modified_gmt":"2010-02-05T08:17:56","slug":"iperf-measuring-bandwidth","status":"publish","type":"post","link":"\/era\/jawlan\/2010\/01\/28\/iperf-measuring-bandwidth\/","title":{"rendered":"Iperf – Measuring Bandwidth"},"content":{"rendered":"

The following procedures should be used to test the bandwidth on all connects types in the field prior to performing any other tests to establish the quality of connection.<\/p>\n

Full details on what Iperf is and how to use it can be found here<\/a>. The tests can be performed via the Terminal or the GUI interface both of which give the same results but the GUI provides a useful visual representation to aid interpretation of results.<\/p>\n

<\/p>\n

Terminal Test<\/strong><\/p>\n

Pre field testing means having easy access to both client and server to perform the tests, but once in the field only the client steps would be performed.<\/p>\n

iPerf TCP Server<\/em><\/strong><\/p>\n

\"\"<\/a>

fig.1 server<\/p><\/div>\n

On the PC acting as a server open a new Terminal and enter the following command then hit enter: iperf -s This command starts iperf as a server using TCP as default and displays the port number being used.<\/p>\n

Fig.1 shows the output from the server. The results at the end of the test will be recorded by those monitoring the server.<\/p>\n

iPerf TCP Client<\/em><\/strong><\/p>\n

\"\"<\/a>

fig.2 client<\/p><\/div>\n

On the PC acting as the client open a new Terminal and enter the following command then hit enter: iperf -c <ip address><\/em> where ip address<\/em> is the ip address of the PC acting as the server. This command will perform a default 10 second test and display the results when complete.<\/p>\n

Fig.2 shows the output from the client. The results at the end of the test will be recorded by person in the field, interval, transfer and bandwidth.<\/p>\n

iPerf UDP Server<\/em><\/strong><\/p>\n

\"\"<\/a>

fig.3 server<\/p><\/div>\n

The test should also be performed using UDP as follows:<\/p>\n

On the PC acting as a server assuming that a Terminal is already running the TCP server enter the following keystroke to stop the iperf serve: ctrl+c Enter the following command then hit enter: iperf -su This command starts iperf as a server using UDP and displays the port number being used.<\/p>\n

Fig.3 shows the output from the server. The results at the end of the test will again be recorded by those monitoring the server.<\/p>\n

iPerf UDP Client<\/em><\/strong><\/p>\n

\"\"<\/a>

fig.4 client<\/p><\/div>\n

On the PC acting as a client assuming that a Terminal is already running enter the following command then hit enter: iperf -uc <ip address<\/em>> where ip address<\/em> is the ip address of the PC acting as the server. This command will perform a default 10 second test as before and display the results when complete.<\/p>\n

Fig.4 shows the output from the client. The results at the end of the test will again be recorded by person in the field. Note this output also includes what the server recorded, albeit without column headings which are: interval, transfer, bandwidth, jitter, lost, total datagrams.<\/p>\n

GUI Test – JPerf<\/strong><\/p>\n

\"\"<\/a>

fig.5 server<\/p><\/div>\n

As with the Terminal procedures pre field testing means having easy access to both client and server to perform the tests, but once in the field only the client steps would be performed.<\/p>\n

On the PC acting as a server open jperf by following the menu path: Places->Home Folder->ERA->jperf->jperf.2.02 and double click on the file jperf.sh, when prompted click on Run to start the GUI. As with the Terminal session, the default test is TCP. Click the server radio button to ensure the session runs as a server and select MBits for Output Format then click the Run Perf button. <\/p>\n

Fig.5 shows the output from the server.<\/p>\n

\"\"<\/a>

fig.6 client<\/p><\/div>\n

On the PC acting as a client open jperf by following the menu path: Places->Home Folder->ERA->jperf->jperf.2.02 and double click on the file jperf.sh, when prompted click on Run to start the GUI. Click the client radio button to ensure the session runs as a client and enter the server’s ip address in the server address field. Click the Run Perf button to perform the test. When the test is complete the results will be displayed graphically. Fig.6 shows the output from the client.<\/p>\n

Perform the test again but this time select the UDP radio button under ‘choose protocol to use’.<\/p>\n","protected":false},"excerpt":{"rendered":"

The following procedures should be used to test the bandwidth on all connects types in the field prior to performing any other tests to establish the quality of connection. Full details on what Iperf is and how to use it can be found here. The tests can be performed via the Terminal or the GUI […]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[22,20,23,21],"_links":{"self":[{"href":"\/era\/jawlan\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"\/era\/jawlan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/era\/jawlan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":54,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":153,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/posts\/23\/revisions\/153"}],"wp:attachment":[{"href":"\/era\/jawlan\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"\/era\/jawlan\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}