Skip to content

Commit

Permalink
app: perf_overlay: add note on CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT
Browse files Browse the repository at this point in the history
On many Intel platforms, the HD-DMA interrupts can interfere
with component level performance measurements. Add a comment
how to disable the interrupts when doing component performance
analysis.

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i committed Nov 19, 2024
1 parent ccc3429 commit 36894e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/perf_overlay.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ CONFIG_ADSP_IDLE_CLOCK_GATING=n
CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL=n
# disable top-level statistics to reduce logging overhead
CONFIG_SCHEDULE_LL_STATS_LOG=n

# vendor/target dependent options
#
# uncomment to disable Intel HD-DMA L1 exit ISR. this affects
# the peak execution times at component level
#CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT=n
2 changes: 2 additions & 0 deletions app/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ CONFIG_SCHED_CPU_MASK_PIN_ONLY=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=15000
CONFIG_DAI=y
CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_DMA_INTEL_ADSP_HDA_TIMING_L1_EXIT=n

0 comments on commit 36894e8

Please sign in to comment.