Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Add tasks' load accountings and statistics. #216

Merged
merged 11 commits into from
Nov 18, 2021

Conversation

hamadmarri
Copy link

@hamadmarri hamadmarri commented Nov 14, 2021

Changes:

  • Tasks' load accountings and statistics are ported from CFS.
  • Fixed incorrect behavior of some governor scaling such as ondemand and schedutil
  • TASK_UCLAMP is enabled if TT_ACCOUNTING_STATS
  • Make child run first (before parent) in fork
  • Removed all Hz changes which are now in separate patch
  • Initial work to Yield fix hamadmarri/TT-CPU-Scheduler#6
  • Add sysctl to soften RT task priority
  • Ported CFS is cache hot code during can_migrate_task to
    avoid migrate cache hot tasks. This also includes numa locality
    checks.

It can be switched back to parent run first
via sysctl `sysctl kernel.sched_child_runs_first=0`
update_curr, set_next_task, put_prev_task, and others.
`YIELD_MARK` only applies if `cfs_rq->h_nr_running > 1`
`YIELD_UNMARK` on migrate_task
kernel.sched_tt_rt_prio

default value = -20
avoid migrate cache hot tasks. This also includes numa locality
checks.
@xanmod xanmod merged commit dd477c4 into xanmod:5.15-tt Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants