Skip to content

Conversation

@andrula-song
Copy link
Contributor

Optimize the read/write frags of dcblock processingg functions.
By using audio_stream_bytes_without_wrap, this optimization can
decrease about 14% MCPS.

Signed-off-by: Andrula Song xiaoyuan.song@intel.com

@andrula-song
Copy link
Contributor Author

The audio processing times for a 15s long stereo 48 kHz clip on GLK device are shown in next plot. The saving is in average 2 us or 0.77 MCPS, decrease about 14%. Upper row is after optimization, averi, lower row is before optimization.
compare

@andrula-song andrula-song requested review from lgirdwood and singalsu and removed request for lgirdwood May 31, 2022 07:01
Optimize the read/write frags of dcblock processingg functions.
By using audio_stream_bytes_without_wrap, this optimization can
decrease about 14% MCPS.

Signed-off-by: Andrula Song <xiaoyuan.song@intel.com>
@singalsu
Copy link
Collaborator

I'd expect the MCPS saving from this patch to be larger in current CML, TGL platforms. The penalty from read/write frag API usage was a lot lower in APL and I think GLK is similar with APL.

@andrula-song andrula-song marked this pull request as ready for review May 31, 2022 10:12
@andrula-song andrula-song requested a review from a team as a code owner May 31, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants