Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.67k stars 217 forks source link

Hope that the support for multithreading can exceed 64 #291

Closed shenyan-008 closed 2 months ago

Lymphatus commented 3 months ago

The limit for the multithreading option is what the software thinks are the maximum threads available. Usually it's equal to the cores of the CPU. More documentation here.

shenyan-008 commented 3 months ago

Supplement: This is under Windows 10. I don't know C++. Is it possible to break this limit by having 64 threads in each pool and synchronizing 2 or more pools? My CPU has 96 cores and 192 threads.

Lymphatus commented 2 months ago

Sorry but it's not something that depends on Caesium, the detection is done by the Qt Framework and I'm not planning on changing how the number of CPUs are detected. In the attached documentation there're some edge cases described and they might apply to your specific case.