eas k5.4 (四):v5.0 - Per-cpu Energy Model and Energy Aware Scheduling

  • Linux 5.0 new feature:
    https://kernelnewbies.org/Linux_5.0#Energy-aware_Scheduling_for_Arm_big.LITTLE

    732cd75 sched/fair: Select an energy-efficient CPU on task wake-up
    390031e4 sched/fair: Introduce an energy estimation helper function
    2802bf3 sched/fair: Add over-utilization/tipping point indicator
    630246a sched/fair: Clean-up update_sg_lb_stats parameters
    1f74de8 sched/toplogy: Introduce the 'sched_energy_present' static key
    531b5c9 sched/topology: Make Energy Aware Scheduling depend on schedutil
    b68a4c0 sched/topology: Disable EAS on inappropriate platforms
    011b27b sched/topology: Add lowest CPU asymmetry sched_domain level pointer
    6aa140f sched/topology: Reference the Energy Model of CPUs when available
    27871f7 PM: Introduce an Energy Model management framework
    938e5e4 sched/cpufreq: Prepare schedutil for Energy Aware Scheduling
    5bd0988 sched/topology: Relocate arch_scale_cpu_capacity() to the internal header

  • 938e5e4 sched/cpufreq: Prepare schedutil for Energy Aware Scheduling
    sugov_get_util()替換爲schedutil_freq_util():
    freq_util=uclamp(cpu_util_cfs+cpu_util_rt)+scale(cpu_util_irq)+cpu_bw_dl
    energy_util=cpu_util_cfs+cpu_util_rt+cpu_util_dl+scale(cpu_util_irq)

  • 27871f7 PM: Introduce an Energy Model management framework
    引入文件:
    include/linux/energy_model.h
    kernel/power/energy_model.c
     

  • kernel Documents:

Documentation/power/energy-model.txt (describes the APIs of the EM framework used by EAS, and explains how new platforms can use it);
Documentation/scheduler/sched-energy.txt (details the key design points of EAS and how to enable it step by step)

  • 參考資料:

EAS Linux 5.0集成簡介
https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/energy-aware-scheduling-in-linux
(Energy Aware Scheduling (EAS) in Linux 5.0)

EAS Arm developer web page :
https://developer.arm.com/tools-and-software/open-source-software/linux-kernel/energy-aware-scheduling

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章