Slow SMB directory listing - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Slow SMB directory listing (/showthread.php?tid=374612) |
Slow SMB directory listing - hanswahn - 2023-10-04 The directory listing from my NAS were fine (performance-wise), then I changed a few things and now the movie dir listing takes 17 seconds, so I hope you guys can help me narrow down the issue. Structure ~370 movies within the same folder trying to visualize the dir structure: movies |- mov1.mpq |- mov1.nfo |- mov1.txt |- mov1-poster.jpg |- mov2.mpq |- mov2.nfo |- mov2.txt |- mov2-poster.jpg ... (the *.txt files don't contain structured content, just some info for myself) What changed updated to CoreELEC 20.2-Nexus exported my library to separate nfo files exported images via Addon Artwork Dump System specs Kodi (20.2 (20.2.0) Git:f711b4e9497f1fadf83fd905b7abff64b2766cf0). Platform: Linux ARM 32-bit Kodi compiled 2023-06-30 by GCC 12.2.0 for Linux ARM 32-bit version 4.9.255 (264703) Hardkernel ODROID-N2 with CoreELEC (official): 20.2-Nexus, kernel: Linux ARM 64-bit version 4.9.269 kodi.log (debug, samba) amahipobil.kodi (paste) RE: Slow SMB directory listing - hanswahn - 2023-10-04 OK, I forgot to mention I use the "Video" section, not the "Movie" section. In order to increase the performance I tried the samba setting in the advancedsettings.xml : Quote:<samba> How the performance is quite good. Thread may be marked as "solved". RE: Slow SMB directory listing - izprtxqkft - 2023-10-04 for anyone that reads this in the future it had nothing to do with that setting and everything to do with having "Extract Thumbnails" enabled note the 7 seconds it took to finish 1 ExtractThumb - Quote:2023-10-04 11:43:56.341 T:11137 debug <general>: ExtractThumb RE: Slow SMB directory listing - hanswahn - 2023-10-04 (2023-10-04, 15:30)jepsizofye Wrote: it had nothing to do with that setting and everything to do with having "Extract Thumbnails" enabledInteresting find. So it seems the video file is somehow broken, so kodi tries each time to extract the thumb, but fails. What would be the best thing to do to proceed? Disable extractThumb altogether or remove the movie (the movie is watchable, so it seems to be a minor error?) ? RE: Slow SMB directory listing - izprtxqkft - 2023-10-04 i recommend disabling extract thumbnails in all setups and scenarios regardless - im not even sure where these thumbs are displayed in kodi tbh but a broken video file is no good either, recommend remux/re-encode with ffmpeg |