Summary: | Severe performance problems with thumbnail view using a Samba share | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Johannes Zarl-Zierl <johannes> |
Component: | Thumbnail Viewer | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | usselmann.m |
Priority: | NOR | ||
Version: | GIT master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kphotoalbum/05462de570819f561df2418d102a8f2fc8cf4a8f | Version Fixed In: | |
Sentry Crash Report: |
Note to self: mapping the thumb-X files to memory (and keeping them there) should fix the problem. Git commit 05462de570819f561df2418d102a8f2fc8cf4a8f by Johannes Zarl. Committed on 22/08/2013 at 21:21. Pushed by johanneszarl into branch 'master'. Implement caching for thumbnail files. M +59 -12 ImageManager/ThumbnailCache.cpp M +10 -0 ImageManager/ThumbnailCache.h http://commits.kde.org/kphotoalbum/05462de570819f561df2418d102a8f2fc8cf4a8f |
When using an image directory on a Samba share, performance of the Thumbnail view severely suffers even when the Samba share is using a fast (~1Gbit/s) connection. In the case at hand (reported on the mailing list), the problem seems to lie in heavy access on the ${IMAGEDIR}/.thumbnails/thumb-0. Moving the thumbnails directory to a local directory fixes the problem. Problem description: > When I click on one of the thumbnails it takes a long time until the image is > displayed. Selecting indivdual thumbnails for annotation is nearly impossible. > Right now I tried to open the context menu by right clicking on a thumbnail. > It took 38 secondes until the context menu window appeared. After 'Show > Thumbnails' everything is unusablely slow, but the duration of the delays seem > to vary a bit. The indicator for background jobs is light grey all the time.