kimmoli wrote:
Hi,
I have MacBook Pro 13" (Late 2013). After I upgraded Yosemite from 10.10.2 to 10.10.3, then my WiFi slowed down. WiFi connection seems to be stable, but I can see higher latency and small packet loss.
Here is report from mtr (combined traceroute and ping):
HOST: Kimmo-MacBook-Pro-2.local Loss% Snt Last Avg Best Wrst StDev
1.|-- homerouter.cpe 0.0% 100 6.5 54.4 2.9 225.5 72.2
2.|-- ggsn4.m.dnaip.fi 0.0% 100 26.0 93.0 21.9 328.7 81.4
3.|-- hel5-sr3.dnaip.fi 0.0% 100 23.3 99.7 22.0 338.7 79.7
4.|-- hel5-tr3.dnaip.fi 0.0% 100 217.2 107.3 22.6 316.4 84.6
5.|-- esp2-tr2.dnaip.fi 1.0% 100 125.7 90.6 22.6 269.9 72.1
6.|-- hol1-tr2.dnaip.fi 0.0% 100 29.6 95.9 24.1 312.8 83.9
7.|-- lah1-tr1.dnaip.fi 0.0% 100 39.6 104.1 23.2 364.0 87.6
8.|-- lah2-er1.dnaip.fi 0.0% 100 25.0 92.9 22.2 262.2 75.5
9.|-- lah2-er70.dnaip.fi 0.0% 100 27.7 109.4 19.2 329.6 86.7
10.|-- virtualwww-2.phnet.fi 3.0% 100 110.5 107.3 25.0 1047. 122.9
Average latency to destination is 107ms. Same time if I run nice trace from iPhone 6 Plus (which is connected to same wifi network), latency is always less than 40ms. I have also checked with Wireshark, that there is no inbound or outbound traffic which could describe the latency.
Here is FTP transfer from ftp.funet.fi:
lftp ftp.funet.fi:/dev> mget 100Mnull
104857600 bytes transferred in 54 seconds (1.84M/s)
I can get over 5 MB/s with Windows laptop.
It looks like some kind of internal buffer is full from time to time (or wifi driver is broken) and latency gets high from time to time.
Kimmo-MacBook-Pro-2:~ xxxx$ ping ftp.funet.fi
PING ftp.funet.fi (193.166.3.2): 56 data bytes
64 bytes from 193.166.3.2: icmp_seq=0 ttl=248 time=40.237 ms
64 bytes from 193.166.3.2: icmp_seq=1 ttl=248 time=54.343 ms
64 bytes from 193.166.3.2: icmp_seq=2 ttl=248 time=104.191 ms
64 bytes from 193.166.3.2: icmp_seq=3 ttl=248 time=146.785 ms
64 bytes from 193.166.3.2: icmp_seq=4 ttl=248 time=207.600 ms
64 bytes from 193.166.3.2: icmp_seq=5 ttl=248 time=251.258 ms
64 bytes from 193.166.3.2: icmp_seq=6 ttl=248 time=251.867 ms
64 bytes from 193.166.3.2: icmp_seq=7 ttl=248 time=27.704 ms
64 bytes from 193.166.3.2: icmp_seq=8 ttl=248 time=70.930 ms
64 bytes from 193.166.3.2: icmp_seq=9 ttl=248 time=30.851 ms
64 bytes from 193.166.3.2: icmp_seq=10 ttl=248 time=29.715 ms
64 bytes from 193.166.3.2: icmp_seq=11 ttl=248 time=25.392 ms
64 bytes from 193.166.3.2: icmp_seq=12 ttl=248 time=23.275 ms
64 bytes from 193.166.3.2: icmp_seq=13 ttl=248 time=72.797 ms
64 bytes from 193.166.3.2: icmp_seq=14 ttl=248 time=122.148 ms
64 bytes from 193.166.3.2: icmp_seq=15 ttl=248 time=170.822 ms
64 bytes from 193.166.3.2: icmp_seq=16 ttl=248 time=211.093 ms
64 bytes from 193.166.3.2: icmp_seq=17 ttl=248 time=230.666 ms
64 bytes from 193.166.3.2: icmp_seq=18 ttl=248 time=25.860 ms
^C
--- ftp.funet.fi ping statistics ---
19 packets transmitted, 19 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 23.275/110.397/251.867/83.267 ms
If I share internet connection from iPhone WiFi, i am seeing same latency issue, So the problem is not related to specific WiFi network.
If I log in with guest account, the problem seems to be gone.
If I shutdown AWDL (Apple Wireless Direct Link) interface (At least AirDrop and AirPlay services uses it), then my latency/speed issue is gone.
Kimmo-MacBook-Pro-2:~ kimmo$ mtr ftp.funet.fi --report --report-cycles 100
Start: Sat Apr 18 13:48:32 2015
HOST: Kimmo-MacBook-Pro-2.local Loss% Snt Last Avg Best Wrst StDev
1.|-- dyfyyf0m6gwys--txwkfy-4.r 0.0% 100 3.3 54.1 2.1 244.7 67.8
2.|-- ggsn4.m.dnaip.fi 0.0% 100 36.4 101.5 24.5 331.1 83.4
3.|-- hel5-sr3.dnaip.fi 0.0% 100 32.0 106.4 23.3 256.2 78.5
4.|-- hel5-tr3.ip6.dnaip.fi 0.0% 100 169.4 91.3 20.4 322.9 72.0
5.|-- esp2-tr2.ip6.dnaip.fi 0.0% 100 68.5 94.3 24.7 388.9 81.4
6.|-- csc.ficix1.ficix.fi 0.0% 100 54.4 92.6 27.6 272.6 76.5
7.|-- csc2-xe-0-0-0-0-csc6.fune 0.0% 100 30.8 94.9 24.8 262.0 76.2
8.|-- csc3-xe-0-0-0-0-csc2.fune 0.0% 100 33.8 100.3 25.1 282.0 76.6
9.|-- ftp.funet.fi 1.0% 100 114.0 98.0 24.7 252.5 75.4
(average latency is close to 100ms)
Speedtest:
lftp ftp.funet.fi:/dev> mget 100MBnull
104857600 bytes transferred in 48 seconds (2.10M/s)
Then i shut down awdl0 interface:
Kimmo-MacBook-Pro-2:~ kimmo$ sudo ifconfig awdl0 down
And check the latency again:
HOST: Kimmo-MacBook-Pro-2.local Loss% Snt Last Avg Best Wrst StDev
1.|-- dyfyyf0m6gwys--txwkfy-4.r 0.0% 100 5.6 6.2 1.6 13.0 2.7
2.|-- ggsn4.m.dnaip.fi 0.0% 100 33.9 31.9 25.2 39.3 3.1
3.|-- hel5-sr3.dnaip.fi 0.0% 100 32.4 34.3 26.5 99.6 11.2
4.|-- hel5-tr3.ip6.dnaip.fi 0.0% 100 32.3 32.2 23.2 77.3 6.5
5.|-- esp2-tr2.ip6.dnaip.fi 0.0% 100 38.8 34.3 26.7 78.7 9.0
6.|-- csc.ficix1.ficix.fi 0.0% 100 33.0 32.8 21.5 75.0 5.5
7.|-- csc2-xe-0-0-0-0-csc6.fune 0.0% 100 37.3 31.7 24.6 37.4 2.8
8.|-- csc3-xe-0-0-0-0-csc2.fune 0.0% 100 40.6 34.4 24.5 85.9 9.0
9.|-- ftp.funet.fi 0.0% 100 38.6 33.4 27.4 43.4 3.6
(average latency is close to 35ms).
Also speedtest:
lftp ftp.funet.fi:/dev> mget 100MBnull
104857600 bytes transferred in 14 seconds (7.14M/s)
So when will Apple fix this? This is 100% reproducible with my setup. If you have latency or speed issues with WiFi after 10.10.3 upgrade, please try that tip and check if it helps. It would be nice to know if this helps for others too.