Supercharge Your Innovation With Domain-Expert AI Agents!

Dynamic priority scheduling algorithm based on linux real-time operating system

A real-time operating system and dynamic priority technology, applied in resource allocation, multi-programming devices, etc., can solve the problems of inability to meet the real-time and reliability requirements of real-time systems, low scheduling efficiency, and processor occupation. To achieve the effect of reliable design principles, highlighting substantive features, and solving overload problems

Inactive Publication Date: 2018-01-16
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will take up processor resources, and when real-time task overruns are not frequent; this kind of scheduling is not efficient
[0009] It can be seen from the above that when the above two types of algorithms are applied to the Linux real-time operating system alone, they cannot meet the real-time and reliability requirements of the real-time system.

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
  • Dynamic priority scheduling algorithm based on linux real-time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following embodiments.

[0036] Such as figure 1As shown, a kind of dynamic priority scheduling algorithm based on linux real-time operating system provided in this embodiment comprises the following steps:

[0037] When a real-time task is added to the task queue, the current release time is updated and the status of the current task is obtained, and the real-time task enters the cache memory module;

[0038] When the real-time task exceeds the limit, call the SLAD or BACKSLASH algorithm and count in the cache memory module; otherwise call the EDF algorithm and count in the cache memory module;

[0039] The cache memory module calculates the frequency of real-time tasks exceeding the limit within a set period of time; according t...

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 invention relates to a dynamic priority scheduling algorithm based on a linux real-time operating system. The algorithm comprises the following steps of when a real-time task is added into a taskqueue, updating current recovery time and acquiring the state of a current task, and storing the real-time task into a cache memory module; when the real-time task overruns, calling an SLAD or BACKSLASH algorithm, and counting in the cache memory module; otherwise calling an EDF algorithm and counting in the cache memory module; computing overrunning frequency of the real-time ask within a set time slot by using the cache memory module; determining to directly schedule the SLAD or BACKSLASH algorithm, or schedule the EDF algorithm according to the overrunning frequency of the real-time ask, and updating a task priority and next recovery time. Therefore, advantages of the EDF algorithm are effectively utilized when a normal task load is processed, and the algorithm is prone to implement andoccupies fewer processor resources.

Description

technical field [0001] The invention belongs to the technical field of real-time operating systems, and in particular relates to a dynamic priority scheduling algorithm based on a linux real-time operating system. Background technique [0002] Among many real-time operating systems, Linux-based real-time operating systems are increasingly popular due to the open source code and the stability of Linux systems. But Linux itself is not a real real-time operating system. It must improve its real-time performance by making corresponding improvements to the Linux operating system, so that it has the real-time and reliability that meet the requirements of real-time systems. [0003] The correct behavior of a real-time system depends not only on the correctness of the settlement result, but also on the time it takes to obtain this result. The fundamental properties of real-time systems are the determinism of task response time and the high throughput of system processing tasks. Th...

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
IPC IPC(8): G06F9/50
Inventor 方雪静
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More