Monday 11 February 2019

Does a wireless-N (802.11n) network have poor performance when in b/g "mixed" mode?


It seems to be an "old" wives tale that, when using a wireless-N router in "mixed mode" to support legacy 802.11b or 802.11g devices, the performance of 802.11n clients will suffer.




Some places claim that when running in mixed-mode, all (some?) N clients run at G speeds. Others make the same claim, but say it only happens when a G client is connected.


Other places say N clients run faster, but still run about 30% slower than if the router were in N-only mode, even if there are no legacy B/G clients connected.


Still others claim there is no speed drop for N clients when running on a mixed-mode network. They say the only issue is that overall network throughput will be lower, because only one client can be transmitting at any time, so some of that transmission time must be shared with the legacy B/G clients running at lower speeds, reducing the overall throughput from what it would be if there were only N clients connected.




So, which is it? Will running in mixed-mode slow down my network, even if there are no B/G clients? If I'm running N, will having another client connected at B/G slow me down substantially vs. if they were running N?



Answer



From Beginners Guide To Networks :



A: YES This is of course already well known, although the exact implications are often misunderstood. The presence of an 802.11B device on an G or N network causes the newer devices to have to resort to some kludgy behavior to make sure that the B devices don't transmit when the G/N devices are using the airwaves, and to make sure that both the B and G/N devices can see things like beacon packets.


The exact impact on throughput is hard to estimate generally, but it will NOT "slow the whole network to 802.11B" as is often stated. There is however a significant slowdown imposed by the mere presence of a B device, even when it is not active. We (Slim) did some testing of this a couple years ago and found that usually the throughput between the G devices dropped by 30-50% (eg from 20Mbps to 10Mbps), but not nearly as low as the speed of a B-only network (5Mbps in the same environment). The theoretical maximum throughput on 802.11g is 23 Mbps without any B devices associated, and 14Mbps with.



A: NO, except insofar as the air-time that they take when active will be at the G throughput level as opposed to the N level. I.e. the devices still each communicate at their optimal rate in each time slice.


Unlike in the 802.11B backward compatibility mode, G devices do not impose any performance-degrading behavior on N devices in order for them to be backward compatible. 802.11g devices are able to recognize the 802.11n preamble, and they play nicely in terms of knowing when one or the other is trying to transmit. The preamble tells which modulation scheme will be used, so the N devices can speak N, while G devices can speak G. They don't have to resort to "Esperanto" as with B in order to cooperate.


This means that when the G device is associated but not active, it has no impact at all. When the G devices are active they will consume air time roughly in proportion to the amount of data being transferred. This air time would of course be at the G rate as opposed to the N rate, so in the event that the airwaves are fully saturated (eg by a local file transfer), there would be some reduction in the total Mbps achievable by all devices collectively, but there is no penalty for having the G devices associated.


Confusingly, this appears to conflict with what is stated elsewhere - eg



  • "Running a mix of draft 11n and 11b/g clients on the same draft 11n router will reduce speed somewhat for the draft 11n client but reduce the speed of the 11g clients by more than half." at SmallNetBuilder

  • "In mixed mode, HT protection requires that 802.11n devices send a legacy preamble, followed by an HT preamble ... These HT protection mechanisms significantly reduce an 802.11n WLAN's throughput, but they are necessary to avoid collisions between older 802.11a/b/g devices and newer 802.11n devices." at TechTarget ANZ



A: YES, primarily because 802.11N radios have the benefit of more sophisticated multipath reception capability. They can thereby extend the range and throughput available to G devices to some degree.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...