Page 1 of 1

0.93: Batch convert + "Use CPU Cores" very slow to start with 30,000 images

Posted: Mon May 20, 2019 12:25 am
by Optic
XnView: MP 0.93 - 64 bit
OS: Windows 10 1809 - 64bit
Computer: Dell XPS 9550 laptop (Intel i7-6700H @ 2.6 GHz, dual GPU - NVIDIA GTX 960M / Intel HD Graphics 530)

XnViewMP becomes unresponsive for (5+ minutes) when doing batch convert and "Use CPU Cores"

For input files, I am using TIFF (LZW compressed) images. For output I am using JPEG-XR. I have tried different output formats and still the same... if I don't tick "Use CPU Cores" then XnViewMP starts batch convert immediately.

See screenshots below:
xnviewmp-batch-convert-cpu-core-issue-1.png
xnviewmp-batch-convert-cpu-core-issue-2.png
xnviewmp-batch-convert-cpu-core-issue-3.png
xnviewmp-batch-convert-cpu-core-issue-4.png

To reproduce:
1. Highlight 30,000+ images, right-click > Batch Convert

2. Tick "Use CPU Cores", I set to 4. Click Convert


Actual behaviour (bug):
XnViewMP becomes unresponsive for a long time, eventually it starts batch convert.


Expected behaviour:
XnViewMP should start batch convert immediately.

If this can be looked at that would be great, I really like the fast performance of "Use CPU Cores" but the pre-delay seems to be longer when more images are used (I tried with 500,000 images and I waited for 30 mins, still XnViewMP was unresponsive)

Re: 0.93: Batch convert + "Use CPU Cores" very slow to start with 30,000 images

Posted: Thu May 23, 2019 10:01 am
by xnview
by default, it check if there is some multi pages files, and create output filename based on placeholder used

But in your case, you don't use the multipage setting, and the filename don't use image metadata. So i can optimize in this case...

Re: 0.93: Batch convert + "Use CPU Cores" very slow to start with 30,000 images

Posted: Sun Jul 28, 2019 2:39 pm
by masterjp
The XnviewMP 0.94 beta #1 performance in batch conversion with multi CPU cores and skip/replace mode is fantastic! :) Good work. I am very happy. :)

Re: 0.93: Batch convert + "Use CPU Cores" very slow to start with 30,000 images

Posted: Tue Sep 17, 2019 10:25 am
by xnview
This problem is supposed to be fixed in XnView MP 0.94. Please check and confirm the bug fix here.

Re: 0.93: Batch convert + "Use CPU Cores" very slow to start with 30,000 images

Posted: Tue Sep 17, 2019 11:37 am
by Optic
I have tested public Beta 1 just now and confirm the issue has been resolved, thanks.