Fast Laptop shows relative high cpu usage

Bug #1984200 reported by Stefan Franz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
New
Undecided
Unassigned

Bug Description

Linux Mint 20.3 - Mixx 2.4 alpha 1245
Hello, my fastest Laptop shows in the skin a visiable cpu usage of about 30-40%
If i see in the system info of linux mint, the average cpu usage of all 8 processors about 5-10%

Maybe is a visible issue becaus on this laptop i use the retina skaling 125%
Maybe Maybe I'm just imagining it. I thought i report it, becaus my 10d years old laptops work visible with less cpu usage - same linux, same standard installation.

Here is my hardware:
System:
  Kernel: 5.4.0-99-generic x86_64 bits: 64 Desktop: Cinnamon 5.2.7
  Distro: Linux Mint 20.3 Una
Machine:
  Type: Laptop System: HP product: HP 250 G7 Notebook PC
  v: Type1ProductConfigId serial: <filter>
  Mobo: HP model: 8532 v: 70.31 serial: <filter> UEFI: Insyde v: F.24
  date: 01/10/2020
Battery:
  ID-1: BAT1 charge: 27.4 Wh condition: 39.6/41.0 Wh (97%)
CPU:
  Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP
  L2 cache: 6144 KiB
  Speed: 3274 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 3274 2: 2672
  3: 1212 4: 3110 5: 2486 6: 1189 7: 2933 8: 2716
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
  Display: x11 server: X.Org 1.20.13 driver: modesetting
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.2.6
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio
  driver: snd_hda_intel
  Sound Server: ALSA v: k5.4.0-99-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
  driver: rtl8821ce
  IF: wlo1 state: up mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 304.72 GiB (32.7%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P2SSD8 size: 931.51 GiB
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
Partition:
  ID-1: / size: 149.83 GiB used: 32.12 GiB (21.4%) fs: ext4
  dev: /dev/nvme0n1p6
Sensors:
  System Temperatures: cpu: 40.0 C mobo: 29.8 C
  Fan Speeds (RPM): N/A
Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-focal.list
  1: deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/mixxx-nightlies-focal.list
  1: deb http://ppa.launchpad.net/mixxx/nightlies/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
  1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
  Processes: 275 Uptime: 10m Memory: 7.66 GiB used: 2.40 GiB (31.4%)
  Shell: bash inxi: 3.0.38

Revision history for this message
Stefan Franz (stefan-franz) wrote :
Revision history for this message
Stefan Franz (stefan-franz) wrote :
Revision history for this message
Daniel Schürmann (daschuer) wrote :

https://manual.mixxx.org/2.3/es/chapters/appendix/mixxx_controls.html?highlight=latency#control-[Master]-audio_latency_usage

The CPU meter is actually the "audio latency usage" and only partially related to the er overall CPU load. The audio buffer can only processed by a single core that's why the CPU frequency is more important than the number of cores. By default, we have no control what else this core has to do. That's why we normalize the value to 25 %, for some headroom. This was tested on the worst case machine, a single core CPU with hyperthreading enabled, to provide a certain reliability of the meter.

On your 8 core CPU, this is probably too pessimistic but still valid.

By the way, we have a branch where you can reserve a single CPU for audio.
https://github.com/mixxxdj/mixxx/pull/3534

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/10806

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.