:: Tasks & Threads ::

Goto online version of document.
Matcher was designed as a linkage of tasks that are running simultaneously. Some of the tasks depends to the results of the other, some not. Every task has internally one or more workers that are executing the task jobs in parallel.

 

Tasks
Scan file system This task performs search for music files inside folders defined in Music Library. Task is executed in it's own thread..
Extract audio properties This task decodes audio files and extracts audio properties from them. In case of audio matching the audio DNA is computed for every supported file. Number of worker threads can varies in range from 1 to 4.
Build audio pattern base This task inserts the audio properties in audio pattern base. Number of worker threads can varies in range from 1 to 4.
Match audio properties This task performs match of every music item against the patterns in audio pattern base. Number of worker threads can varies in range from 1 to 4.

 

User can control the number of worker threads in Number of Threads inspector (x).

 

Threads
General notes
  • Do not increase the number of threads if program is running on single cpu system (even if cpu supports hyper-threading).
  • Good number of threads for 2-cpu or dual-core cpu system is 2.
  • Good number of threads for 4-cpu or quad-core cpu system is 3 or 4.
Extractor notes
  • Increase number of worker threads of extractor only if you have multi-core cpu system and if audio matching is on (see ), In case that only music-tags matching is on, then the optimal number of threads is 1 because of the I/O limitations.
Matcher notes
  • Increase number of worker threads of matcher only if you have multi-core cpu system.