Skip to content

cavs: budgeting for EDF tasks - #3057

Merged
jajanusz merged 4 commits into
thesofproject:masterfrom
jajanusz:edf-budget
Jul 21, 2020
Merged

jajanusz merged 4 commits into
thesofproject:masterfrom
jajanusz:edf-budget

Conversation

@jajanusz

Copy link
Copy Markdown
Contributor

Simple budgeting mechanism for tasks (mainly needed for IPC to stop it stalling sometimes other tasks).

Comment thread src/include/sof/schedule/edf_schedule.h
Comment thread src/schedule/edf_schedule.c
Comment thread src/schedule/edf_schedule.c
Comment thread src/schedule/edf_schedule.c
Comment thread src/drivers/intel/cavs/ipc.c Outdated
jajanusz added 4 commits July 13, 2020 14:55
Every core has it's own timer so cpu timer should be
handled for each core independently.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Add possibility to set budget for EDF tasks.
It's needed to ensure that some long running task will
not stall other tasks.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
IPC task may be time consuming and has high priority,
what may make other tasks stall. To prevent this it should
have limited cycles budget per systick.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
IDC task may be time consuming and has high priority,
what may make other tasks stall. To prevent this it should
have limited cycles budget per systick.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
@lgirdwood

Copy link
Copy Markdown
Member

@mmaka1 @lbetlej @mwasko any comments ?

@jajanusz
jajanusz merged commit 443319a into thesofproject:master Jul 21, 2020
@marc-hb

marc-hb commented Jul 28, 2020 •

Copy link
Copy Markdown
Collaborator

This seems to have broken tracing, see #3245

UPDATE: and more.

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