srinivasvaradaraj
Regular Contributor
Folks,
Short version:
Your usb 3.0 device could be slowing down your wifi on you Mac. Read on ..
Long version:
I figured I would write this up to help save time for others. For the past weekend I was driving myself crazy trying to figure out the reason. This isn’t a technical explaination but an observation and possibly a resolution.
So here is my setup:
Late 2013 macpro (cylinder edition), OSX 10.10.2 .
Asus RT-AC68R.
The router and the computer are on the opposite ends of the same room, approx 6-7 feet apart.
There is only one device that (this computer) connects on this AP (AC via 3x3).
For the most part the mac and the router are stable with great TX and RX speeds. However, last weekend, I noticed that my mac would not negotiate beyond 866.7Mbps (2x2). I had recenty updated the asus firmware from 3.0.0.4.374.5656 to 3.0.0.4.378.4376 (latest at the time of this write up). As always I had reset and rebuilt the router after the firmware updates. So, naturally given this was the most recent change, I assumed that this was the cause for the reduced negotation and reduced throughput.
So, to troubleshoot and fix this I downgraded the router several times, tried alternate firmwares (Merlins) with different versions but none solved the issue. I then tried all the normal wifi troubleshooting, changing channels, setting the router to auto .. etc etc, none solved the issue.
Finally, it occurred to me that problem may actually be on the Mac side rather than the router itself. To confirm this, following several threads on mac focussed forums, I tried to downgrade the driver from 7.1 to 7.0 for the computer (.kext modification). However, this didn’t work. I did all the normal mac stuff Cmd+Opt+P+R.. but none of those worked either.
I then enabled wifi logging on the mac, Option+click on wifi. I studied the logs only find out the when wifi was toggled there was a reference to USB 3.0 devices. This give me the clue that something with USB 3.0 was potentially causing issues. I read several papers about the interplay between USB 3.0 and 2.4Gz
https://support.apple.com/en-us/HT201163(last one)
http://www.usb.org/developers/whitepapers/327216.pdf
I knew that unshielded usb 3.0 interfered with 2.4GHz but didn’t know about possible 5.0GHz. To verify if this was the cause, I disconnected all USB3.0 devices from the mac and sure enough I was back to 1300mbps TX and RX. I was able to reliably re-create the problem by disconnecting and reconnecting the USB 3.0 external HDD.
Anyway, I am thinking that the issue may not be direct interference from the device/cable but is a compensation at the driver level. The engineers may have chosen to drop the wifi card to a 2x2 configuration for both 2.4GHz and 5GHz to stablize wifi in the presence of USB 3.0 device.
Here are some throughput speeds between same two hosts on my network.
Without USB 3.0 device plugged in:
[root@clusterpc2 ~]# iperf -c 10.0.1.146 -t 30 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.0.1.146, TCP port 5001
TCP window size: 65.7 KByte (default)
------------------------------------------------------------
[ 5] local 10.0.1.76 port 39302 connected with 10.0.1.146 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-30.0 sec 2.27 GBytes 650 Mbits/sec
[ 4] local 10.0.1.76 port 5001 connected with 10.0.1.146 port 50058
[ 4] 0.0-30.0 sec 2.77 GBytes 793 Mbits/sec
With USB 3.0 device plugged in:
[root@clusterpc2 ~]# iperf -c 10.0.1.146 -t 30 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.0.1.146, TCP port 5001
TCP window size: 65.7 KByte (default)
------------------------------------------------------------
[ 4] local 10.0.1.76 port 39303 connected with 10.0.1.146 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-30.0 sec 1.52 GBytes 436 Mbits/sec
[ 5] local 10.0.1.76 port 5001 connected with 10.0.1.146 port 51855
[ 5] 0.0-30.0 sec 1.99 GBytes 569 Mbits/sec
Conlusion:
Given the state that Apple devs have chosen to reduce wifi speeds in the presence of USB 3.0 devices, and we know this is the cause. Its sad that we can’t have both on the Mac platform given these combinations.
Short version:
Your usb 3.0 device could be slowing down your wifi on you Mac. Read on ..
Long version:
I figured I would write this up to help save time for others. For the past weekend I was driving myself crazy trying to figure out the reason. This isn’t a technical explaination but an observation and possibly a resolution.
So here is my setup:
Late 2013 macpro (cylinder edition), OSX 10.10.2 .
Asus RT-AC68R.
The router and the computer are on the opposite ends of the same room, approx 6-7 feet apart.
There is only one device that (this computer) connects on this AP (AC via 3x3).
For the most part the mac and the router are stable with great TX and RX speeds. However, last weekend, I noticed that my mac would not negotiate beyond 866.7Mbps (2x2). I had recenty updated the asus firmware from 3.0.0.4.374.5656 to 3.0.0.4.378.4376 (latest at the time of this write up). As always I had reset and rebuilt the router after the firmware updates. So, naturally given this was the most recent change, I assumed that this was the cause for the reduced negotation and reduced throughput.
So, to troubleshoot and fix this I downgraded the router several times, tried alternate firmwares (Merlins) with different versions but none solved the issue. I then tried all the normal wifi troubleshooting, changing channels, setting the router to auto .. etc etc, none solved the issue.
Finally, it occurred to me that problem may actually be on the Mac side rather than the router itself. To confirm this, following several threads on mac focussed forums, I tried to downgrade the driver from 7.1 to 7.0 for the computer (.kext modification). However, this didn’t work. I did all the normal mac stuff Cmd+Opt+P+R.. but none of those worked either.
I then enabled wifi logging on the mac, Option+click on wifi. I studied the logs only find out the when wifi was toggled there was a reference to USB 3.0 devices. This give me the clue that something with USB 3.0 was potentially causing issues. I read several papers about the interplay between USB 3.0 and 2.4Gz
https://support.apple.com/en-us/HT201163(last one)
http://www.usb.org/developers/whitepapers/327216.pdf
I knew that unshielded usb 3.0 interfered with 2.4GHz but didn’t know about possible 5.0GHz. To verify if this was the cause, I disconnected all USB3.0 devices from the mac and sure enough I was back to 1300mbps TX and RX. I was able to reliably re-create the problem by disconnecting and reconnecting the USB 3.0 external HDD.
Anyway, I am thinking that the issue may not be direct interference from the device/cable but is a compensation at the driver level. The engineers may have chosen to drop the wifi card to a 2x2 configuration for both 2.4GHz and 5GHz to stablize wifi in the presence of USB 3.0 device.
Here are some throughput speeds between same two hosts on my network.
Without USB 3.0 device plugged in:
[root@clusterpc2 ~]# iperf -c 10.0.1.146 -t 30 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.0.1.146, TCP port 5001
TCP window size: 65.7 KByte (default)
------------------------------------------------------------
[ 5] local 10.0.1.76 port 39302 connected with 10.0.1.146 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-30.0 sec 2.27 GBytes 650 Mbits/sec
[ 4] local 10.0.1.76 port 5001 connected with 10.0.1.146 port 50058
[ 4] 0.0-30.0 sec 2.77 GBytes 793 Mbits/sec
With USB 3.0 device plugged in:
[root@clusterpc2 ~]# iperf -c 10.0.1.146 -t 30 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.0.1.146, TCP port 5001
TCP window size: 65.7 KByte (default)
------------------------------------------------------------
[ 4] local 10.0.1.76 port 39303 connected with 10.0.1.146 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-30.0 sec 1.52 GBytes 436 Mbits/sec
[ 5] local 10.0.1.76 port 5001 connected with 10.0.1.146 port 51855
[ 5] 0.0-30.0 sec 1.99 GBytes 569 Mbits/sec
Conlusion:
Given the state that Apple devs have chosen to reduce wifi speeds in the presence of USB 3.0 devices, and we know this is the cause. Its sad that we can’t have both on the Mac platform given these combinations.