CN117331667A - Non-precise mixed critical task energy-saving scheduling method based on group task partition - Google Patents

Non-precise mixed critical task energy-saving scheduling method based on group task partition Download PDF

Info

Publication number
CN117331667A
CN117331667A CN202311382200.3A CN202311382200A CN117331667A CN 117331667 A CN117331667 A CN 117331667A CN 202311382200 A CN202311382200 A CN 202311382200A CN 117331667 A CN117331667 A CN 117331667A
Authority
CN
China
Prior art keywords
task
tasks
critical
processor
low
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311382200.3A
Other languages
Chinese (zh)
Inventor
张忆文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaqiao University
Original Assignee
Huaqiao University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaqiao University filed Critical Huaqiao University
Priority to CN202311382200.3A priority Critical patent/CN117331667A/en
Publication of CN117331667A publication Critical patent/CN117331667A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The invention relates to a non-precise mixed critical task energy-saving scheduling method based on group task partitioning, which divides a non-precise mixed critical task set gamma into a low-critical-level task set gamma LO And a high key hierarchy task set Γ HI For gamma LO According to the utilization rate in the low modeNon-ascending sort is performed on Γ HI Tasks according to high mode utilizationNon-ascending sort is performed; will be gamma HI And Γ LO The tasks of the group task are combined into a group task according to a one-to-one correspondence, and the tasks which cannot form the group task are remained as an independent unit; for group tasks, a high-key-level task is distributed firstly by using an optimal adaptation method, then a low-key-level task is distributed, and for non-group tasks, the optimal adaptation method is utilizedTask allocation; computing processor P l Energy consumption optimization speed S of (2) l And normalizing the energy consumptionRecalculating normalized energy consumption of the entire task setAccording to the method, the non-precise mixing task is distributed through the optimal adaptation method based on the combined task, so that the energy consumption of the system can be effectively reduced.

Description

