Option to adjust analysis priority

Bug #1792691 reported by xerus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Low
Unassigned

Bug Description

Sometimes I analyse tracks in the background I have just added but want to use later, while already starting to play something. In that case, the track analysis should use only spare resources, and pause completely if the load is getting too high.
On the other hand, sometimes I just analyse or also set some cues, but nothing important, so the analysis can take equal priority to what else is going on.

Thus, I would like to have a configuration option for changing the priority of the Track analysis in the analyse tab.

Tags: analyzer
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

In general you should not start a batch analysis while performing live. Running batch analysis tasks is supposed to be done offline. I remember that Serato entirely disabled batch analysis while a controller was connected.

The new multi-threaded analysis pauses batch analysis while an ad-hoc analysis for a track loaded into a deck is performed:

https://bugs.launchpad.net/mixxx/+bug/1641153
https://github.com/mixxxdj/mixxx/pull/1624

Currently all cores are utilized for batch analysis if no ad-hoc analysis is running. As an extension we might add an option to permanently exclude a fixed amount of the available cores (e.g. 1/4, 1/2 or at least 1) from batch analysis on a multi-core system. The default setting will use all available cores. Changing this setting will not affect a running batch analysis. It just serves as a stopgap for those who didn't do their homework ;)

Adding an adaptive re-scheduling algorithm for batch analysis depending on processor utilization would be too complex and expensive for this purpose.

Please note, that I don't plan any extensions or changes on the current implementation until it has been merged to master! This issue might track such an extension for future development.

ronso0 (ronso0)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
tags: added: analyzer
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9433

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.