https://bugs.kde.org/show_bug.cgi?id=409852
Bug ID: 409852 Summary: Okular takes an extreme amount of time to load a djvu file over samba Product: okular Version: 1.3.3 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: DjVu backend Assignee: okular-de...@kde.org Reporter: j...@van-spaandonk.nl Target Milestone: --- SUMMARY Loading a book (djvu) from my NAS in okular can take up to 30 seconds. The problems seems less big with PDF books. Book size 2 to 3 megabytes, so not particularly big. Copying the same book from the NAS by dragging it from Dolphin to a local folder (SSD) takes about .2 seconds. Opening in Okular from there takes about .2 seconds (difficult to time, but very fast). So the underlying infrastructure seems to work fine, therefore I think the problem is related to Okular. I conclude that when I open a document in Okular over samba I pay a performance penalty of a factor of 50 - 100. This makes it unusable to browse books there. My setup I used to reproduce this problem. Kubuntu18.04, desktop computer connected to NAS via 1Gbit ethernet cable. Note that this is a fast network setup, so now slow links / wireless etc. The NAS drive is listed in the fstab with this line, and thus mounted a system startup: /192.168.1.2/NAME /media/MOUNT_POINT cifs user=XXXX,password=XXXX,rw,user,nosuid,uid=1000,gid=100,_netdev,vers=1.0 0 0 STEPS TO REPRODUCE 1. Browse to the document folder on the NAS 2. Double click a document to open it in Okular 3. OBSERVED RESULT The whole Okular interface blocks for 30-40 seconds (also does not redraw so it messes up the desktop view). The rest of the desktop is usable as normal. EXPECTED RESULT View the book in Okular in less than .5 seconds SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 18.04 LTS (available in About System) KDE Plasma Version: 5.12.7 KDE Frameworks Version: 5.44.0 Qt Version: 5.9.5 ADDITIONAL INFORMATION I used journalctl to look in the syslog, but all it says is ResourceScoreUpdated: "4625dd2c-8a74-4017-8be6-6dc7c47d29ab" "okularapplication_djvu" ..... -- You are receiving this mail because: You are watching all bug changes.