After mainly using FireTVs I decided to retask of my my Pi3 to OSMC, I must compliment them on the exceptional installation/image tool which makes the whole process incredibly simple and quick. Well done.
I have only one issue, there is a gigantic difference between WiFi and Wired performance when it comes to video streaming. I have a clean OSMC installation and to make sure I changed only one element at a time, so I used the same stream from the same source within a few minutes of each other.
The AP is located about 20cm away from the Pi3.
In WiFi the DVD covers/posters struggled to load, taking a good minute or so per page. Streams were either not available or very slow and juddery.
In Wired configuration (same network) all problems disappeared.
Is there anything obvious that I have missed? Is there a way to test the WiFi speed considering that the only build on this Pi3 is OSMC?
In fairness to stream internally on my network in SMB in full HD only takes about 5-6Mbs, here I’m talking about such a dramatic difference that it led me to think that something else was afoot. Either that the internal WiFi is poorly implemented either at hardware or driver level or a configuration issue in OSMC.
What case are you using? If it’s metallic or shielded it will most likely cause poor wireless performance with the Pi inbuilt wireless as the antenna will be shielded
I also have strange wifi issues. I also used an external usb wifi antenna and deactivated the internal antenna but the results are the same. I just get 9-15/Mbit/s (to my local NAS and to the Internet). The distance between router and Pi does not play a role ( I moved the Pi to the router -> same result)
I also have video stuttering issues which could be connected to my wifi issues.
Ping to NAS:
— 192.168.0.35 ping statistics —
27 packets transmitted, 27 packets received, 0% packet loss
round-trip min/avg/max = 1.585/4.837/7.999 ms
Maybe it has to do with the AP’s security protocol, I will try again tonight with an Open AP and see it there are problems. The thing that worries me is why can I only run in “secure” mode over WiFi.
You need to upload a debug log.
You should also run an iperf test if possible.
You should avoid using hostnames in your shares and you should try an fstab based mount for the best SMB performance.
You may have an environmental issue (crowded 2.4Ghz channels)
You say you tried another USB dongle, but you don’t say what model it was. I closed your GitHub issue as the information provided is not sufficient to prove that there is a bug.
Shows that you are still using Kodi’s built-in SMB client and hostnames.
It is still unclear which WiFi adapter you are using. Some people have said that the Pi’s internal antenna is a bit weak, but realistically, it is probably compounded by 2.4Ghz overcrowding. An optimal real world performance speed would be 35-40Mbps for a 1x1 (tx/rx) antenna.
At the moment I am using the internal antenna. The debug log did not use the shares from fstab.
I copied files from the mounted shared and checked the performance with iftop.
SMB has protocol overhead. You won’t get the full speed. There are also other factors, like whether you are using SMBv2, SMB authentication and things like HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters on Windows systems.
If you want to get better throughput, you will benefit from NFS, but I cannot say that this will resolve the issue. If you don’t have enough bandwidth, it won’t work miracles but it may give you a little more headroom.