EAS Development for Mainline Linux

EAS development for mainline Linux takes place on LKML and Linaro eas-dev mailing lists where proposed patches are discussed with the community. Arm now provides a pre-integrated version of latest EAS patches for mainline, for upstream development use.

EAS mainline is a moving integration branch tracking tip:sched/core and adding the latest versions of EAS related patch sets targeted at the mainline kernel. The patches may already be under discussion on relevant open source mailing lists or waiting here while their dependencies get resolved and merged upstream.

The integration branch comes as is with synthetic test case testing only. The intention is to have a single branch containing the full EAS picture for mainline Linux kernel developers interested in tracking progress. This EAS mainline integration branch is not suitable for product development. For product, please use the AOSP common kernel.

Source code

EAS mainline integration branches are made available regularly on:

        git://linux-arm.org/linux-power.git

The releases are tagged with the date e.g. _20180622 so old integrations are available for comparison

Latest: integration_20181123

Tree: eas/next/integration

Base: eas/next/integration_base

New changes:

  1. Utilization clamping for RT/FAIR tasks [CONFIG_UCLAMP_TASK=y] and taskgroups [UCLAMP_TASK_GROUP=y] enabled.

Main features:

  1. Per-cpu Energy Model and Energy Aware Scheduling.
  2. Misfit task, i.e. forcing migration of running tasks that do not fit on the CPU they are currently running on.
  3. Runtime scheduler domain flag detection.
  4. Util(ization) clamping, i.e. a mechanism which allows to "clamp" (i.e. filter) the utilization generated by RT and FAIR task within a range defined from user-space.
  5. Periodic load balance improvements.
  6. Tracepoints.

Platform support:

  1. Arm Juno r0
  2. Arm Juno r2
  3. Hikey960
  4. Arm TC2

Next work items:

Work on getting a 100% pass-rate on all platforms (Arm Juno r0/r2, Hikey960 and Arm TC2).

  • Test Results (integration 20181109)
    • platform Juno r0
    • test case passed if failure rate < 10%
    • generic:
      1. EnergyModelWakeMigration: test_slack:               passed  185/185 (100.0%)
      2. EnergyModelWakeMigration: test_task_placement:      passed  185/185 (100.0%)
      3. OneSmallTask:             test_slack:               passed  185/185 (100.0%)
      4. OneSmallTask:             test_task_placement:      passed  185/185 (100.0%)
      5. RampDown:                 test_slack:               passed  185/185 (100.0%)
      6. RampDown:                 test_task_placement:      passed  185/185 (100.0%)
      7. RampUp:                   test_slack:               passed  185/185 (100.0%)
      8. RampUp:                   test_task_placement:      passed  185/185 (100.0%)
      9. ThreeSmallTasks:          test_slack:               passed  185/185 (100.0%)
      10. ThreeSmallTasks:          test_task_placement:      passed  185/185 (100.0%)
      11. TwoBigTasks:              test_slack:               passed  185/185 (100.0%)
      12. TwoBigTasks:              test_task_placement:      passed  185/185 (100.0%)
      13. TwoBigThreeSmall:         test_slack:               passed  185/185 (100.0%)
      14. TwoBigThreeSmall:         test_task_placement:      passed  182/185 ( 98.4%)

    • load tracking:
      1. CpuInvarianceTest:        test_task_util_avg:       passed  185/185 (100.0%)
      2. FreqInvarianceTest:       test_task_load_avg:       passed  185/185 (100.0%)
      3. FreqInvarianceTest:       test_task_util_avg:       passed  185/185 (100.0%)
      4. OneTaskCPUMigrationTest:  test_util_task_migration: passed  185/185 (100.0%)
      5. PELTTasksTest:            test_load_avg_behaviour:  passed  185/185 (100.0%)
      6. PELTTasksTest:            test_load_avg_range:      passed  185/185 (100.0%)
      7. PELTTasksTest:            test_util_avg_behaviour:  passed  185/185 (100.0%)
      8. PELTTasksTest:            test_util_avg_range:      passed  185/185 (100.0%)
      9. TwoTasksCPUMigrationTest: test_util_task_migration: passed  185/185 (100.0%)
    • misfit:
      1. StaggeredFinishes:        test_migration_delay:     FAILED  145/184 ( 78.8%)
      2. StaggeredFinishes:        test_preempt_time:        passed  174/184 ( 94.6%)
      3. StaggeredFinishes:        test_throughput:          FAILED  163/184 ( 88.6%)