April 26, 2024
The New MacBook Air's 802.11ac Wi-Fi Performance is Being Limited By OS X

The New MacBook Air's 802.11ac Wi-Fi Performance is Being Limited By OS X

Posted June 24, 2013 at 11:48pm by iClarified
The new MacBook Air's 802.11ac Wi-Fi performance is being artificially limited by OS X, reports AnandTech.

The site previously tested the MacBook Air's 802.11ac performance using iPerf and found that the connection offered ~533Mbps of usable bandwidth in good conditions. However, after being asked by a friend what the real world transfer speeds were, Anand tested a file transfer between two Macs and was only able to obtain speeds of 21.2MB/s or 169.6Mbps.

"I disabled all other wireless in my office. Still, no difference. I switched ethernet cables, I tried different Macs, I tried copying from a PC, I even tried copying smaller files - none of these changes did anything. At most, I only saw 21.2MB/s over 802.11ac. I double checked my iPerf data. 533Mbps. Something weird was going on."


After some thorough testing, it appears the TCP window size being used by OS X for the AFP file transfer is at fault. The larger the window the more data can be sent before an acknowledgement needs to be received from the recipient. Modern TCP implementation support dynamic scaling of the window. This allows faster connections to send ACK packets less often in order to prevent the transfer from being slowed down.

The only way to get the full 533Mbps is by using a TCP window size that’s at least 256KB. I re-ran my iPerf test and sniffed the packets that went by to confirm the TCP window size during the test. The results came back as expected. OS X properly scaled up the TCP window to 256KB, which enabled me to get the 533Mbps result.

I then monitored packets going by while copying files over an AFP share and found my culprit: OS X didn’t scale the TCP window size beyond 64KB, which limits performance to a bit above what I could get over 5GHz 802.11n on the MacBook Air. Interestingly enough you can get better performance over HTTP or FTP, but in none of the cases would OS X scale TCP window size to 256KB - thus artificially limiting 802.11ac.


Unfortunately, a fix for this issue isn't available as of yet. Anand could not find one and the issue is still present in OS X Mavericks. Apple has been informed and hopefully will take steps to address the problem in a future update.


Many more details at the link below...

Read More [via Vic]


The New MacBook Air's 802.11ac Wi-Fi Performance is Being Limited By OS X

The New MacBook Air's 802.11ac Wi-Fi Performance is Being Limited By OS X

The New MacBook Air's 802.11ac Wi-Fi Performance is Being Limited By OS X
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (1)
You must login or register to add a comment...
Chris
Chris - June 25, 2013 at 10:24am
What about Windows? Do the bootcamp drivers give you the full speed?
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS