Commit f0f516f1 authored by Yipeng Zou's avatar Yipeng Zou
Browse files

sched: introduce smart grid qos zone

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZBSR


CVE: NA

----------------------------------------

Since commit b869720191ec ("sched: smart grid: init sched_grid_qos
structure on QOS purpose") introduced a smart_grid-based QOS
partitioningmechanism, this commit further expands the partitioning
mechanism to implement smart_grid zone.

In the default configuration smart_grid the entire system is divided
into two partitions:

1. Hot zone (performance first)
2. Warm zone (energy consumption priority)

In addition, the smart_grid will dynamically maintain the size of the hot
zone in the current system based on the task load status in the current
partition, which based on commit 65523f55989a ("sched: Introduce smart
grid scheduling strategy for cfs").

 --------        --------        --------
| group0 |      | group1 |      | group2 |
 --------        --------        --------
    |                |              |
    v                v              v
 -------------------------    --------------
|                         |  |              |
|         hot zone        |  |   warm zone  |
|                         |  |              |
 -------------------------   ---------------

Signed-off-by: default avatarYipeng Zou <zouyipeng@huawei.com>
parent ae319ae1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment