A method for computer multi-process fair scheduling
A multi-process and computer technology, applied in multi-program devices, resource allocation, etc., can solve the problems of state space explosion, unfavorable multi-process real-time scheduling, and reducing the ability of the operating system to manage process scheduling.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Figure 4 It is a 5-time concurrent scheduling simulation diagram for 5 processes and 2 shared resources using the computer multi-process fair scheduling method of the present invention, wherein the processes are 1, 2, 3, 4 and 5, and there is an influencing factor function f(1) ={5,2}, f(2)={1,3}, f(3)={2,4}, f(4)={3,5} and f(5)={1,4} .
[0054] According to the generation algorithm of the scheduling set D, process 1 is randomly selected, the available scheduling set D={1, 3}, and the unscheduled processes 2, 4, and 5 are put into the backup scheduling queue L( Figure 4 (referred to as the queue in the middle), and the five schedules are as follows:
[0055] The first scheduling: schedule processes 1 and 3 in the scheduling set D={1, 3}, and then the backup scheduling queue L regains the scheduling set D={2, 4}, and deletes them from the backup scheduling queue L Processes 2 and 4 insert the scheduled processes 1 and 3 into the tail of the backup scheduling queue L...
Embodiment 2
[0063] Figure 5 It is a 7-time process scheduling simulation diagram of 6 processes and 2 shared resources using the method of computer multi-process fair scheduling in the present invention, wherein the processes are 1, 2, 3, 4, 5 and 6, and there is an impact factor function f(1)={2, 3, 4}, f(2)={3, 5}, f(3)={1, 2, 4}, f(4)={2, 3, 6}, f(5)={4, 6} and f(6)={1, 5}.
[0064] According to the generation algorithm of scheduling set D, if process 1 is randomly selected, the available scheduling set D={1, 5}, unscheduled processes 2, 3, 4 and 6 are put into the backup scheduling queue L( Figure 5 (referred to as queue in the middle), and the 7 schedules are as follows:
[0065] The first scheduling: schedule processes 1 and 5 in the scheduling set D={1, 5}, then obtain the scheduling set D={2, 6} from the backup scheduling queue L, and delete the process from the backup scheduling queue L 2 and 6, the scheduled processes 1 and 5 are inserted into the tail of the backup schedul...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com