The Wi-Fi Professor: Perry Correll


Free Wi-Fi Tools: iPerf for Wi-Fi Performance Measurements

Continuing with the discussions of free Wi-Fi tools, we come to iPerf. Important note, iPerf is not specific to wireless and can be used in any IP environment; however increased interest in its use in Wi-Fi is the result of more administrators deploying 802.11n networks.

iPerf is an easy to use and very popular tool designed to measure communication channel characteristics, I strongly recommend every IT professional have a copy and be comfortable with its use. iPerf operates in a client server manner, generating traffic between two devices and measuring key network criteria. It provides feedback in easy to understand tables and graphs, showing throughput, packet loss, jitter etc. between the client and server. Using this information you are able to tweak (tune) TCP and UDP data settings to optimize connection. iPerf can be run from a command line or a GUI interface (called jPerf).

As mentioned, a primary purpose of iPerf is to allow you to ‘tune’ connections. I am not going to spend time going into depth on the variables of TCP or UDP but there are some basics worth mentioning.

When tweaking a TCP connection the place to start is the TCP window size, the window size determines the amount of traffic a client can transit at any one time.  If too much traffic is sent buffers can be exceeded, too little and the connection is not optimized. iPerf can be used to test transfer rates  across a link while varying the window size. Based on this testing the optimum window size can be determined and the network optimized. A good tutorial for more information on window size is available at http://www.rhyshaden.com/tcp.htm.

UDP traffic does not offer the guarantees of TCP, error or flow control. It is a connectionless protocol and often used for streaming information such as voice or data with no concern (at this layer) for loss. When tweaking a UDP connection the adjustment here is the packet size. UDP testing is useful in determining bandwidth, jitter and packet loss.

As I mentioned iPerf can be used in any IP environment, however of late there is increased interest in it for testing Wi-Fi links. As most are aware, RSSI values identified by many Wi-Fi clients only estimate what physical layer data rates you could expect. They typically do not take into consideration SNR (Signal to Noise Ratio), packet loss, management overhead and other conditions that influence the rating algorithms and define your actual layer 3 throughput numbers. As more and more users are moving to 11n for the increased bandwidth it offers, many want to see what the actual improvements are over legacy 11a/g throughputs.

The below graphic (using the GUI interface) is an example of a Wi-Fi throughput test between an iPerf client (wireless laptop) and an iPerf server (Xirrus Array), as you can see the throughput averaged in the 180Mbps range.  This is actual TCP throughput, not link rate.

iPerf

To simplify testing and as a value add for their customers, many vendors (including Xirrus) have integrated iPerf in their products.

Getting iPerf:

Iperf is copyrighted by the University of Illinois, except for the gnu_getopt.c, gnu_getopt_long.c, gnu_getopt.h files, and inet_aton.c, which are under the GNU General Public License.

Iperf 2.0.2 installer for Windows – Provided by Ted Fines (fines@macalester.edu) at Macalester College, St. Paul, MN.

To download iPerf, click here: kperf_setup.exe

iPerf tutorials:

http://openmaniak.com/iperf.php

http://pirlwww.lpl.arizona.edu/resources/guide/software/iperf/

Thanks for visiting, in a following post I will discuss some of the other ‘dials’ you can tweak and test with iPerf

The Prof


13 Comments so far
Leave a comment

Thanks for the info! I did a little research and found Jperf linked from . It was just what the doctor ordered for wifi (wireless) throughput! Thanks again.

Comment by Stephen

Oops… Jperf was linked from this page at openmaniak.com.

Comment by Stephen

I’d also like to recommend a free tool called WaveDeploy, the free version of which maps TCP performance to a physical location. This tool can be very valuable to identifying locations that have poor performance due to nearby interference sources, poor AP placement, etc. The Pro and Expert versions provide measurements across a wide variety of platforms including Windows, Linux, Mac OS, iPhone, etc. and provisions for testing at scale.

Comment by Glenn

[…] Re: There is a problem with your connection Never heard of it, but you might have packet loss since its wifi. Test that if you have some app that controls it if not check this out […]

Pingback by Win 7 There is a problem with your connection - Project Reality Forums

Excellent post. I was checking continuously this blog and I’m impressed! Extremely useful information specially the ultimate part 🙂 I take care of such information a lot. I used to be looking for this certain info for a long time. Thanks and good luck.

Comment by payment proof happyminer.com

Greetings! This is my first comment here so I just wanted to give a quick
shout out and tell you I really enjoy reading your posts.
Can you recommend any other blogs/websites/forums that go over the same subjects?
Appreciate it!

Comment by %anchor_text%

Some people known as Nikon one V1 a conveyable DSLR the place you are
able to just slip correct by way of your pocket but its shooting strength is
identical as that of a DSLR. Samsung M620 Black mobile is just big enough
to display four icons side by side and measures only 1. Approach more people than you think you need
and don’t be afraid to ask for names and contact information of other possible investors.

Comment by financial adviser

The rate of return against cost rises to 70% if the homeowner does
the job herself, although the work often requires a level of expertise that
is beyond the ability of most do-it-yourselfers. Here
are 10 easy steps you can take to lower your exposure
to tree pollen and other spring allergens, and keep allergy symptoms under control.
Usually take into account the following prior to cleaning your floors:.

Comment by just married

I am extremely impressed together with your writing skills and also with the format
to your weblog. Is that this a paid subject matter
or did you modify it your self? Anyway stay up the nice high quality writing, it
is uncommon to look a great weblog like this one nowadays.
.

Comment by netflicks

I leave a response when I especially enjoy a post on a website or I have something to
valuable to contribute to the conversation. It’s caused by the passion communicated in the post I browsed. And on this article Free Wi-Fi Tools: iPerf for Wi-Fi Performance Measurements | The Wi-Fi Professor: Perry Correll. I was moved enough to drop a thought 😛 I do have 2 questions for you if you do not mind. Could it be only me or does it give the impression like some of the comments appear like they are written by brain dead people? 😛 And, if you are posting on other social sites, I would like to keep up with anything new you have to post. Could you make a list the complete urls of your public pages like your Facebook page, twitter feed, or linkedin profile?

Comment by bathroom remodeling san diego

After looking at a few of the blog articles on your web site, I really like your
technique of blogging. I saved as a favorite it to my bookmark
site list and will be checking back soon. Please visit my web site as well and tell me what you think.

Comment by new mattress for back pain

I quite like reading through an article that will make people think.

Also, thank you for allowing me to comment!

Comment by dog training dc

If you would like to obtain much from this article then you have to apply such
methods to your won blog.

Comment by http://www.marcmywords.org/




Leave a reply to http://www.marcmywords.org/ Cancel reply