Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform: disable system agent on Zephyr builds #5557

Closed
wants to merge 1 commit into from

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Mar 16, 2022

The system agent is not required with SOF Zephyr builds
as the Zephyr ll scheduler implementation can track DSP
load and print periodic status of the load and any observed
overruns in scheduling.

Disabling agent is beneficial as agent can create a lot of DMA traffic
when DMA trace is enabled. This happens if there is jitter in agent
execution, with delta slightly over the warning threshold. This can
itself worsen the scheduling variation and lead to actual problems.

BugLink: #5556
Signed-off-by: Kai Vehmanen kai.vehmanen@linux.intel.com

The system agent is not required with SOF Zephyr builds
as the Zephyr ll scheduler implementation can track DSP
load and print periodic status of the load and any observed
overruns in scheduling.

Disabling agent is beneficial as agent can create a lot of DMA traffic
when DMA trace is enabled. This happens if there is jitter in agent
execution, with delta slightly over the warning threshold. This can
itself worsen the scheduling variation and lead to actual problems.

BugLink: #5556
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 17, 2022

It seems @lyakh sent a similar patch to Zephyr zephyrproject-rtos/zephyr#43410
l opted to do the change in SOF side to not conflict with the ongoing to change move these prj.conf definitions back to SOF git from Zephyr:
#5531

Thoughts on which is the less confusing option?

@lyakh
Copy link
Collaborator

lyakh commented Mar 18, 2022

zephyrproject-rtos/zephyr#43410 has been merged, so this shouldn't be needed now

@kv2019i
Copy link
Collaborator Author

kv2019i commented Mar 18, 2022

Let's disable in the Zephyr and make matching update to the new overlay once it is merged.

@kv2019i kv2019i closed this Mar 18, 2022
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.

None yet

4 participants