Non-precise mixed critical task energy-saving scheduling method based on group task partition
Technical Field
The invention relates to real-time scheduling of a real-time system, an embedded system and a hybrid critical system, in particular to a non-precise hybrid critical task energy-saving scheduling method based on group task partitioning.
Background
To address the challenges posed by the rapid development of computer technology to the design of embedded systems; a hybrid critical system that integrates different levels of applications into the same shared platform is its direction of development. Hybrid critical systems include a variety of different critical-level tasks. The high-critical-level tasks need to be securely authenticated and must be guaranteed to be completed within a deadline, or else can lead to serious consequences and even disasters. The low-criticality level task allows for only a slight impact on the user experience when an deadline is occasionally missed. Unmanned aerial vehicles, automotive autopilot systems, and aircraft control systems are the most common hybrid critical systems.
With the continuous progress of the ultra-large scale integrated circuit technology, the unit energy consumption of the processor is gradually increased. In order to improve the computational performance of the system, the evolution from single processor systems to multiprocessor systems has evolved. However, there is relatively little research on multiprocessor mixed critical task scheduling, and existing research has focused mainly on classical mixed critical task models, i.e., directly discarding low critical level tasks when the system is in high mode; this is not in practical agreement with industrial production. In addition, the existing low-energy-consumption scheduling method is mainly aimed at the traditional embedded real-time system, and has less application research on the hybrid key system.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an energy-saving scheduling method for non-precise mixing key tasks based on group task partitioning, which can effectively reduce the energy consumption of a system.
In order to achieve the above purpose, the technical scheme of the invention is that an energy-saving scheduling method for non-precise mixing key tasks based on group task partitioning comprises the following steps:
step 1, scheduling a non-precise mixed critical periodic task Γ on a multiprocessor system P using a dynamic priority strategy; dividing the non-exact mixed critical task set Γ into low-level critical task sets Γ LO And a high key hierarchy task set Γ HI For gamma LO According to the utilization rate in the low modeNon-ascending sort is performed on Γ HI Tasks according to high mode utilizationNon-ascending sort is performed;
step 2, Γ is set HI And Γ LO The tasks of the group task are combined into a group task according to a one-to-one correspondence, and the tasks which cannot form the group task are remained as an independent unit;
step 3, distributing high-key-level tasks for the group tasks by using an optimal adaptation method, then distributing low-key-level tasks, and distributing tasks for non-group tasks by using the optimal adaptation method;
step 4, calculating the processor P l Energy consumption optimization speed S of (2) l And normalizing the energy consumptionCalculating normalized energy consumption of the whole task set>Wherein P is l Is a processor in the multiprocessor system P.
Preferably, the step 1 specifically includes:
in a multiprocessor system p= { P 1 ,P 2 ,…,P M Scheduling non-precision mixed critical periodic tasks Γ= { τ using dynamic priority policy on } 12 ,…,τ n -a }; wherein M is the number of processors, and the value of M is a positive integer; each mixed critical period task τ i From triples { T ii ,C i -composition; wherein i is more than or equal to 1 and less than or equal to n, n represents the number of tasks in the task set, i is an integer, and M is less than n; t (T) i For mixing critical periodic tasks τ i Is a period of (2); zeta type toy i For mixing critical periodic tasks τ i Is denoted as xi i = { HI, LO }, when mixingCombining critical periodic tasks τ i Key hierarchy ζ of (a) i When HI, it is a high-critical-level task; when mixing critical period task tau i Key hierarchy ζ of (a) i When=lo, it is a low critical level task; c (C) i For mixing critical periodic tasks τ i Worst-case execution times in different modes; c (C) i (HI) and C i (LO) are respectively mixed critical period tasks τ i Worst-case execution times in high mode and low mode; high pattern means that there is a high critical hierarchy task τ i At processor speed S, execution times all exceed C i (LO)/S; low mode refers to any task τ i At processor speed S, execution time does not exceed C i (LO)/S; if mixing critical period task tau i For high key hierarchy task, then C i (HI)≥C i (LO); if mixing critical period task tau i For low critical level tasks, then C i (HI)≤C i (LO); dividing the non-exact mixed critical task set Γ into low-level critical task sets Γ LO And a high key hierarchy task set Γ HIAnd->Respectively, imprecise mixing critical tasks tau i Utilization in low mode and high mode; to gamma LO According to the utilization in low mode +.>Non-ascending sort is performed on Γ HI According to the task of high mode utilization +.>Non-ascending sort is performed.
Preferably, the step 2 specifically includes:
will be gamma HI First high-critical-level task and Γ in (1) LO In (a) and (b)The first low-key-level task is combined into a group task, and gamma is calculated HI The second high-critical-level task and Γ in (1) LO The second low-key-level task in (1) is combined into a group task, and Γ is calculated HI Third high-critical-level task and Γ in (1) LO The third low-key-level task in the list is combined into a group task until only tasks which do not form the group task remain, and the tasks which do not form the group task remain as a separate unit.
Preferably, the step 3 specifically includes:
processor P in multiprocessor system P l Is the remaining utilization ratio U of (2) l Is by having been allocated to the processor P l Tasks and waits to be allocated to processor P l Task τ i Determined, U l The calculation formula of (2) is as follows:
wherein U is l Representing processor P l Is used for the residual utilization rate of the (a);and->Respectively represent task tau i And has been allocated to the processor P l The sum of the utilization rates of the above tasks in the low mode and the high mode; zeta type toy i =lo and ζ i =hi represents task τ respectively i The method comprises the steps of providing a low-key-level task and a high-key-level task; when processor P l Is the remaining utilization ratio U of (2) l Parameter x which is equal to or greater than 0 and is feasible to schedule lo And x up Satisfy the relation 0 < x lo ≤x up When less than or equal to 1, the data is distributed to the processor P l Task set scheduling of (1) is feasible when the processor P l Is the remaining utilization ratio U of (2) l < 0 or the relation 0 < x lo ≤x up When 1 is not established, the data is distributed to the processor P l Is not feasible for task set scheduling; for group tasks, first makeHigh key level task xi using optimum adaptation method i =hi assigned to processor P k Judging low key level task xi j =lo assigned to processor P k If the task is feasible, the task is distributed to other processors meeting the scheduling conditions by using an optimal adaptation method, and if the task is not feasible, the task is distributed to the processors meeting the scheduling conditions by using the optimal adaptation method;
processor P l Parameter x of scheduling feasibility of (a) up The calculation formula of (2) is as follows:
wherein,representing processor P l The sum of the utilization of the task set phi (l) in the high mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the low-high mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the high mode;
processor P l Schedule feasible parameter x of (2) lo The calculation formula of (2) is as follows:
wherein,representing processor P l The sum of the utilization of the high critical level tasks in the task set phi (l) in the low mode.
Preferably, the step 4 specifically includes:
processor P l Energy consumption optimization speed S of (2) l The calculation formula is as follows:
wherein,representing processor P l An upper bound on the utilization of task set phi (l) in low mode; />Representing processor P l An upper bound on the utilization of task set phi (l) in high mode; s is S crit Representing processor P l Key speed of (2); processor P l The upper bound of the utilization of the task set phi (l) in low mode +.>The calculation formula of (2) is as follows:
wherein x is a deadline parameter, and the calculation formula is as follows:
processor P l Upper bound of utilization of task set phi (l) in high modeThe calculation formula of (2) is as follows:
processor P l Critical speed S of (2) crit The calculation formula of (2) is as follows:
wherein P is ind Representing frequency independent active power; m represents a dynamic power index, which is a system correlation constant, and is usually more than or equal to 2; c (C) ef Representing the effective switched capacitance;
computing processor P l Normalized energy consumption of (2)The formula of (2) is as follows:
calculating normalized energy consumption of the whole task setThe formula of (2) is as follows:
as can be seen from the above description of the present invention, compared with the prior art, the present invention has the following advantages:
(1) The method of the invention saves about 9.3% of energy consumption compared with other mixed key period scheduling methods;
(2) By reducing the energy consumption of the hybrid key system, the production cost of the product can be reduced, and the reliability of the product can be improved.
The invention is described in further detail below with reference to the accompanying drawings and examples, but the invention is not limited to the examples.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention.
FIG. 2 is a graph showing the results of the energy consumption test of the present invention.
Detailed Description
The following describes and discusses the technical solutions in the embodiments of the present invention in detail with reference to the drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, the energy-saving scheduling method for the non-precise mixed critical tasks based on the group task partition comprises the following steps.
Step 1, scheduling a non-precise mixed critical periodic task Γ on a multiprocessor system P using a dynamic priority strategy; dividing the non-exact mixed critical task set Γ into low-level critical task sets Γ LO And a high key hierarchy task set Γ HI For gamma LO According to the utilization rate in the low modeNon-ascending sort is performed on Γ HI Tasks according to high mode utilizationNon-ascending sort is performed.
In a multiprocessor system p= { P 1 ,P 2 ,…,P M Scheduling non-precision mixed critical periodic tasks Γ= { τ using dynamic priority policy on } (M is the number of processors, its value is a positive integer) 12 ,…,τ n -n is the number of tasks, the value of which is a positive integer); each non-critical mixed critical periodic task τ i From triples { T ii ,C i The composition (i is more than or equal to 1 and less than or equal to n, i is an integer, n is more than M), T i For imprecisely mixing critical periodic tasks τ i Is a period of (2); zeta type toy i For imprecisely mixing critical periodic tasks τ i Is denoted as xi i = { HI, LO }, when not exactly mixing critical period task τ i Key of (2)Level xi i When HI, it is a high critical level task, when the critical period task τ is not exactly mixed i Key hierarchy ζ of (a) i When=lo, it is a low critical level task; c (C) i For imprecisely mixing critical periodic tasks τ i Worst-case execution time in different modes, wherein C i (HI) and C i (LO) represents the imprecise mixing critical periodic task τ respectively i Worst-case execution times in high mode and low mode; high pattern means that there is a high critical hierarchy task τ i At processor speed S, execution times all exceed C i (LO)/S; low mode refers to any task τ i At processor speed S, execution time does not exceed C i (LO)/S; if mixing critical period task tau i For high key hierarchy task, then C i (HI)≥C i (LO); if mixing critical period task tau i For low critical level tasks, then C i (HI)≤C i (LO); the dynamic priority policy refers to earliest deadline priority policy scheduling, which determines the priority of a task through the deadline of the task, and the higher the deadline is, the lower the priority of the task is, the lower the deadline is, and the higher the priority of the task is; if the deadlines of the tasks are the same, comparing the arrival time of the tasks, wherein the higher the task priority with small arrival time is, the lower the task priority with large arrival time is; if the deadline and the arrival time of the tasks are the same, the higher the priority of the tasks with small subscripts, the lower the priority of the tasks with large subscripts; tasks with high priorities are scheduled first. Dividing the non-exact mixed critical periodic task set Γ into a low-critical-level task set Γ LO And a high key hierarchy task set Γ HIAnd->Respectively, the mixed critical period task tau i Utilization in low mode and high mode; c (C) i (LO) and C i (HI) represents the hybrid critical cycle task τ respectively i Execution time in low mode and high mode; t (T) i For mixing critical periodic tasks τ i Is a period of (2); for the low key hierarchy task set Γ LO Use of utilization in low mode +.>Non-ascending sort is performed such that +.>(n 1 For a low key hierarchy task set Γ LO The number of tasks in) for a high key hierarchy task set Γ HI Utilization in high mode>Non-ascending sort is performed such that +.>(n 2 For a high key hierarchy task set Γ HI The number of tasks in (a).
Step 2, Γ is set HI And Γ LO The tasks of the group task are combined into a group task according to a one-to-one correspondence, and the tasks which cannot form the group task are remained as an independent unit.
Will be gamma HI First high-critical-level task and Γ in (1) LO The first low-key-level task in (1) is combined into a group task, and Γ is calculated HI The second high-critical-level task and Γ in (1) LO The second low-key-level task in (1) is combined into a group task, and Γ is calculated HI Third high-critical-level task and Γ in (1) LO The third low-key-level task in the list is combined into a group task until only tasks which do not form the group task remain, and the tasks which do not form the group task remain as a separate unit.
And step 3, distributing high-key-level tasks for the group tasks by using an optimal adaptation method, then distributing low-key-level tasks, and distributing tasks for non-group tasks by using the optimal adaptation method.
The best adaptation method is always according to any oneThe order in which the utilization of tasks decreases allocates tasks and minimizes the remaining utilization of the processor; processor P l Is the remaining utilization ratio U of (2) l By having been allocated to the processor P l Task on and waiting to be distributed to processor P l Task tau on i Determined, processor P l Is the remaining utilization ratio U of (2) l The calculation formula of (2) is as follows:
wherein,and->Respectively represent task tau i And has been allocated to the processor P l The sum of the utilization rates of the above tasks in the low mode and the high mode; zeta type toy i =lo and ζ i =hi represents task τ respectively i The method comprises the steps of providing a low-key-level task and a high-key-level task; phi (l) represents task tau i And has been allocated to the processor P l Is a collection of tasks; when processor P l Is the remaining utilization ratio U of (2) l 0. Gtoreq.and processor P l Scheduling feasibility parameter x up And x lo Satisfy 0 < x lo ≤x up When the relation is less than or equal to 1, the relation is distributed to the processor P l The task set on the platform is feasible to dispatch; when processor P l Is the remaining utilization ratio U of (2) l < 0 or processor P l Scheduling feasibility parameter x up And x lo Not satisfy 0 < x lo ≤x up When the relation is less than or equal to 1, the relation is distributed to the processor P l Task set scheduling on the platform is not feasible; processor P l Parameter x of scheduling feasibility of (a) up The calculation formula of (2) is as follows:
wherein,representing processor P l The sum of the utilization of the task set phi (l) in the high mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the low mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the high mode; />The calculation formula of (2) is as follows:
the calculation formula of (2) is as follows:
the calculation formula of (2) is as follows:
processor P l Scheduling a feasible parameter x lo The calculation formula of (2) is as follows:
wherein,and->Respectively represent the processors P l The sum of the utilization rates of the high-key-level tasks and the low-key-level tasks in the task set phi (l) in the low mode; />The calculation formula of (2) is as follows:
for group tasks, the high-key-hierarchy task (τ) is first applied to the best-fit approach 1 ∈Γ HI ) Minimum remaining utilization processor P allocated to meeting scheduling conditions k On the above, the task of the low key hierarchy (tau 2 ∈Γ LO ) Distributed to processor P k If the task is not feasible, the task is distributed to other processors with minimum residual utilization rate meeting the scheduling conditions by using an optimal adaptation method, and for non-group tasks, the task is distributed to the processors with minimum residual utilization rate meeting the scheduling conditions by using the optimal adaptation method.
Step 4, calculating the processor P l Energy consumption optimization speed S of (2) l And normalizing the energy consumptionCalculating normalized energy consumption of the whole task set>
Processor P l Energy consumption optimization speed S of (2) l The calculation formula of (2) is as follows:
wherein,representing processor P l An upper bound on the utilization of the task set phi (l) in the low mode; />Representing processor P l The upper bound of the utilization of the task set phi (l) in the high mode; s is S crit Representing processor P l Key speed of (2); c (C) i (LO) and C i (HI) represents the mixed cycle task τ respectively i Execution time in low mode and high mode; t (T) i Representing mixed critical period task τ i Is a period of (2); processor P l The upper bound of the utilization of the task set phi (l) in low mode is +.>The calculation formula of (2) is as follows:
wherein x is a parameter of the deadline, and the calculation formula is as follows:
processor P l Scheduling a feasible parameter x up The calculation formula is as follows:
processor P l Scheduling a feasible parameter x lo The calculation formula is as follows:
processor P l Upper bound of utilization of task set phi (l) in high modeThe calculation formula of (2) is as follows:
processor P l Critical speed S of (2) crit The calculation formula of (2) is as follows:
wherein P is ind Representing frequency independent active power; m represents a dynamic power index (m.gtoreq.2); c (C) ef Representing an effective capacitance switch; adopts the common setting P ind =0.1,m=3,C ef =1, thereby obtaining S crit =0.17。
According to processor P l Energy consumption optimization speed S of (2) l Calculation processor P l Normalized energy consumption of (2)The formula of (2) is as follows:
wherein P is ind Representing frequency independent active power; m represents a dynamic power index (m.gtoreq.2); c (C) ef Representing an effective capacitance switch; adopts the common setting P ind =0.1,m=3,C ef =1;C i (LO) represents a mixed cycle task τ i Execution time in low mode; t (T) i Representing mixed critical period task τ i Is a periodic one.
Based on normalized energy consumption of each processorCalculating normalized energy consumption of the whole task setThe formula of (2) is as follows:
where M represents the number of processors,representing normalized power consumption of each processor;
in this embodiment, the number of processors is set to 4, and the high-key-level tasks account for 50% of the total task set; the influence of the average utilization rate of each processor on the energy consumption in the low mode is examined; referring to FIG. 2, two methods were compared in an experiment, first, the method of the present invention; second, a critical hierarchy aware best-fit allocation (CA-BFD) method; the CA-BFD method firstly distributes high-key-level tasks and then distributes low-key-level tasks; adopting an optimal adaptation method to distribute tasks; 10000 task sets are generated in each experiment, and the experimental results are averaged; experimental results show that compared with the CA-BFD method, the method provided by the invention has the advantage that the energy consumption is reduced by 9.3%.
The above is only one preferred embodiment of the examples of the present invention. However, the present invention is not limited to the above embodiments, and all equivalent changes and modifications can be made according to the present invention without departing from the scope of the present invention.

Claims (5)

1. The energy-saving scheduling method for the non-precise mixed critical tasks based on the group task partition is characterized by comprising the following steps of:
step 1, scheduling a non-precise mixed critical periodic task Γ on a multiprocessor system P using a dynamic priority strategy; dividing the non-exact mixed critical task set Γ into low-level critical task sets Γ LO And a high key hierarchy task set Γ HI For gamma LO According to the utilization rate in the low modeNon-ascending sort is performed on Γ HI According to the task of high mode utilization +.>Non-ascending sort is performed;
step 2, Γ is set HI And Γ LO The tasks of the group task are combined into a group task according to a one-to-one correspondence, and the tasks which cannot form the group task are remained as an independent unit;
step 3, distributing high-key-level tasks for the group tasks by using an optimal adaptation method, then distributing low-key-level tasks, and distributing tasks for non-group tasks by using the optimal adaptation method;
step 4, calculating the processor P l Energy consumption optimization speed S of (2) l And normalizing the energy consumptionCalculating normalized energy consumption of the whole task set>Wherein P is l Is a processor in the multiprocessor system P.
2. The energy-saving scheduling method for non-precise mixed critical tasks based on group task partitioning as claimed in claim 1, wherein said step 1 specifically comprises:
in a multiprocessor system p= { P 1 ,P 2 ,…,P M Scheduling imprecise mixing using dynamic priority policies on }Critical periodic task Γ= { τ 12 ,…,τ n -a }; wherein M is the number of processors, and the value of M is a positive integer; each mixed critical period task τ i From triples { T ii ,C i -composition; wherein i is more than or equal to 1 and less than or equal to n, n represents the number of tasks in the task set, i is an integer, and M is less than n; t (T) i For mixing critical periodic tasks τ i Is a period of (2); zeta type toy i For mixing critical periodic tasks τ i Is denoted as xi i = { HI, LO }, when mixing critical cycle task τ i Key hierarchy ζ of (a) i When HI, it is a high-critical-level task; when mixing critical period task tau i Key hierarchy ζ of (a) i When=lo, it is a low critical level task; c (C) i For mixing critical periodic tasks τ i Worst-case execution times in different modes; c (C) i (HI) and C i (LO) are respectively mixed critical period tasks τ i Worst-case execution times in high mode and low mode; high pattern means that there is a high critical hierarchy task τ i At processor speed S, execution times all exceed C i (LO)/S; low mode refers to any task τ i At processor speed S, execution time does not exceed C i (LO)/S; if mixing critical period task tau i For high key hierarchy task, then C i (HI)≥C i (LO); if mixing critical period task tau i For low critical level tasks, then C i (HI)≤C i (LO); dividing the non-exact mixed critical task set Γ into low-level critical task sets Γ LO And a high key hierarchy task set Γ HIAnd->Respectively, imprecise mixing critical tasks tau i Utilization in low mode and high mode; to gamma LO According to the utilization in low mode +.>Non-ascending sort is performed on Γ HI According to the task of high mode utilization +.>Non-ascending sort is performed.
3. The energy-saving scheduling method for non-precise mixed critical tasks based on group task partitioning according to claim 2, wherein the step 2 specifically comprises:
will be gamma HI First high-critical-level task and Γ in (1) LO The first low-key-level task in (1) is combined into a group task, and Γ is calculated HI The second high-critical-level task and Γ in (1) LO The second low-key-level task in (1) is combined into a group task, and Γ is calculated HI Third high-critical-level task and Γ in (1) LO The third low-key-level task in the list is combined into a group task until only tasks which do not form the group task remain, and the tasks which do not form the group task remain as a separate unit.
4. The energy-saving scheduling method for non-precise mixed critical tasks based on group task partitioning as claimed in claim 3, wherein said step 3 specifically comprises:
processor P in multiprocessor system P l Is the remaining utilization ratio U of (2) l Is by having been allocated to the processor P l Tasks and waits to be allocated to processor P l Task τ i Determined, U l The calculation formula of (2) is as follows:
wherein U is l Representing processor P l Is used for the residual utilization rate of the (a);and->Respectively represent task tau i And has been allocated to the processor P l The sum of the utilization rates of the above tasks in the low mode and the high mode; zeta type toy i =lo and ζ i =hi represents task τ respectively i The method comprises the steps of providing a low-key-level task and a high-key-level task; when processor P l Is the remaining utilization ratio U of (2) l Parameter x which is equal to or greater than 0 and is feasible to schedule lo And x up Satisfy the relation 0 < x lo ≤x up When less than or equal to 1, the data is distributed to the processor P l Task set scheduling of (1) is feasible when the processor P l Is the remaining utilization ratio U of (2) l < 0 or the relation 0 < x lo ≤x up When 1 is not established, the data is distributed to the processor P l Is not feasible for task set scheduling; for group tasks, the best adaptation method is firstly used for carrying out the high-key-level tasks xi i =hi assigned to processor P k Judging low key level task xi j =lo assigned to processor P k If the task is feasible, the task is distributed to other processors meeting the scheduling conditions by using an optimal adaptation method, and if the task is not feasible, the task is distributed to the processors meeting the scheduling conditions by using the optimal adaptation method;
processor P l Parameter x of scheduling feasibility of (a) up The calculation formula of (2) is as follows:
wherein,representing processor P l The sum of the utilization of the task set phi (l) in the high mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the low-high mode; />Representing processor P l The sum of the utilization of the low critical level tasks in the task set phi (l) in the high mode;
processor P l Schedule feasible parameter x of (2) lo The calculation formula of (2) is as follows:
wherein,representing processor P l The sum of the utilization of the high critical level tasks in the task set phi (l) in the low mode.
5. The energy-saving scheduling method for non-precise mixed critical tasks based on group task partitioning as claimed in claim 4, wherein said step 4 specifically comprises:
processor P l Energy consumption optimization speed S of (2) l The calculation formula is as follows:
wherein,representing processor P l An upper bound on the utilization of task set phi (l) in low mode; />Representing processor P l Upper bound of utilization of task set phi (l) in high mode;S crit Representing processor P l Key speed of (2); processor P l The upper bound of the utilization of the task set phi (l) in low mode +.>The calculation formula of (2) is as follows:
wherein x is a deadline parameter, and the calculation formula is as follows:
processor P l Upper bound of utilization of task set phi (l) in high modeThe calculation formula of (2) is as follows:
processor P l Critical speed S of (2) crit The calculation formula of (2) is as follows:
wherein P is ind Representing frequency independent active power; m represents a dynamic power index, which is a system correlation constant, and is usually more than or equal to 2; c (C) ef Representing the effective switched capacitance;
computing processor P l Normalized energy consumption of (2)The formula of (2) is as follows:
calculating normalized energy consumption of the whole task setThe formula of (2) is as follows:
CN202311382200.3A 2023-10-24 2023-10-24 Non-precise mixed critical task energy-saving scheduling method based on group task partition Pending CN117331667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311382200.3A CN117331667A (en) 2023-10-24 2023-10-24 Non-precise mixed critical task energy-saving scheduling method based on group task partition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311382200.3A CN117331667A (en) 2023-10-24 2023-10-24 Non-precise mixed critical task energy-saving scheduling method based on group task partition

Publications (1)

Publication Number Publication Date
CN117331667A true CN117331667A (en) 2024-01-02

Family

ID=89282822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311382200.3A Pending CN117331667A (en) 2023-10-24 2023-10-24 Non-precise mixed critical task energy-saving scheduling method based on group task partition

Country Status (1)

Country Link
CN (1) CN117331667A (en)

Similar Documents

Publication Publication Date Title
CN107038069B (en) Dynamic label matching DLMS scheduling method under Hadoop platform
Patel et al. Enhanced load balanced min-min algorithm for static meta task scheduling in cloud computing
CN108984292B (en) Fixed priority periodic task energy consumption optimization method for hybrid key system
CN109582448B (en) Criticality and timeliness oriented edge calculation task scheduling method
CN109783225B (en) Tenant priority management method and system of multi-tenant big data platform
CN111767134A (en) Multitask dynamic resource scheduling method
US20160357689A1 (en) Operating System-Managed Interrupt Steering in Multiprocessor Systems
CN110187956B (en) Layered real-time task scheduling method and system for multi-agent platform
CN110308977B (en) Low-energy-consumption method for updating mixed key accidental tasks by dynamic utilization rate
CN114578947B (en) Dynamic priority energy consumption aware inaccurate mixed critical task scheduling method and system
CN107357641A (en) Method for scheduling task in a kind of cloud computing
CN112905330B (en) Fixed priority hybrid key sporadic task energy consumption sensing method
CN112181661B (en) Task scheduling method
CN116820784B (en) GPU real-time scheduling method and system for reasoning task QoS
CN117331667A (en) Non-precise mixed critical task energy-saving scheduling method based on group task partition
CN108874517B (en) Method for optimizing utilization rate division energy consumption of standby system with fixed priority
WO2021238153A1 (en) Thread time management method and apparatus for embedded real-time operation
CN111210286A (en) Tax control server-based efficient invoice issuing method and system
CN115016632B (en) Dynamic priority energy-saving scheduling method based on multiprocessor partition
WO2024000224A1 (en) Methods and systems for energy-efficient scheduling of periodic tasks on a group of processing devices
CN105955816A (en) Event scheduling method and device
CN113986484B (en) Task processing global scheduling method of social software
CN114968512A (en) Energy perception scheduling method based on block chain intelligent contract
CN115480890A (en) Energy-saving scheduling method and device for dynamic priority non-precise tasks of probability hybrid critical system
CN114578945B (en) Non-preemptive dynamic priority hybrid critical task energy consumption sensing real-time scheduling method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination