Skip to content

[BUG] [MTL] Sum of KCPS consumption is much higher when audio is used for the 1st time after boot #7968

@yongzhi1

Description

@yongzhi1

Describe the bug
After boot, the very first time when audio is used, KCPS number is always much higher than the 2nd time.

To Reproduce

  1. Power on DUT
  2. Run any audio use case
aplay -Dhw:0,31 -c2 -r48000 -fS16_LE /tmp/sine.wav -vv -d5

And observe KCPS numbers from mtrace dump:

[00:00:00.197,913] <inf> pipe: add_pipeline_cps_consumption: Sum of KCPS consumption: 837642, core: 0

Reproduction Rate
100%

Expected behavior
Abnormal high KCPS for the very 1st time is not expected.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: {sof-mtl-max98357a-rt5682-ssp2-ssp0.tplg}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {MTL/REX}

Screenshots or console output
dmesg-mtrace-playback-after-boot.txt

Metadata

Metadata

Assignees

Labels

MTLApplies to Meteor Lake platformbugSomething isn't working as expectedmtl-005performanceIssues related to code performance and speed optimizations.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions