Академический Документы
Профессиональный Документы
Культура Документы
Iperf is a commonly used network testing tool that can create TCP and UDP data streams and measure the
throughput of a network. Iperf allows the user to set various parameters that can be used for testing a network, or
alternately for optimizing or tuning a network. Iperf has a client and server functionality, and can measure the
throughput between the two ends, either unidirectonally or bi-directionally. You can download it in Sourceforce
http://sourceforge.net/projects/iperf . Iperf is a client server program. In our example, let us start "server" iperf at
location1 and let the "location2" be the client.
Server side : To start iperf as "server" service, use the "-s" flag.
Client side: For client side, iperf has to be initiated with "-c" option. There are lot of other options, which performs
different kind of testing. Few examples are explained below.
1) Measuring throughput using default iperf option. This connects to the iperf server mentioned and finds out the
network throughput.
Nagle's algorithm, named after John Nagle, is a means of improving the efficiency of TCP/IP networks by reducing
the number of packets that need to be sent over the network. [ http://en.wikipedia.org/wiki/Nagle%27s_algorithm ]
You can even run the client side on regular intervals using cron daemon and plot graphs (using mrtg or rrd) for the
throughput. Hope this is helpful.
0 comments: