You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cache the return of sched_get_priority_min and sched_get_priority_max #1081
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.
Activity