2020-06-14, 02:48
Now with wireguard all over the place I thought it'd be fun to test the streaming capabilities of Kodi through the tunnel.
I have two options: Windows on Notebook and Libreelec on Raspi4
Now, the results are rather disappointing. A lot of caching, every ten seconds or so. Actually unusable unless stream has almost sd quality.
At first I thought the caching problem results from low bandwidth, but I have 30 Mbit on the download side and 50 Mbit on the upload side. Tested with a normal download.
Kodi (Windows) only uses half of it while streaming, max around 15 Mbit.
I tried to play around with the chache settings in advancedsettings.xml
For the Windows installation it made things better, not great but better. I could watch streams that I couldn't watch before. A file for example that had a filesize of 5GB for one hour of playback
On the Raspberry with Libreelec it didn't do anything for the better.
Interesting that use of RAM was almost not increased. CPU usage was around 65% and 450MB of Mem were unused.
So the big question is: why are all those resources not used to their full potential - while playback is stuttering/caching like hell.
I understand that Kodi does not want to overcharge,
but in this state it is completely failing to download/playback a stream that should be doable with the available resources. Even with a Raspberry that has only 2GB of RAM. It does so in a local network, so the only parameter that's different is network speed. And here is - as I said above - only 50% used.
The cache settings in advsettings.xml are not doing very much, so at least this should work, if the user decides he wants full power on caching. It is his choice ultimately.
So is this something you see space for improvement or do you consider it ok as it is?
I have two options: Windows on Notebook and Libreelec on Raspi4
Now, the results are rather disappointing. A lot of caching, every ten seconds or so. Actually unusable unless stream has almost sd quality.
At first I thought the caching problem results from low bandwidth, but I have 30 Mbit on the download side and 50 Mbit on the upload side. Tested with a normal download.
Kodi (Windows) only uses half of it while streaming, max around 15 Mbit.
I tried to play around with the chache settings in advancedsettings.xml
For the Windows installation it made things better, not great but better. I could watch streams that I couldn't watch before. A file for example that had a filesize of 5GB for one hour of playback
On the Raspberry with Libreelec it didn't do anything for the better.
Interesting that use of RAM was almost not increased. CPU usage was around 65% and 450MB of Mem were unused.
So the big question is: why are all those resources not used to their full potential - while playback is stuttering/caching like hell.
I understand that Kodi does not want to overcharge,
but in this state it is completely failing to download/playback a stream that should be doable with the available resources. Even with a Raspberry that has only 2GB of RAM. It does so in a local network, so the only parameter that's different is network speed. And here is - as I said above - only 50% used.
The cache settings in advsettings.xml are not doing very much, so at least this should work, if the user decides he wants full power on caching. It is his choice ultimately.
So is this something you see space for improvement or do you consider it ok as it is?