Skip to content

[FEATURE] Setup performance build to evaluate each pipeline/task performance. #6221

@btian1

Description

@btian1

We want to measure the SOF performance in 3 dimensions. This would benefit new platform/feature enabling, core assignment and other topics.

  • Memory: break down the whole memory usage of SOF, include TEXT/DATA/BSS.
    Plan:
    1. a dedicated map file for all TEXT/DATA/BSS and its details for each linked component.
    this is not done yet.
    2. each pipeline buffer allocation status during running.
    maybe can get this info from fw logs, if there is other way, please tell.
    3. based on 1 & 2 & memory.h data, you will know where is the big cost and then try to optimize it.

  • Performance: get performance (MCPS) of each task/pipeline .
    Plan: Get the cost of each task/stage, then add together to get performance of the whole pipeline(s).

  • Power Consumption: Get power data for HIFI DSP. Check and determine each DSP core frequency under different FW loading. Power data is directly related to DSP freq. With performance data, it's possible to adjust DSP freq.
    Plan: Need HW instrument to measure power data under different DSP freq.
    According to Liam, after get performance data, IPG team may adjust DSP frequency for power saving.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestperformanceIssues related to code performance and speed optimizations.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions