Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (3): 36-41.doi: 10.16180/j.cnki.issn1007-7820.2023.03.006

Previous Articles     Next Articles

Task Partitioning Optimization Algorithm Based on MrsP Protocol

ZHANG Haitao,ZHANG Tong,ZHANG Yuhui,GUAN Yinfeng,ZHANG Fengdeng   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:2021-09-01 Online:2023-03-15 Published:2023-03-16
  • Supported by:
    National Natural Science Foundation of China(71840003);Shanghai Municipal Natural Science Fund Project(15ZR1429300)

Abstract:

Scheduling and resource sharing are the core problems in multiprocessor real-time systems, the corresponding scheduling algorithm and shared resource access protocol will directly affect the performance of the system, which requires the scheduling algorithm and resource access protocol to maximize the computing power of the hardware platform on the basis of ensuring real-time performance. However, most existing scheduling algorithms assume that tasks are independent of each other and do not consider resource sharing among tasks. Besides, shared resource access protocols also focus on rules and worst-case response time analysis. In this regard, the whole schedule ability condition of multiprocessor real-time system is obtained by combining P-RM algorithm and MrsP protocol. According to the characteristics of the MrsP protocol, this study proposes a task division algorithm to reduce the blocking time. By improving the calculation method of the task utilization, the proposed method solves the problem of repeated calculation in the critical area. Compared with the previous task partitioning algorithm, the proposed algorithm also solves the key area of double-counting and splits the redistribution after task classification problem. Experiments resalts show that the number of processors required by the algorithm is reduced by 15% to 20%.

Key words: multiprocessor, real-time system, shared resource access protocol, schedule ability analysis, real-time scheduling, worst response time, partition algorithm, number of processors

CLC Number: 

  • TP316