2020-01-25, 01:53
(2020-01-24, 22:31)UrushibaraRuka Wrote: same build #0122 download within kodi itself (on build #0122):
OK, so downloading _within_ Kodi is slightly (actually, quite) different to the command line test - our Python download code might need some optimisations as that does appear to be performing significantly slower than the command line download - on an NVMe based Skylake i5 NUC the command line download (writing the tar to /storage, rather than /dev/null as before) is maxing out at 100MB/s but Kodi on the same machine only reaches 22.5MB/s. I'll investigate this later this evening and see if that can be tweaked for better performance - my suspicion right now is that the GUI updates that show the user the progress information may be quite expensive - a simple Python3 test outside of Kodi (without GUI updates) achieves 99MB/s. We do use fairly small 32KB chunks in the Kodi download so increasing the chunk size may help improve bandwidth. Need to investigate.