Optimizing Program Performance with Multi-Core Processing

Advanced Renamer forum
#1 : 28/03-24 01:26
Arthur
Arthur
Posts: 3
Hello,
I noticed that Advanced Renamer program only uses one processor core for its operation. Is it possible to use more cores to improve the performance of the program?


28/03-24 01:26
#2 : 28/03-24 10:19
Styb
Styb
Posts: 80
It is clear that the user has no control over these settings. However, it would be interesting to know if the software developer considered the possibility of changing this behaviour.


28/03-24 10:19 - edited 28/03-24 10:22
#3 : 29/03-24 10:14
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #1:
The performance benefit of using more cores might not be as big as one might think. There are actions that are consuming enough resources to consider using more threads. Those are analysing file metadata and the batch process for calculating the new names. The first is mostly limited by the disk which means the performance gain will be limited. The latter is not suitable for multi process design, because the name of each file could be impacted by the result of the file prior to that file. The job of the batch process is not easy to divide over multiple cores.

I don't know which part of the program you don't think is performing well enough, but if it is the analysing of the file metadata, you might still be in luck. For the upcoming version 4.0 I am working on my own tools for extracting metadata. Until now I have been dependent on general purpose libraries, but now I am building my own, custom build for this task, which makes them super quick.


29/03-24 10:14