Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Resource usage

## Memory

Table 1 lists the memory requirements for the `lib_voice` DSP components. The estimates are provided as a guideline to help audio pipeline developers assess the memory cost of including a component in the pipeline.

Note

The IC memory usage includes VNR memory usage as well, since VNR processing is part of IC. Stand-alone VNR memory usage is also computed, as shown in the VNR row of the table.

Table 1 Memory usage (in bytes)
Component | Memory use (bytes)
--- | ---
ADEC | 8840
AEC_ALT_ARCH | 240400
AEC_STD_ARCH | 277824
AGC | 9896
IC | 136344
NS | 35664
VNR | 62936

## CPU

Table 2 lists the approximate CPU requirements in MIPS for the `lib_voice` DSP components. The MIPS values are computed as the worst-case processor cycles consumed by the component’s `process_frame` function. All CPU estimates are based on the default configuration for each feature. Alternate configurations may require more or less MIPS.

These estimates are provided as a guideline to help audio pipeline developers assess the CPU cost of including a component in the pipeline.

Note

The IC MIPS numbers include VNR processing that is part of IC. Stand-alone VNR processing numbers are also computed, as shown in the VNR row of the table.

Table 2 CPU requirements (600 MHz system frequency, 120 MHz per HW thread)
Component | MIPS use
--- | ---
ADEC | 1.53
AEC_ALT_ARCH_1THREAD | 42.57
AEC_ALT_ARCH_2THREADS | 30.7
AEC_STD_ARCH_1THREAD | 62.89
AEC_STD_ARCH_2THREADS | 40.85
AGC | 21.31
IC | 13.21
NS | 20.79
VNR | 1.84