Thumbnail extraction performance

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Thumbnail extraction performance

Post by *tbeu »

Setup: I have a directory with about 1500 DSC JPG images of alltogether something over 4GB size. I added these thumbnail config to a fresh wincmd.ini and ensured that all thumbnails are already cached.

Code: Select all

PreloadThumbnails=3
ThumbsInDlg=0
ThumbsLocation=%$LOCAL_APPDATA%\GHISLER
ThumbsCopyDel=1
ThumbsCustomFieldsEnabled=1
ThumbOptions=15
ThumbExplTypes=* *.htm *.html *.url *.dwf
ThumbPlgTypes=*.*|*.htm *.html *.url *.txt *.ini *.bat *.diz
ThumbIrfXnTypes=*.*|*.txt *.ini *.bat *.diz *.zip
ThumbTxtTypes=*.txt *.ini *.bat *.diz *.plg
ThumbWidthNoCache=128
ThumbHeightNoCache=96
TC is TC8PB10 32-bit on WinXPSP3. TC window is maximized with the left panel size at 100% such that I can see about 5x9=45 thumbnails at a time.

Behaviour: If I press the PAGE DOWN key quickly multiple times (at frequencies from about 1-5Hz) to browse through the files I can see the preloaded thumbnails almost instantly. If I do the same with PAGE UP key I get an annoying flickering when extracting the thumbnails of the newly visible images from the database.

I would be very glad if PreloadThumbnails=3 could behave identically (without flickering) for forward and backward in-folder browsing. One other possiblity is to keep the extracted thumbnails (in memory) as long as there is no directory change. This way there would be no flickering at all and in-folder browsing would be as smooth as in Picasa (albums).
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Maybe you could increase your memory cache:
ThumbnailMemoryLimit=500 Specifies the number of thumbnails per panel cached in memory (default: 200 in Win9x, 500 on NT/2000/XP, minimum: 100).
Also:
PreloadThumbnails=0 1: Loads thumbnail images already when opening a dir, not only when scrolling to that line.
2: Same as 1, but also in branch view
3: Preload just the next two lines below the visible thumbnails
0: Disabled, load thumbnails only when they scroll into view
I don't understand why you use PreloadThumbnails=3 if you want smooth scrolling - IMHO using 1 or 2 would be better.
Last edited by petermad on 2011-11-26, 22:20 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Thank you, petermad.

Code: Select all

ThumbnailMemoryLimit=1500
is the solution to flicker free browsing of the above folder. (Stupid hidden options.)
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply