This question is answered.


Permlink Replies: 31 - Pages: 3 [ Previous | 1 2 3 ] - Last Post: 20-Apr-2020 23:23 Last Post By: davidekholm
karlmistelberger

Posts: 207
Registered: 5-Dec-2013
Re: jA 20 freezes in Detail view
Posted: 20-Apr-2020 21:55   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
In an earlier jAlbum 20 beta I was actually loading the file metadata and updating the UI components from the AWT thread, but this was slow as it only utilized one CPU core. Furthermore this made scrolling feel sluggish. I then fixed this to use multiple background threads for reading metadata, but forgot to ensure that they passed the result over to the AWT thread when finally updating the comment text field component for instance.

During the last couple of years cpus exhibited stalling single thread rating. So I am happy with jAlbum making efficient use of all cores available.

The number of cores (AMD Ryzen™ 9 3950X: 16 cores, 32 threads) has grown dramatically. My i7-6700K, 5 years old, 4 cores, 8 threads, still exhibits excellent performance when running jAlbum. Multithreading really matters.

BTW: systemd parallelizes Linux system boot using the make paradigm of dependencies, which results in nice graphs: http://mistelberger.net/boot.svg Heated discussions are warranted. :-)
davidekholm

Posts: 3,360
Registered: 18-Oct-2002
Re: jA 20 freezes in Detail view
Posted: 20-Apr-2020 23:23   in response to: karlmistelberger in response to: karlmistelberger
 
  Click to reply to this thread Reply
karlmistelberger wrote:

BTW: systemd parallelizes Linux system boot using the make paradigm of dependencies, which results in nice graphs: http://mistelberger.net/boot.svg Heated discussions are warranted. :-)

Cool, but man, what a complex dependency graph. Looks like the interdependencies in the older Java kernel prior to Oracle modularizing it.
Legend
Forum admins
Helpful Answer
Correct Answer

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