BestImageViewer / geeqie

claiming to be the best image viewer / photo collection browser
http://www.geeqie.org/
GNU General Public License v2.0
471 stars 77 forks source link

thread support for grouping images by similarity #296

Open mowgli opened 14 years ago

mowgli commented 14 years ago

Finding similar images takes rather long for large image collections. However, only 1 core of my quadcore-CPU is used for this task. Is it possible to enable threading support for generating the necessary metadata and for comparing?

Reported by: *anonymous

caclark commented 3 years ago

When making a similarity search from the Duplicates window, Geeqie now uses threads. bc7652af1

When making a similarity search from the Search window, if threads were to be used it is probable that disk access will create a bottleneck.

If all files already have .sim files created and are kept up-to-date, there will be an improvement in response for all searches.

An article I read some time ago suggested using the o/s memory cache to speed up any program that uses a large number of small files. In this case it would imply that on system start-up a background task should be run e.g. cat <all files>.sim > /dev/null That would result in all the .sim files being in the system cache, and therefore should provide better speed. However I have not tried this..