Skip to content

[BUG] Remove HiFi code duplication in HiFi buffer management #5273

Closed

Description

@cujomalainey

Tracking bug for #5169 (comment)

Activity

  1. cujomalainey commented on Jan 26, 2022

    @cujomalainey
    ContributorAuthor

    Turns out github links don't point to resolved comments properly. This bug is track the deduplication of *_setup_circular(source) functions in HiFi sections.

  2. added this to the v2.1 milestone on Jan 27, 2022
  3. lgirdwood commented on Jan 27, 2022

    @lgirdwood
    Member

    @cujomalainey fyi @singalsu is creating a spreadsheet for all the SIMD optimizations/cleanups. Will be able to share it soon.

  4. singalsu commented on Feb 1, 2022

    @singalsu
    Collaborator

    I've noticed that audio_stream_bytes_without_wrap() performs better in many cases than using same circular start-end registers for several circular buffers in the hot loop. I will test the most important components with such change and change code if my test devices show processing time improvement.

  5. modified the milestones: v2.1, v2.2 on Feb 16, 2022
  6. lgirdwood commented on Feb 16, 2022

    @lgirdwood
    Member

    50% complete, should be fully complete for v2.2

  7. modified the milestones: v2.2, v2.6 on Feb 17, 2023
  8. kv2019i commented on Feb 17, 2023

    @kv2019i
    Collaborator

    @singalsu @andrula-song Can you update on status? I put milestone tentatively to v2.6, but we can pull in to v2.5 if we are ready.

  9. cujomalainey commented on Feb 21, 2023

    @cujomalainey
    ContributorAuthor

    @singalsu any chance you can share that doc?

  10. 1 remaining item

  11. singalsu commented on Mar 3, 2023

    @singalsu
    Collaborator

    @kv2019i @cujomalainey Please keep 2.6 as target even if this would be a small change. We have other bugs fixing going on, better to not risk those for 2.5.

  12. lgirdwood commented on May 10, 2023

    @lgirdwood
    Member
  13. andrula-song commented on May 11, 2023

    @andrula-song
    Contributor

    PR #7499 is under review.

  14. alex-cri commented on May 25, 2023

    @alex-cri

    @andrula-song, @singalsu, with PR #7499 merged can we close this?

  15. andrula-song commented on May 26, 2023

    @andrula-song
    Contributor

    I have test several method to remove that duplication in TDFB HiFi part, but unfortunately, I found there is only about 0.2MCPS improvement but it needs about 19+ MCPS. So I did not create a PR for TDFB since such improvement seems meaningless. So I think we can close this issue now.

  16. cujomalainey commented on May 26, 2023

    @cujomalainey
    ContributorAuthor

    Can you share the data in a draft PR for us to see the diff, MCPS isn't the only metric of importance here

  17. andrula-song commented on May 29, 2023

    @andrula-song
    Contributor

    here is the draft #7700

  18. alex-cri commented on May 30, 2023

    @alex-cri

    @cujomalainey, is there further feedback that you feel is relevant for this issue?

  19. lgirdwood commented on Jun 1, 2023

    @lgirdwood
    Member

    Move to v2.7 since #7700 wont be ready for v2.6 stable branch fork.

  20. modified the milestones: v2.6, v2.7 on Jun 1, 2023
  21. added a commit that references this issue on Jul 12, 2023
    f6ceeb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3Low-impact bugs or featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions