OpenWrt Forum Archive

Topic: How to do a proper wireless benchmark?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I have lots of wifi routers, tp-link wr741, wr841, wr1043 and ubiquiti routerboard with few different mini-pci cards and would like do a proper wifi test.

After I do some test I'll start wiki page with instructions for others and start filling results in benchmark table.

I would use always two of the same models to see how they perform before doing anything "crazy" like mixing different brands and models.

Has anybody done this? do you have any suggestions?

One router should be in ap and other in station mode, but should lan and wifi be in routing or in bridge mode? Is there any performance difference?

Does using 40 Mhz channel width make much difference? Are there any other non-default setting that should be turned on for maximum wifi performance?

(Last edited by valentt on 13 Feb 2012, 22:10)

valentt wrote:

Hi, I have lots of wifi routers, tp-link wr741, wr841, wr1043 and ubiquiti routerboard with few different mini-pci cards and would like do a proper wifi test.

After I do some test I'll start wiki page with instructions for others and start filling results in benchmark table.

I would use always two of the same models to see how they perform before doing anything "crazy" like mixing different brands and models.

Has anybody done this? do you have any suggestions?

One router should be in ap and other in station mode, but should lan and wifi be in routing or in bridge mode? Is there any performance difference?

Does using 40 Mhz channel width make much difference? Are there any other non-default setting that should be turned on for maximum wifi performance?

1. Nice.

2. What are you waiting for? Go test.

3. Good.

4. No and no suggestions.

5. Test both. Expect difference in performance.

6. Follow KISS and use defaults.

Tools to use iperf or jperf
Things you need to note:
1)Windows Size Higher better throughput usually 64k
2)Ensure little to no interference from neighbours
3)40MHZ for highest performance include 20MHZ for comparison and testing.

just a question intead of using the traditional ap and client mode test what about puuting both routers in adhoc mode and test

I tested two wr841 but had some issues with configuration, after I figure out the issue, I got iperf to run on both routers but not to run on laptops that are connected to wr841 lan ports. Laptops can ping each other but ipers gives error "no route to host" even when all firewall zones have "ACCEPT" rules, so I don't know what is the issue.

I tried few different settings and I got around 45 Mbits with 20 Mhz channel width and 47-50 Mbits with 40 Mhz channel width, even when iwconfig was showing 300 Mbits connection speeds.

I read on smallnetbuilder that wifi N routers could give upto 90 Mbits but on www.smallnetbuilder.com I saw that top 5 wifi routers all have bandwidth under 60 Mbits!
http://www.smallnetbuilder.com/lanwan/r … 2_4-ghz-dn

What were maximum transfer speeds you got over wifi using openwrt or default firmware, did anybody got bandwidth significantly over 60 Mbitsor it 50 Mbits maximum with current technology and cpu speeds in non-professional routers under 200$ ?

I'll update this post with mode detailed info in next few days.

(Last edited by valentt on 15 Feb 2012, 12:21)

1) switch client and server position... i think you used routed client so maybe one can reach the other's server but not vice-versa.


2) you should definetly get 100 Mbps with these boxes IN A RF CLEAN environment.. that depends on your luck and/or channel selection and/or placing far from any other RF source.


P.S. you could have tried also the WDS option on stock firmware to compare throughput wink

(Last edited by nebbia88 on 14 Feb 2012, 23:36)

Please see: OpenWrt 802.11 FAQ: wireless throughput.

The unanswered question is, how much "payload throughput" you can possibly get with IEEE 802.11n 300 MBit/s theoretically because of the protcol overhead.

1. We are talking about Layer2 here, so we do not call the datagrams packets, but frames.
2. Let us look at the frames. What kind of frames does Layer2 of IEEE 802.11 define? No, there is no page for that in the wikipedia... the kretins must have succeded in outcasting the nerds.
3. Do the math.

4. Once you know what is/should be possible, you measure.
5. What do you want to measure and what does the software you are employing truly measure?


I just created: OpenWrt Wiki: Datagram Structures and OpenWrt Wiki: wireless frames.

(Last edited by Orca on 15 Feb 2012, 11:27)

hi, am a non-technical person and  i have done something wrong with my router's ip address... i just put the ethernet cable between my laptop and ZTx modem.. and open the cosole page .. at that time internet was working .. i just change the ip adress there and after that conole page never opened in my laptop.. everything working on my bro's system but not mine... u guys can give any help with that?

risha wrote:

hi, am a non-technical person and  i have done something wrong with my router's ip address... i just put the ethernet cable between my laptop and ZTx modem.. and open the cosole page .. at that time internet was working .. i just change the ip adress there and after that conole page never opened in my laptop.. everything working on my bro's system but not mine... u guys can give any help with that?

Risha it is matter or online and forum netiquette not to hijack other people forum threads. Please start your own discussion and give as much detail as possible because that will enable others to help you faster.

Related topic [1] showed that stock tp-linl firmware have much better wireless performance. Any ideas why?
I'll also test stock firmware and report back my findings.

[1] https://forum.openwrt.org/viewtopic.php?pid=151782

Actually I missed this table from Smallnetbuilder:
http://www.smallnetbuilder.com/lanwan/r … hz-updn-40

If there is traffic in both directions bandwidth goes over 100 Mbit on most powerful routers!

Anybody got over 100 Mbits/s with openwrt? What hardware and how?

(Last edited by valentt on 15 Feb 2012, 20:43)

The question how to do a proper benchmark for 802.11 throughput is still open, it seems.



"got over 100Mbit/s" with that method in what environment?

The discussion might have continued from here.