Skip to content

Cache the return of sched_get_priority_min and sched_get_priority_max #1081

In review

Description

@NicolasFussberger

What

Prerequisite: #1023

The PR#1023 moves the clamping of configured scheduling priority to the configuration loading phase.

Currently, this executes the systemcalls sched_get_priority_min and sched_get_priority_max for every configured process. For a large configuration the time of these systemcalls adds up and its also unnecessary to read the min/max value from the kernel again and again.

Proposed solution:

  • Cache the min/max value for each encountered scheduling policy

Acceptance Criteria (DoD)

systemcalls sched_get_priority_min and sched_get_priority_max are only done once for each encountered scheduling policy.

How

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions