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

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
Optic
Posts: 23
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 »

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: 43328
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 »

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: 424
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 »

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 + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.5 | XnViewMP 1.6.5 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
xnview
Author of XnView
Posts: 43328
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 »

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: 23
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 »

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