torstein
Senior Member
TL;DR:
My WiFi internet speed is way faster than my WiFi LAN speeds. Why?
Answer:
It's because using samba to transfer a file between two computers, the AX86U's single 5GHz radio both receives and sends data at the same time - so bidirectional traffic. This saturates the radio, effectively cutting the radio's bandwith in half sharing it equally between receiving from one computer and sending it to the second computer. When I'm testing my internet speed on speedtest.net, the radio is simply relaying or just sending the traffic to my mac unidirectionally, allowing the radio to use all its potential bandwith on just sending data, not receiving anything. That's why I get 500mbps on speedtest.net, while testing in iperf I only get 280-300mbps because iperf tests with bidirectional traffic - ie the AX86U is both receiving and sending at the same time, choking the radio.
ORIGINAL POST:
Hi! I hope you smart people can help explain this.
My setup:
On speedtest.net I get 500/25 on my laptop. Which is great. It's what I pay for. When I connect to my media server (mac mini) and stream a movie from the media server's ssd to my laptop it streams only at 130mbps. Strange. It appears that my laptop gets faster speeds from the wireless internet, than it does when wirelessly streaming from my wired media server. When I plug my laptop (macbook pro) directly into the router (with an ethernet adapter) I stream files at 600mbps from my media server.
Illustrated it looks like this:
________________________________________________________________________________________________________
|
| media server <––––wired–––––> AX86U <- - - - wireless - - - -> laptop
| Internet speed on wireless laptop is 500mbps, but streaming from local wired media server to wireless laptop gives
| only 130mbps on LAN. That's just crazy!?!
|________________________________________________________________________________________________________
|
| media server <––––wired–––––> AX86U <––––wired–––––> laptop
| Internet speed on wired laptop is 500mbps, and streaming from local wired media server to wired laptop gives
| 600mbps on LAN. As expected. Nothing wrong with my laptop or my media server it seems. It must be the WLAN?
|________________________________________________________________________________________________________
Why is that? Is this normal? I understand that wired to wired connections are faster on LAN, fair enough, but why is the wireless internet speed (way) faster than wireless LAN? Shouldn't it be opposite? Shouldn't the local network stream as fast as the wireless can possibly handle, and at least match the internet speed, if not faster, not be slower than the internet speed?
Sorry for decorating this post with the rainbow, colors help me at least to keep track of setups and not get confused. For what it's worth, I have tried resetting to factory settings on merlin-asuswrt and stock asuswrt. Same results. I have no QoS enabled.
UPDATE:
iPerf3 results
Wireless laptop (client) to Wireless mac mini media server (server) gives 280Mbits
Wireless laptop (client) to wired mac mini media server (server) gives 750Mbits
Wired laptop (client) to wired mac mini media server (server) gives 940Mbits
Hmm, I just don't understand this. So iPerf3 says everything is fine, judging from the results above. Yet somehow streaming movies in Infuse from server to client over SMB is slow and only gives 90mbps wireless (client) to wireless (server) and 130 wireless (client) to wired (server), but wired (client) to wired (server) gives 600mbps in Infuse app. So is it Infuse that's the problem then? Or is it Samba in macOS?
My WiFi internet speed is way faster than my WiFi LAN speeds. Why?
Answer:
It's because using samba to transfer a file between two computers, the AX86U's single 5GHz radio both receives and sends data at the same time - so bidirectional traffic. This saturates the radio, effectively cutting the radio's bandwith in half sharing it equally between receiving from one computer and sending it to the second computer. When I'm testing my internet speed on speedtest.net, the radio is simply relaying or just sending the traffic to my mac unidirectionally, allowing the radio to use all its potential bandwith on just sending data, not receiving anything. That's why I get 500mbps on speedtest.net, while testing in iperf I only get 280-300mbps because iperf tests with bidirectional traffic - ie the AX86U is both receiving and sending at the same time, choking the radio.
ORIGINAL POST:
Hi! I hope you smart people can help explain this.
My setup:
- Router: AX86U with merlin 3004.388.4
- Laptop: Macbook Pro M1 connected to 5Ghz wireless radio
- Media server: Mac Mini M1 connected to AX86U with ethernet cat5e, stock macOS with File Sharing enabled.
On speedtest.net I get 500/25 on my laptop. Which is great. It's what I pay for. When I connect to my media server (mac mini) and stream a movie from the media server's ssd to my laptop it streams only at 130mbps. Strange. It appears that my laptop gets faster speeds from the wireless internet, than it does when wirelessly streaming from my wired media server. When I plug my laptop (macbook pro) directly into the router (with an ethernet adapter) I stream files at 600mbps from my media server.
Illustrated it looks like this:
________________________________________________________________________________________________________
|
| media server <––––wired–––––> AX86U <- - - - wireless - - - -> laptop
| Internet speed on wireless laptop is 500mbps, but streaming from local wired media server to wireless laptop gives
| only 130mbps on LAN. That's just crazy!?!
|________________________________________________________________________________________________________
|
| media server <––––wired–––––> AX86U <––––wired–––––> laptop
| Internet speed on wired laptop is 500mbps, and streaming from local wired media server to wired laptop gives
| 600mbps on LAN. As expected. Nothing wrong with my laptop or my media server it seems. It must be the WLAN?
|________________________________________________________________________________________________________
Why is that? Is this normal? I understand that wired to wired connections are faster on LAN, fair enough, but why is the wireless internet speed (way) faster than wireless LAN? Shouldn't it be opposite? Shouldn't the local network stream as fast as the wireless can possibly handle, and at least match the internet speed, if not faster, not be slower than the internet speed?
Sorry for decorating this post with the rainbow, colors help me at least to keep track of setups and not get confused. For what it's worth, I have tried resetting to factory settings on merlin-asuswrt and stock asuswrt. Same results. I have no QoS enabled.
UPDATE:
iPerf3 results
Wireless laptop (client) to Wireless mac mini media server (server) gives 280Mbits
Code:
[ ID] Interval Transfer Bitrate Retr Cwnd RTT
[ 5] 0.00-1.00 sec 35.5 MBytes 298 Mbits/sec 0 4.00 MBytes 121ms
[ 5] 1.00-2.00 sec 33.9 MBytes 284 Mbits/sec 39096 2.80 MBytes 65ms
[ 5] 2.00-3.00 sec 34.5 MBytes 289 Mbits/sec 0 2.95 MBytes 73ms
[ 5] 3.00-4.00 sec 35.1 MBytes 294 Mbits/sec 11584 2.16 MBytes 47ms
[ 5] 4.00-5.00 sec 31.7 MBytes 266 Mbits/sec 0 2.27 MBytes 62ms
[ 5] 5.00-6.00 sec 32.9 MBytes 275 Mbits/sec 0 2.36 MBytes 52ms
[ 5] 6.00-7.00 sec 32.2 MBytes 271 Mbits/sec 0 2.43 MBytes 40ms
[ 5] 7.00-8.00 sec 34.4 MBytes 289 Mbits/sec 0 2.48 MBytes 21ms
[ 5] 8.00-9.00 sec 33.4 MBytes 280 Mbits/sec 0 2.51 MBytes 45ms
[ 5] 9.00-10.00 sec 34.2 MBytes 287 Mbits/sec 0 2.53 MBytes 101ms
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 338 MBytes 283 Mbits/sec 50680 sender
[ 5] 0.00-10.00 sec 336 MBytes 282 Mbits/sec receiver
Wireless laptop (client) to wired mac mini media server (server) gives 750Mbits
Code:
[ 5] local 192.168.50.144 port 63286 connected to 192.168.50.204 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd RTT
[ 5] 0.00-1.00 sec 92.9 MBytes 779 Mbits/sec 0 4.00 MBytes 36ms
[ 5] 1.00-2.01 sec 89.8 MBytes 749 Mbits/sec 0 4.00 MBytes 29ms
[ 5] 2.01-3.00 sec 83.8 MBytes 707 Mbits/sec 0 4.00 MBytes 37ms
[ 5] 3.00-4.00 sec 89.0 MBytes 746 Mbits/sec 0 4.00 MBytes 20ms
[ 5] 4.00-5.00 sec 92.4 MBytes 773 Mbits/sec 0 4.00 MBytes 33ms
[ 5] 5.00-6.00 sec 91.2 MBytes 765 Mbits/sec 0 4.00 MBytes 9ms
[ 5] 6.00-7.00 sec 88.6 MBytes 744 Mbits/sec 0 4.00 MBytes 25ms
[ 5] 7.00-8.00 sec 84.1 MBytes 704 Mbits/sec 0 4.00 MBytes 33ms
[ 5] 8.00-9.00 sec 91.6 MBytes 770 Mbits/sec 0 4.00 MBytes 47ms
[ 5] 9.00-10.00 sec 95.9 MBytes 803 Mbits/sec 0 4.00 MBytes 33ms
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 899 MBytes 754 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 897 MBytes 752 Mbits/sec receiver
Wired laptop (client) to wired mac mini media server (server) gives 940Mbits
Code:
[ ID] Interval Transfer Bitrate Retr Cwnd RTT
[ 5] 0.00-1.00 sec 113 MBytes 946 Mbits/sec 0 3.24 MBytes 27ms
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 3.92 MBytes 33ms
[ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 0 3.93 MBytes 34ms
[ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 2.91 MBytes 19ms
[ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec 0 3.76 MBytes 30ms
[ 5] 5.00-6.00 sec 112 MBytes 942 Mbits/sec 0 3.87 MBytes 34ms
[ 5] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 0 2.74 MBytes 15ms
[ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec 0 3.58 MBytes 30ms
[ 5] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 3.81 MBytes 34ms
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 0 2.31 MBytes 10ms
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 939 Mbits/sec receiver
Hmm, I just don't understand this. So iPerf3 says everything is fine, judging from the results above. Yet somehow streaming movies in Infuse from server to client over SMB is slow and only gives 90mbps wireless (client) to wireless (server) and 130 wireless (client) to wired (server), but wired (client) to wired (server) gives 600mbps in Infuse app. So is it Infuse that's the problem then? Or is it Samba in macOS?
Last edited: