Networking – If the Wi-Fi speed is 64 Mbit/s why do I get nowhere near it

networkingrouterwireless-networking

I was transferring a file from one computer to another. When my two computers were far from the router I was getting 1 megabyte per second, but when I had my laptop next to the router I was getting close to 3. However on Windows it says my Wi-Fi speed is 64 Mbit/s. Shouldn't that be around 8 megabytes per second? Shouldn't I be getting 3.5+ easily? Why am I getting sub 3?

I tried using an adhoc connection, and I was getting 3.5 Mbit/s when my laptop and desktop were next to each other. It is still much lower than 64 Mbit/s.

Best Answer

Wi-Fi is half duplex and has more overhead than Ethernet, so you never see TCP/IPv4 thruput even as high as 80% of your physical signalling rate (known as a "PHY rate").

Plus, when sending wireless to wireless, every packet takes up channel airtime twice: once from the source to the AP, then again from the AP to the destination.

So assuming both clients are getting a PHY rate of 64Mbps to/from the AP, first we divide that in half because of wireless to wireless (=32Mbps), then we multiply by, say, 0.7 to estimate 70% efficiency (=22.4Mbps), then we divide by 8.4 to roughly convert from megabits to MebiBytes, for an estimated TCP/IPv4 throughput of 2.66 MebiBytes/sec.

Add to that the potential protocol overhead of whatever you're using to copy your files (remote filesystem protocols like SMB are often inefficient), and it's almost a surprise you're getting much more than 2 MebiBytes/sec even assuming a constant PHY rate of 64Mbps.

Related Question