I have recently bought a pi 3 starter kit ( http://www.mcmelectronics.com/product/R ... 83-16561RK ) and am having severe wifi speed issues.
The problem is: use of hdmi causes the wifi speed to drop significantly. Basically when theres updates to the screen wifi speed drops and when the image becomes static again wifi speed will raise back up.
The commands I used to test were 'busybox nc -l -p 4242|pv > /dev/null' on the pi and 'pv /dev/zero|busybox nc 192.168.0.2 4242' on the client, I also used iperf to double check, I got similar results with both.
The speeds I would see would stay around 3 MB/s when using a 2.4gz client and 5 MB/s when using a 5gz client. My screen would be on a bash prompt just after login and the speed would stay steady, buy when I start typing the speed would drop down to 0.2MB/s and stay under 1 MB/s, This also happens if I run kodi, or play a video with omxplayer. ssh also becomes very unresponsive when the speed drops.
If I set my tv to 1080p/24hz with '/opt/vc/bin/tvservice -e "CEA 32 HDMI"' the network speed would still drop but the effect would be way less. My guess is the bandwidth for HDMI and wifi is shared and when HDMI is getting used heavily theres not enough for wifi, setting HDMI to 24hz reduces hdmi bandwidth use by 60% and therefore theres more left for wifi, this is just a guess though.
If at any point I see my network speed drop I can turn off HDMI output with '/opt/vc/bin/tvservice -o' and my speed will instantly jump back up to normal.
I have searched the forums and the only thing ive found to help wifi issues is to disable powersave 'iwconfig wlan0 power off' but I havent noticed a difference when doing this in either speed or ping.
I have tried the above with Rasbian Lite, OSMC, Openelec, and Void Linux. I also tried using Wicd, Connman, and settiing up wpa_supplicant directly. Each distro and connection method produced exactly the same problem. Everything was a fresh install with very few modifications.
I tried with my keyboard and a flash drive plugged in and also with nothing plugged in doing everything over ssh, both ways made no difference. I also tried copying a big file from the microsd card because I read that the wifi is on the SDIO and shares bandwidth with the sd card, dont know if thats true, didnt cause any effect.
This problem makes watching online videos like youtube in HD impossible without buffering, or downloading anything while using kodi.
The only thing I have found that helps is '/opt/vc/bin/tvservice -e "CEA 32 HDMI"' but this only reduces the problem and doesnt get rid of it completely.
I would love to know if anyone else has the same problem as me or if I just got a dud, I have read alot of forum posts about wifi and no one has the same problem as me or they do and havent found the link between wifi and HDMI.
