75-80% CPU-Usage (starting with 1.9.0beta1)

Bug #688916 reported by toomuch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Invalid
High
Unassigned

Bug Description

I have 2 tracks playing.
When I click on the waveform of the prelistening track playback freezes for a short moment.

Latency is 42ms.

Have Win7 x64 and installed the beta without deinstalling the last stable version.

Tags: cpu
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

All playback including the master out freezes or just the headphone out?

Can you use the Record Mix feature and let us know if the dropout is heard in that recording as well?

Revision history for this message
toomuch (toomuch) wrote :

Master out freezes.

I recorded to WAV and had no clicks or freezes.

Revision history for this message
jus (jus) wrote :

Is this still a issue with Mixxx 1.9.0 final?

Changed in mixxx:
status: New → Incomplete
Revision history for this message
toomuch (toomuch) wrote :

It has now (Mixxx 1.10.0beta1) dropped to 50-70%. It still think this is a bit high. What CPU load do you have on your systems (preferebly laptops for better comparison)?

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Lenovo T400 Core 2 Duo at 2.5GHz with Intel Mobile 4 Series graphics.

25% with 2 tracks playing a 2ms latency
30% with 2 tracks and 4 samplers playing at 2ms latency

Changed in mixxx:
status: Incomplete → Fix Committed
milestone: none → 1.10.0
importance: Undecided → High
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

toomuch -- what speed is your CPU?

Can you compare the CPU usage of other DJ software? Maybe download a VirtualDJ trial and see what CPU that uses?

Mixing audio tracks takes a lot of CPU -- there are still some areas of waste in our engine code that we need to improve, though. Particularly the equalizers.

Revision history for this message
toomuch (toomuch) wrote :

CPU Speed is 1.87GHz.

I just saw that even in idle mode (no track playing, no lib scanning, etc.) the CPU load was 45-50%. :O This is not permanent, but just happened as I wrote this message and one more time before.

Tested with Virtual DJ Home 7.0.5 and had a CPU load of about 15-20% with two tracks playing (latency 11ms = playing smoothly).
In Mixxx I have to use 10.7ms latency to hear anything. Before that the track is crawling and cracking. With ASIO the latency can be dropped to nearly 3ms.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 688916] Re: 75-80% CPU-Usage with 1.9.0beta1

What is your CPU type? Atom ? Core2Duo ? Pentium D? Pentium 4? Celeron ?
 etc.

Thanks
RJ

On Sun, Nov 13, 2011 at 6:30 PM, toomuch <email address hidden> wrote:

> CPU Speed is 1.87GHz.
>
> I just saw that even in idle mode (no track playing, no lib scanning,
> etc.) the CPU load was 45-50%. :O This is not permanent, but just
> happened as I wrote this message and one more time before.
>
> Tested with Virtual DJ Home 7.0.5 and had a CPU load of about 15-20% with
> two tracks playing (latency 11ms = playing smoothly).
> In Mixxx I have to use 10.7ms latency to hear anything. Before that the
> track is crawling and cracking. With ASIO the latency can be dropped to
> nearly 3ms.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/688916
>
> Title:
> 75-80% CPU-Usage with 1.9.0beta1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/688916/+subscriptions
>

Revision history for this message
toomuch (toomuch) wrote : Re: 75-80% CPU-Usage with 1.9.0beta1

I have a Intel Pentium Dual Core T2390 with 3GB RAM (Asus X51L laptop).

Revision history for this message
toomuch (toomuch) wrote :

In idle mode (no track loading or playing) I have 50% CPU load.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 688916] Re: 75-80% CPU-Usage with 1.9.0beta1

With waveforms turned on or off?

On Thu, Dec 15, 2011 at 4:53 PM, toomuch <email address hidden> wrote:

> In idle mode (no track loading or playing) I have 50% CPU load.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/688916
>
> Title:
> 75-80% CPU-Usage with 1.9.0beta1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/688916/+subscriptions
>

Revision history for this message
toomuch (toomuch) wrote : Re: 75-80% CPU-Usage with 1.9.0beta1

Before: Waveforms are enabled, but no track is loaded.

I just wanted to reproduce: Now < 5%. Strange!
Now I loaded a track (70-80% CPU), afterwards stayed at 30% CPU, although I did not play it or something. Just loading the track (13MB, 5:43 min, 320kBit/s) keeps Mixxx consuming 30% CPU constantly. Playing it adds another 20% CPU (pausing it reduces 20% again as expected). Turned waveforms of -> drops CPU below 5%.
Loading a track with no waveforms consumes about 50%, afterwards < 5%. Turning waveforms back on: about 50%.
Just to have said it clearly: No track was playing when I did these tests. Only loading, idling and changing waveforms setting.

Seems like it is connected to this bug #888817.

What is different on my setup that other windows users don't have? :(

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
toomuch (toomuch)
summary: - 75-80% CPU-Usage with 1.9.0beta1
+ 75-80% CPU-Usage (starting with 1.9.0beta1)
toomuch (toomuch)
Changed in mixxx:
status: Fix Released → Invalid
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/5709

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.