Slashdot Mirror


When 54 Mbps isn't 54 Mbps: 802.11g's Real Speed

eggboard writes "Matthew Gast, author of 802.11 Wireless Networks, filed this article for O'Reilly Networks explaining exactly how fast 802.11g really is: that is, what's the actual data payload and real throughput, not the rated maximum speed. His conclusion? In mixed 802.11b/g networks, which will be common for years to come, g is only 1.6 to 2.4 times faster than b, not 5 times faster as it is in its g-only mode. This article has real math based on the specs, rather than armchair speculation."

38 of 127 comments (clear)

  1. In other news: by gerardrj · · Score: 4, Informative

    When you connect a 10bT NIC to a 100bT switch you get reduced throughput.

    EVERY medium that I've seen specs for published the actual bit rate of the wire/cable/fiber, not the end user throughput. They can't know that because they don't know what protocols you will be running over the network.

    --
    Article X: The powers not delegated... by the Constitution...are reserved...to the people
  2. Armchair calculations by Have+Blue · · Score: 3, Insightful

    This doesn't sound much better than armchair speculation either... Where are the real-world throughput benchmarks performed with actual equipment?

    1. Re:Armchair calculations by eggboard · · Score: 4, Insightful

      When I said "armchair speculation," I was referring to the mass of articles that come out that talk about Wi-Fi speeds without actually looking at how the technology works.

      Matthew has now provided a baseline. Someone could now perform real-world benchmarks against these theoretical maximums which are built into the standard.

      Matthew's numbers provide optimal performance guidelines for network planning. Real performance will, of course, be even lower.

      --
      Freelance tech journalist for the Economist, MIT Technology Review, Macworld, and others
    2. Re:Armchair calculations by Wesley+Felter · · Score: 3, Interesting

      I agree; it seem like it would have been much less work to run benchmarks than to come up with a theoretical model. But at least someone is giving us real data: Small Net Builder 802.11g NeedToKnow - Part 2.

    3. Re:Armchair calculations by ReciprocityProject · · Score: 3, Funny

      Ugg. We've known we were getting screwed since before the "56k" modem. Nothing ever goes that fast. 1ghz processors are actually 998.5 mhz. Foot long hot dogs are actually nine inches.

  3. Is this really a new issue? by PrimeWaveZ · · Score: 4, Insightful

    Gigabit ethernet is supposed to be 100 times faster than good ol' 10BaseT. It is, at the root layer. Most devices can't push that much data through the pipe, and with wireless, there is MUCH more error correction that needs to be done in communicating back and forth. Wired networks (normally) don't have the kind of interference that 2.4 GHz-band devices now suffer from.

    1. Re:Is this really a new issue? by Hank+the+Lion · · Score: 2, Interesting

      Although you are heavily moderated up as insightful, it appears to me you have not read the article.
      Even with infinitely fast hardware for the error correction and no interference at all, thoughput of 802.11g will drop to 13.4 or even 8.9 Mbps once an 802.11b station associates to an 802.11g network. The 802.11b station does not even need to transmit actual data for this!

      So, yes, this is really a new issue stemming from the compatibility between 802.11g and 802.11b.
      Note that 802.11a does not have the same issues, as it does not try to be interoperable with 802.11b.

  4. Scandal! by Jack_Frost · · Score: 3, Funny

    100 Megabit Network does not actually deliver 100 Megabit transfer speeds. Film at 11.

  5. Quick rundown: by dbarclay10 · · Score: 2, Insightful

    Okay, I read the article, and here's a basic rundown (I think :):

    * 802.11g in a homogenous network (ie: only 802.11g access points) is faster than 802.11b (by a factor of five or so) *and* 802.11a (just a bit faster)
    * 802.11g in a heterogenous network (ie: some 802.11g access points, and some 802.11a access points _which have been "assosiated" with the 802.11g_) is rougly 1.5 to 2.5 times faster than 802.11b, depending on the type of collision-detection algorithm used.

    So, to sum up the summary: If you start replacing your 802.11b access points with 802.11g access points, you'll see some performance gain with 802.11g client devices right away. When all your 802.11b client devices are gone (and thus all the 802.11b access points), it'll be *way* faster. Faster even than 802.11a.

    Why is this billed as a bad thing? You get compatibility with your existing infrastructure, a little bonus performance now, and when the time comes, *bang* you get a big boost.

    This is the kind of thing that sysadmins such as myself LOVE :)

    --

    Barclay family motto:
    Aut agere aut mori.
    (Either action or death.)
    1. Re:Quick rundown: by rusty0101 · · Score: 4, Informative

      Why is this billed as a bad thing?

      For those who understand how this works, it is not a bad thing. However the hardware is being marketed to the general public.

      As a result you can expect that people who see the 5 x faster than b are going to completely skip the small text that disclaims this on the back of the box. I think everyone would be surprised if this did not include a significant number of ostensibly technically inclined writers who will report that they did not see the improvements advertised, and who will subsequently give the technology a bad rap.

      One fix for this would be to make APs that ran dual modes, but on different channels. For example 'b' on channel 3 and 'g' on channel 9. The AP would have to be able to buffer traffic between the two channels, but it would have to do so if it were acting as a repeater in any case, which I believe it has to to operate in both b and g modes.

      I do not know if this is likely to happen, or is part of the spec already. If it is, then people should expect to see a significant performance boost.

      -Rusty

      --
      You never know...
    2. Re:Quick rundown: by Coldeagle · · Score: 2, Informative

      What everyone has to remember is it's not the transfer speeds that really matters IMHO. The additional available bandwith that is available is what the plus is for me. I had 14 computers on an 802.11b network and they crawled, now with a 802.11g AP, they cook, because they have more bandwidth to share. If they could come up with an AP that acts as a switch, now that would be cool!

    3. Re:Quick rundown: by eggboard · · Score: 2, Interesting

      Great idea -- there's a company called Engim that has a very cool set of chips that allow you to run 3 or more channels of Wi-F at the same time: you can choose to run some using a, b, or g, depending on the configuration.

      So you could have one AP with "a" on one of the 8 indoor "a" channel, "b" on a non-overlapping 2.4 GHz channel, and "g" on another one. You could offer "g" twice and "b" once. And so on.

      --
      Freelance tech journalist for the Economist, MIT Technology Review, Macworld, and others
  6. Just read the labels... by rjstanford · · Score: 4, Informative

    Even the manufacturers make this point. From apple's site:

    If a user with an AirPort-enabled computer or a Wi-Fi certified 802.11b product joins an AirPort Extreme wireless network, that user will get up to 11 Mbps and the AirPort Extreme users on the same wireless network will get less than 54 Mbps. To achieve maximum speed of 54 Mbps the wireless network may only have AirPort Extreme-enabled computers on it.

    Its not like this was quite the surprise its being made out to be...

    --
    You're special forces then? That's great! I just love your olympics!
    1. Re:Just read the labels... by rsmith-mac · · Score: 2, Informative

      FYI, you can force the AirPort Extreme base station to run in pure 802.11g, mixed mode, or pure 802.11b, so when in pure g mode, you can ensure to a large extent that you won't be losing bandwidth to b clients.

  7. Re:Quick rundown: (corrected, mod this one up) by dbarclay10 · · Score: 5, Informative

    (Sorry for the parent post, I made a typo. Just s/802.11a/802.11b/ in the second bullet point. "oops" :)

    Okay, I read the article, and here's a basic rundown (I think :):

    • 802.11g in a homogenous network (ie: only 802.11g access points) is faster than 802.11b (by a factor of five or so) and 802.11a (just a bit faster).
    • 802.11g in a heterogenous network (ie: some 802.11g access points, and some 802.11b access points which have been "assosiated" with the same network as the 802.11g access points) is rougly 1.5 to 2.5 times faster than 802.11b, depending on the type of collision-detection algorithm used. This setup is not as fast as 802.11a.

    So, to sum up the summary: If you start replacing your 802.11b access points with 802.11g access points, you'll see some performance gain with 802.11g client devices right away. When all your 802.11b client devices are gone (and thus all the 802.11b access points), it'll be way faster. Faster even than 802.11a.

    Why is this billed as a bad thing? You get compatibility with your existing infrastructure, a little bonus performance now, and when the time comes, bang you get a big boost.

    This is the kind of thing that sysadmins such as myself LOVE :)

    --

    Barclay family motto:
    Aut agere aut mori.
    (Either action or death.)
  8. Maybe I just can't summon the righteous anger by chriso11 · · Score: 5, Insightful

    Oh, so I only get a 60% faster connection? Given that soon enough the price differential between B & G will be gone, I still think G is the superior choice. When the wireless cards are only $15 to $20, I think that pure G networks will be much more common. And then you will get much higher throughputs.

    Maybe they should go after Dannon yogurt for decreasing the size of their container to 6oz from 8oz, but keeping the price constant. Then at least they would be reporting on something I could care about.

    --
    No, I don't trust in god. He'll have to pay up front, like everybody else.
  9. but it doesn't slow down the rest of the connectio by Barbarian · · Score: 4, Insightful

    However, when you connect a 10baseT NIC to a 100baseT switch, you don't slow down the rest of the connections to the switch, which can still operate at 100baseT. The situation with wireless, a shared medium, is more analogous to connecting a 10 baseT NIC to a 100/10 baseT auto sensing hub--when you hook up that 10baseT card, it slows down the rest of the hub to 10 baseT.

  10. Top 5 Reasons to Avoid Wireless by Amsterdam+Vallon · · Score: 5, Funny

    5.) It's still too slow to download Celeste-Virtual_BJ.avi in a reasonable time
    4.) You're not a cafe communist with a computer and a four dollar cup of coffee.
    3.) The low-bandwidth version of Slashdot doesn't have those cool 1997 .GIF icons.
    2.) The babes dig retro shit these days, like 14.4bps dial-up.
    1.) Your life revolves around physical things, not six-hundred dollar mp3 players (iPaqs, etc.)

    --

    Reply or e-mail; don't vaguely moderate. Ex-O'Reilly/MIT employee, now a full-time Google employee.
  11. At least A/B/G Atheros-based cards work now by m_chan · · Score: 2, Informative

    Thanks to MADWIFI and this postI was able to get my Netgear WAG 511 working in a laptop in under five minutes. A walk in the park compared to the last time I configured wireless on my laptop.

    I have not had a chance to thoroughly test it in a multi-signal environment, but the throughput is solid on B. There have been some drop-outs but I blame the D-Link access point to which I am connecting. (DWL-1000AP=junk, but at least it was inexpensive).

    The WAG511 was on sale at Fry's for $80; I haven't seen it significantly cheaper on line, so I grabbed two.

    This afternoon I am working on getting another card to work in a desktop with a pcmcia adapter to act as a host so I can unload the D-Link; then the higher-speed testing can begin. I have nothing but good things to say about the Netgear card so far. Thanks to all those who are doing the heavy lifting to make A/G support possible.

  12. Basic math... by SunPin · · Score: 2, Interesting

    ok, so on a straight g system, you get 5 times the rate of b wireless... b gets ~11Mper second times 5 = 55... a nice approximate number to 54... where is the problem? Why is this a controversy worth discussing?

    --
    Laws are for people with no friends.
  13. TCP model oversimplified by kuknalim · · Score: 5, Insightful
    I stopped reading the article when i got to this:

    "Furthermore, the model ignores the sophistication in the TCP acknowledgement model. To avoid constraining throughput, TCP uses "sliding windows" and allows multiple outstanding frames to be transmitted before acknowledgement. In practice, TCP acknowledgements can apply to multiple segments, so this model overstates the impact of higher-layer protocol acknowledgements."

    This reduces the "TCP" he uses to a stop-and-wait protocol.

    1. Re:TCP model oversimplified by pla · · Score: 5, Informative

      This reduces the "TCP" he uses to a stop-and-wait protocol.

      Unfortunately, I have no mod points, but I really wish I did so I could throw one your way.

      Apparently, of all the supposed techies reading the article, only you caught that problem (hey, I'll admit it, even I glazed over on the details, so kudos to you). And that one change of his TCP simulation makes ALL the difference - If you take out all the part of a protocol that make it play well in a multiple-speed in-and-out environment, then yes, in fact, it will behave only slightly better than the worst speed in any direction. Almost a trivial statement, yet the parent post's entire premise rests on this one idea.

      Sad. And again, kudos, good catch.

    2. Re:TCP model oversimplified by seanadams.com · · Score: 2, Informative

      Indeed, what kind of dingbat throws out all that "sophisticated" stuff above the link layer and tries to estimate throughput using "real math"? The only way to get REAL numbers is by simply measuring the actual transfer. Not that it's impossible to model TCP's behavior mathemtically but jesus why bother for this?

      Anyway on a slight tangent here... one thing that's interesting about TCP is that on very low latency media like an ethernet or 802.11 LAN, usually TCP actually performs *better* when you limit its window to as little as one or two segments. Otherwise it's just bumping up against the ceiling all the time and causing timeouts (doubling cwnd when you're already at the max usually loses enough packets that you don't get a fast retransmit). During initial startup of the connection the timeouts are quite long, which is why file transfers on a local LAN usually start out slow and don't get fast until they've been running for several seconds.

  14. Informative? by Wesley+Felter · · Score: 4, Insightful

    You didn't even look at the article, did you? There was no testing. The author didn't model TCP windowing at all, and he even failed to take delayed ACKs into account.

  15. 54 Mbps or not by abhisarda · · Score: 2

    You'll save yourself some grief if you get yourself a wireless card.
    I got myself one too. No regrets. ;)

  16. Re:Five times faster - 29 / 5.6 54 / 11 by Wesley+Felter · · Score: 3, Insightful

    It's easy enough to upgrade everything to g-mode only.

    Like iBooks? Like PDAs? Like wireless security cameras? There's more than laptops with PCMCIA wireless cards in the world.

  17. 802.11b is fast enough by toupsie · · Score: 4, Funny

    I have no complaints about the speed of my neighbor's wifi access point.

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
  18. Re:Speed by Wesley+Felter · · Score: 4, Informative

    But 802.11 isn't full duplex.

  19. Duh!? by pkhuong · · Score: 2, Interesting

    54 Mbps has never been the advertised real bandwidth for g. 54 Mbps is the speed at which data goes between your card and your router. Guess what? There's a lot of correction code, synchronisation, etc.

    Maybe the author should read the docs(RFCs aren't that ahrd to find, are they?) before jumping on a juicy story?

    Oh, and... DUPE! "lie" was already covered a few months ago. Heck, there even was the same conclusion: g gives you around 20 Mbps, VS what, 11 Mbps max on b?

    --
    Try Corewar @ www.koth.org - rec.games.corewar
  20. didn't they predict this way back in may? by fugu · · Score: 2, Informative
    slashdot posted this story back in may


    The Institute of Electrical and Electronics Engineers Inc. (IEEE) has approved a new and final draft standard for 802.11g wireless LANs that will have a true throughput for Internet-type connections of between 10M and 20Mbit/sec., far lower than 54Mbit/sec. raw data rate initially billed for the standard.
  21. Re:Quick rundown: (corrected, mod this one up) by ShadeARG · · Score: 5, Funny

    Holy ballz son. You've discovered a new formula!

    1) Post Insightfully with format errors
    2) Admit to mistake and repost with corrections
    3) Go from Insightful to Informative and reap in double the karma

    Niiice.

  22. Real Speeds by heli0 · · Score: 4, Informative

    Here are some real numbers.

    Best Performance among various hardware

    802.11g
    wep off: 15.5Mbps
    b card on network/wep off: 9.4Mbps
    wep on: 10.3Mbps

    802.11b
    wep off: 4.8Mbps

    --
    Whenever the offence inspires less horror than the punishment, the rigour of penal law is obliged to give way...
  23. Real Tests by heli0 · · Score: 2, Insightful

    "his article has real math based on the specs"

    Kinda like judging a car's performance based on "real math based on the specs" when you can actually test the real thing in the Real World.

    --
    Whenever the offence inspires less horror than the punishment, the rigour of penal law is obliged to give way...
  24. Finding A equipment by chill · · Score: 3, Informative

    Unfortunately, many retailers no longer stock any 802.11a equipment, other than a couple of "universal" a/b/g cards.

    I was in Best Buy and CompUSA and it is wall-2-wall 801.11g -- all "54 MBps!" in big, bold print.

    It is a shame, since the 5 GHz band is so less crowded. I think "A" equipment is going to fade into a niche and be harder and harder to find.

    --
    Learning HOW to think is more important than learning WHAT to think.
  25. Re:but it doesn't slow down the rest of the connec by seanadams.com · · Score: 3, Informative

    when you hook up that 10baseT card, it slows down the rest of the hub to 10 baseT.

    Not at all. An auto-sensing hub (does anyone still make these?) is actually a 10mbps segment bridged to a 100mbps segment. Each port connects to whichever segment it can talk to, and they're switched together internally. The whole thing does *not* drop to 10mbps when any 10mbps devices are present.

    It would be nice if B and G played that nicely in the same spectrum, but they don't.

  26. OT: In regards to your sig by The+Tyro · · Score: 2, Insightful

    I think that not taking them alive was an unfortunate, but reasonable, alternative.

    I used to be a cop, and did SWAT for about seven years... an assault on a fortified target like that is difficult in the best of circumstances, let alone in the midst of a hostile city, where you may or may not be able to guard your flanks. If that situation had turned into a prolonged siege, the brothers might have had the opportunity to contact local resistance elements, get some media attention, and shift the balance of that situation in their own favor, costing american lives. We already had multiple americans wounded in several attempts to make entry... how many more would have satisfied the critics?

    An assault on a fortified target like that is very, very difficult, particularly when the occupants are armed to the teeth and unwilling to be taken alive. With a single stairway as a choke point, you'd have to attempt to breach elsewhere to gain a tactical advantage... nobody is going to want to advance into that stairway's "fatal funnel."

    You would have to try to breach the ceiling (very hollywood, and not very practical in the real world), or breach one of the windows (thick, fortified glass). You could try to make entry from multiple points, or simply gunport those additional entry points... but you are talking about a prolonged, complex SWAT operation, something the military may not necessarily be set up to do, especially in that environment. You could try gas, but that doesn't always work. I've been on ops where we gassed the hell out of people, and they shook it off, even without gas masks. You could try the Russian "fentanyl" gas... might kill them anyway, and they'd be just as dead as if they were shot...

    This operation was 101st, as I recall, and they are reasonably high speed. Don't get me wrong... the Delta/SEAL operators are the best, and their CQB skills are top-notch; I've trained with some of them, and I was impressed... but their mission and mindset are a bit different from a civilian SWAT team. They are soldiers in a war, not police officers, and their response in a hostile environment may not be optimal in a perfect world, but is certainly objectively reasonable considering the circumstances.

    It would have cost lives, and valuable time to attempt to inject civilian SWAT tactics into that environment... I can certainly understand why they chose to do it the way they did.

    They at least made an effort to take them alive... if I were that local commander, I wouldn't have squandered the lives of my men on two scumbags like Uday and Qusay either.

    A trial and some iraqi justice would have been nice, but even so, they got what they deserved.

    --
    Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes.
  27. I had kind of assumed.... by NanoGator · · Score: 2, Insightful

    ... that the 54mbits number measured how many bits fly through the air, not how many bits of the data you want carried from one end of the other. If it takes half the bits to guarantee delivery, then you still have a 54mbit connection, but only 27 of that is the data that you actually see.

    Maybe I'm just used to marketing-ese. I remember when video game cartridges were measured in bits and not bytes. I remember being stunned that the Sega CD could store 4.7 gigs of data. Too bad I had to divide that number by 8.

    Come to think of it, floppies were like that. "2 megs unformatted!"

    Marketing really sucks for computer geeks. We want hard data, they want to give us the highest (or lowest) numbers. Go fig. This particular industry would do much better to appeal to practical #'s and develop trust based on that.

    --
    "Derp de derp."
  28. Re:Five times faster - 29 / 5.6 54 / 11 by addaon · · Score: 2, Funny

    yes, if you equip it with a hack saw and a roll of duct tape so I can put it in my pocket and reassemble it afterwards.

    --

    I've had this sig for three days.