Page 1 of 1

Multi-thread support

PostPosted: 11 Jun 2013, 05:49
by MusicMeister
There was a comment in the general section asking about using more than one core for analyzing files.

I know that Torq split certain functions across two separate threads, leaving the audio processing on one, and I believe the database searching and the like on another. The result was the app could completely crash the GUI and/or database and the audio would continue to play unimpeded. While not exactly what I'm thinking of, I'm hoping that it could shed some light on some ways it's been done before.

So....

How about multi-threading the application to take advantage of the parallel processing capabilities of the modern mutli-core processors? This, in theory, would allow you to analyze multi files in parallel - greatly speeding up at least the initial analyzing of the tracks.

However it's implemented isn't important... but I just wanted to throw it out as food for thought and see what happens. :)

Re: Multi-thread support

PostPosted: 11 Jun 2013, 08:02
by Hannes
it already does, checked analysis-speed of i5DC vs. i7QC.

With same turbo-frequenzy the i7 was around 50% faster.

Re: Multi-thread support

PostPosted: 11 Jun 2013, 09:51
by sylMV
My dear MusicMeister :mrgreen:

Of course, Cross is multithread, otherwise you wouldn't have any chance a to play a track. :eek:

By the way, as you might have noticed, sometimes Cross visually freezes but the audio doesn't.
Moreover, multithread doesn't mean no hickups, nor multiple analysis at a time!

But thanx for suggesting this :D

Re: Multi-thread support

PostPosted: 18 Jun 2013, 04:01
by MusicMeister
Hey, it was based on the posts in another thread... ;)