This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 36 - Pages: 3 [ 1 2 3 | Next ] - Last Post: 5 Jun 26, 15:35 Last Post By: davidekholm Threads: [ Previous | Next ]
hmesman

Posts: 23
Registered: 5-Feb-2009
Slow performance
Posted: 28 May 26, 19:02
 
  Click to reply to this thread Reply
Hello,

following the latest (critical) update to version 39.5.11, generating an album is taking an extremely long time.
The album consists of approximately 5,400 original, unscaled PNG photos with a resolution of 1600 by 1080 pixels, and each photo is around 5 MB in size.
Before the update: less then 3 minutes.
After the update: around 30 minutes.
To be more precise: after adding a single photo and running the "make album" command, it takes about 30 minutes to generate the album.
Skin: Tiger 8.0.5
Apart from the critical update, nothing has changed in the settings or the workflow.

Any ideas?

Edited by: hmesman on 28 May 2026, 19:03
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 28 May 26, 20:16   in response to: hmesman in response to: hmesman
 
  Click to reply to this thread Reply
Have you done another make since the 30 minute make? If so how long did that take, with nothing added or changed?

Also, have a read of this blog post, https://jalbum.net/blog/entry/welcoming-jalbum-39-3/
In particular read the section on Profiling for max performance. If you get another long make album post the results of doing the above profiling.
hmesman

Posts: 23
Registered: 5-Feb-2009
Re: Slow performance
Posted: 28 May 26, 22:37   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Hi Rob,

Thanks for your quick reply.
A new "make" doesn't make any difference; the total time is still around 30 minutes.
See attached file.
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 28 May 26, 22:47   in response to: hmesman in response to: hmesman
 
  Click to reply to this thread Reply
It looks to me, at least, that you have a lot of metadata and texts to get processed. Doesn’t seem to be image processing. Please wait for David to respond.
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 29 May 26, 01:21   in response to: hmesman in response to: hmesman
 
  Click to reply to this thread Reply
It would probably also help if you could attach the project file to a post here - jalbum-settings.jap.
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: Slow performance
Posted: 29 May 26, 09:11   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Seems metadata reading related.

What number of working threads do you have under Preferences->Advanced?
What kind of hard drive? An SSD? If not, building on an SSD makes a huge difference
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 29 May 26, 09:38   in response to: hmesman in response to: hmesman
 
  Click to reply to this thread Reply
Just a wild thought, have you used Lightroom/Photoshop etc. and embedded processing metadata in the images? That can cause seriously bloated metadata, with no useful information as regards the actual image, from a viewer perspective.
hmesman

Posts: 23
Registered: 5-Feb-2009
Re: Slow performance
Posted: 29 May 26, 16:33   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Hi Rob, David and Jeff,

To make sure the issues were related to version 39.5.11, I uninstalled that version and installed 39.4.1, and the problem no longer occurs.
See the attached file.
What advice can you give?

Kind regards,
Hans
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 29 May 26, 17:33   in response to: hmesman in response to: hmesman
 
  Click to reply to this thread Reply
I don't see anything strange or suspicious in the project settings. I'll have to leave this one to David - he'll know what changed between 39.4 and 39.5 that might explain this dramatic slowdown.
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 29 May 26, 20:37   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
The only change I can think of is the recent one that processes smaller file sizes first, not sure how that could impact metadata reading though. I would still like to know how much metadata is being read from a typical image.

Edited by: RobM on 29 May 2026, 19:38
Ah, Updated metadata extracting library from v2.15 to 2.20
MarkusD

Posts: 886
Registered: 13-Apr-2006
Re: Slow performance
Posted: 29 May 26, 21:08   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
The only change I can think of is the recent one that processes smaller file sizes first, not sure how that could impact metadata reading though. I would still like to know how much metadata is being read from a typical image.
But that was only for the upload process, not for the build process.
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 29 May 26, 22:12   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
MarkusD wrote:
RobM wrote:
The only change I can think of is the recent one that processes smaller file sizes first, not sure how that could impact metadata reading though. I would still like to know how much metadata is being read from a typical image.
But that was only for the upload process, not for the build process.
Yeah, I reread the release notes and added an edit that the other change was with the metadata reader library. Been a long strange day.
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 29 May 26, 22:15   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Ah, Updated metadata extracting library from v2.15 to 2.20

Yes, this one gets my vote as the most likely suspect.
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: Slow performance
Posted: 30 May 26, 11:21   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thanks for sharing these insightful screen dumps! (Note: you can use copy+paste to copy these in-text. Makes it easier for all)

Comparing the 1:st line is revealing: Getting xmp data seems MUCH slower with v39.5, where we updated the metadata-extractor library.

Can you try removing the updated "lib/metadata-extractor-2.20-main.jar" file and replacing it with "lib/metadata-extractor-2.15.0.jar" from v39.4? Now see if speed picks up again. If so, it's definitively in the library itself, otherwise it's due to some interaction change with that library.
hmesman

Posts: 23
Registered: 5-Feb-2009
Re: Slow performance
Posted: 30 May 26, 21:43   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
O.k., I'll do that.
Give me a few days, as I'm a bit short on time.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums