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

Moderators: cday, XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
Optic
Posts: 20
Joined: Sat Jun 03, 2017 3:19 am
Contact:

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

Post by Optic » Mon May 20, 2019 12:25 am

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)

User avatar
xnview
Author of XnView
Posts: 31798
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu May 23, 2019 10:01 am

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...
Pierre.

User avatar
masterjp
Posts: 153
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

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

Post by masterjp » Sun Jul 28, 2019 2:39 pm

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. :)
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable and beta version) | XnConvert (latest) | Adobe Photoshop Elements 2019 & Elements XXL 6

User avatar
xnview
Author of XnView
Posts: 31798
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Tue Sep 17, 2019 10:25 am

This problem is supposed to be fixed in XnView MP 0.94. Please check and confirm the bug fix here.
Pierre.

User avatar
Optic
Posts: 20
Joined: Sat Jun 03, 2017 3:19 am
Contact:

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

Post by Optic » Tue Sep 17, 2019 11:37 am

I have tested public Beta 1 just now and confirm the issue has been resolved, thanks.

Post Reply