Unlock instant, AI-driven research and patent intelligence for your innovation.

Process real-time scheduling method

A real-time scheduling and process technology, applied in multi-programming devices, resource allocation, etc., can solve problems such as system failure, system resource waste, performance degradation, etc., and achieve the effect of maintaining system performance and reducing resource waste

Inactive Publication Date: 2013-08-21
GUANGZHOU XINGYA GAOXIN PLASTIC TECH CO LTD +3
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the EDF algorithm and the LSF algorithm show their optimality under normal system load, in the case of overload, the system cannot guarantee that all tasks can meet the deadline, and the performance of the EDF or LSF algorithm will drop sharply. , which can lead to instability due to missing important task deadlines
Furthermore, deadlines or idle time tasks are not necessarily the most critical. In the case of overload, the system cannot guarantee the timely completion of critical tasks, so system performance cannot be gracefully degraded, resulting in system failure or even crash.
In addition, in the LSF algorithm, when the system has more than one task whose minimum margin is similar or equal and has the minimum margin in the system, the system will undergo frequent task switching, that is, thrashing, which will cause waste of system resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Process real-time scheduling method
  • Process real-time scheduling method
  • Process real-time scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] An embodiment of the present invention provides a process real-time scheduling method, which firstly determines the value of the task: task value, that is, the criticality of the task, and the importance of the task relative to other tasks in the task set. Taking the value of the task as the preemption threshold is the key to improving the algorithm. The preemption threshold directly affects the frequency of task switching, the miss rate of task deadlines, and the effective utilization of the CPU. If the value of the task is greater than the current maximum priority of all processes, the scheduling algorithm degenerates into a non-preemptive model. If the value of the task is less than the margin (priority value) of the process, then the meaning of assigning a value to the task is lost. Specific 1 can refer to figure 1 Flowchart in , including:

[0037] S101: Set the value of the process task in advance, and the value of the task should take a value between the prior...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a process real-time scheduling method. The method comprises the following steps of: A, presetting a value of a process task, wherein the value of a task is selected from a priority value of a process and the maximal priority values of all current processes according to the value of the task per se; and B, when the priority levels of process tasks are close or equal to each other, comparing the values of the process tasks, and executing the task with a maximal value preferentially; or comparing the values of all current tasks when a system is overloaded, and executing the process task with the maximal value so as to ensure overall value maximization of the system and maintain the system at an acceptable level. In the process real-time scheduling method of the embodiment of the invention, by introducing a value-based preemptive threshold value, timely completion of a key task of the system can be ensured and the system performance is maintained and degraded gracefully without a system failure or even collapse when the system is overloaded, so as to achieve the maximization of the overall system finally; and resource waste caused by a trashing phenomenon can be reduced.

Description

technical field [0001] The invention relates to the field of computer process scheduling, in particular to a process real-time scheduling method. Background technique [0002] As the Linux system is widely used in embedded systems, real-time control and other fields, it is particularly important to enhance the real-time performance of the Linux kernel. The core of the Linux kernel is the scheduling strategy. The optimization of the scheduling strategy and the improvement of real-time performance are based on the scheduling algorithm. The study of real-time scheduling algorithms is an important research field in the real-time field. The priority-driven method is the most common method of real-time system scheduling. Each task is given a priority according to the specific information of the task. When the system needs to be scheduled, the next task to be run is selected according to the priority to ensure that the system is fair and effective. The response completes the task....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
Inventor 罗笑南唐青华傅明
Owner GUANGZHOU XINGYA GAOXIN PLASTIC TECH CO LTD