Skip to content

Commit 77ba618

Browse files
author
Jyri Sarha
committed
topology2: cavs-nocodec.conf: Fine tune SRC DP memory requirements
Fine tune SRC DP memory requirements to values that should satisfy all use-cases, without using too much memory. For now the biggest memory consumers, the SRAM copy of the filter coefficients, and the filter memory, are not allocated init phase, but in prepare. That is why the interim requirement is so high and lifetime requirement so low. This can be changed but it needs changes in SRC processing module code. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent e32ab4d commit 77ba618

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

tools/topology/topology2/cavs-nocodec.conf

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,11 @@ IncludeByKey.PASSTHROUGH {
698698
IncludeByKey.SRC_DOMAIN {
699699
"DP" {
700700
core_id $DP_SRC_CORE_ID
701-
domain_id 123
702-
stack_bytes_requirement 4096
703-
heap_bytes_requirement 8192
701+
domain_id 0
702+
stack_bytes_requirement 2048
703+
interim_heap_bytes_requirement "$[(24 * 1024)]"
704+
lifetime_heap_bytes_requirement 4096
705+
shared_bytes_requirement 0
704706
}
705707
}
706708
}
@@ -1382,9 +1384,11 @@ IncludeByKey.PASSTHROUGH {
13821384
IncludeByKey.SRC_DOMAIN {
13831385
"DP" {
13841386
core_id $DP_SRC_CORE_ID
1385-
domain_id 123
1386-
stack_bytes_requirement 4096
1387-
heap_bytes_requirement 8192
1387+
domain_id 0
1388+
stack_bytes_requirement 2048
1389+
interim_heap_bytes_requirement "$[(24 * 1024)]"
1390+
lifetime_heap_bytes_requirement 4096
1391+
shared_bytes_requirement 0
13881392
}
13891393
}
13901394

0 commit comments

Comments
 (0)