Search

CN-116149786-B - Container pipeline scheduling management method, system and medium

CN116149786BCN 116149786 BCN116149786 BCN 116149786BCN-116149786-B

Abstract

The invention provides a container pipeline scheduling management method, a system and a medium based on an ARM+DSP heterogeneous multi-core processor, wherein the method comprises the following steps of configuring scheduling related attributes of a container, wherein the scheduling related attributes of the container comprise container continuous running time DT and container interval time IT, and the container comprises an ARM container and a DSP container; and selecting the next container to be operated according to the scheduling related attribute of the container and a pre-established container linked list and a time window static scheduling strategy, and controlling the container pipeline to operate. Compared with the prior art, the method and the device realize independent operation on the premise of ensuring that all containers are orderly, mutually unaffected and mutually interactable under the condition of sharing physical resources.

Inventors

  • TAO YONGCHAO
  • WEI MING
  • WU XIANGHU

Assignees

  • 深圳航天科技创新研究院

Dates

Publication Date
20260512
Application Date
20221227

Claims (4)

  1. 1. The container pipeline scheduling management method based on the ARM+DSP heterogeneous multi-core processor is characterized by comprising the following steps of: configuring dispatch-related attributes of a container, wherein the dispatch-related attributes of the container comprise container duration running time DT and container interval time IT, and the container comprises an ARM container and a DSP container; According to the scheduling related attributes of the containers and the pre-established two container linked lists, selecting the next container to be operated according to a time window static scheduling strategy, and controlling the container pipeline to operate; The first container chain table of the two container chain tables is a ready chain table formed by all ready containers, and the order of container configuration is arranged when nodes in the ready chain tables are installed; the container management uses the physical TIMER interval_timer of ARM core to provide timing service, wherein the timing time is determined by the INTERVAL time of the container currently running, and the initial timing time is the INTERVAL time of the first container; based on the dispatch related attributes of the container and the pre-established container linked list, selecting a next container to be operated according to a time window static scheduling strategy, and controlling the operation of a container pipeline comprises the following steps: When the arrival timing time generates an interrupt, selecting a next container to be operated in the interrupt process, and resetting the timing time of the timer to be the interval time of the next container to be operated; If the next running container is an ARM container, starting to run the candidate ARM container; if the next running container is a DSP container, continuing to run the current container and sending inter-core interrupt to the main core of the DSP container, and starting the candidate DSP container; The second container chain table of the two container chain tables consists of running container nodes, the ordering sequence of the nodes is a time difference chain table formed by the DT value of the container to be run and the DT-IT difference value of the container currently being run, the container management provides timing service by using an ARM in-core physical TIMER DURATION_TIMER, the next container to be run is selected according to the scheduling related attribute of the container and the pre-established container chain table and the static scheduling strategy of the time window, and the step of controlling the container pipeline to run comprises the following steps: The installation DURATION time of each executing container is connected in series to the time differential chain table, the generation of the DURATION_TIMER TIMER interrupt is waited, and the time differential chain table is traversed to execute the corresponding timing service; The step of concatenating each executing container installation DURATION into the time differential linked list, waiting for the generation of the duration_timer TIMER interrupt, and traversing the time differential linked list to execute the corresponding timing service includes: when the DURATION_TIMER timed interrupt is generated, interrupt service is entered, and whether an expiration container is a DSP container or an ARM container is judged; If the expiration container is a DSP container, executing a timing service, and sending an inter-core notification to suspend the corresponding container; If the expiration container is an ARM container, executing ARM timing service, and suspending the corresponding container; The DURATION TIMER is started and the interrupt service is exited.
  2. 2. The method for scheduling and managing a container pipeline based on an arm+dsp heterogeneous multi-core processor according to claim 1, wherein the step of selecting a next container to be run according to a time window static scheduling policy according to scheduling related attributes of the container, and controlling the container pipeline to run activates each container to execute by allocating time container windows, wherein each container window is defined by a start time of the container plus a desired duration running time.
  3. 3. A container pipeline dispatch management system based on an arm+dsp heterogeneous multi-core processor, the system comprising a memory, a processor, and a container pipeline dispatch manager based on an arm+dsp heterogeneous multi-core processor stored on the processor, the container pipeline dispatch manager based on an arm+dsp heterogeneous multi-core processor being executed by the processor to perform the steps of the method of claim 1.
  4. 4. A computer readable storage medium, characterized in that the computer readable storage medium stores a container pipeline scheduling management program based on ARM+DSP heterogeneous multi-core processor, the ARM+DSP heterogeneous multi-core processor based container pipeline dispatch management program when run by a processor performs the steps of the method of claim 1.

Description

Container pipeline scheduling management method, system and medium Technical Field The invention relates to the technical field of container pipeline scheduling management, in particular to a container pipeline scheduling management method, system and medium based on an ARM+DSP heterogeneous multi-core processor. Background The concept of the container is most initial in the field of virtual machines, and under the condition that the physical resources are abundant, a set of physical environment can simultaneously support the operation of a plurality of independent systems. Then, under the condition of sharing physical resources, the concept of containers is generated so as to ensure that all subsystems operate independently on the premise of orderly, mutually non-influencing and mutually interactable. The ARM+DSP heterogeneous multi-core processor-based container has both an ARM container based on virtualization technology (taking a client operating system as a container) and a DSP container based on multi-core DSP (taking multiple DSP cores as a container). The main core of the dispatching management of the container pipeline based on the ARM+DSP heterogeneous multi-core processor is the configuration of the container attribute and the dispatching of the container. The configuration of properties of a container mainly refers to which properties of the container are configured and how. Scheduling of containers mainly refers to the scheduling policy of the container, how to select the next container to run, and how to control the container pipeline to run. Disclosure of Invention The invention mainly aims to provide a container pipeline scheduling management method, a system and a medium based on an ARM+DSP heterogeneous multi-core processor, which aim to realize independent operation on the premise of ensuring orderly, mutually non-influence and mutually interactable containers under the condition of sharing physical resources. In order to achieve the above purpose, the invention provides a container pipeline scheduling management method based on an ARM+DSP heterogeneous multi-core processor, which comprises the following steps: configuring dispatch-related attributes of a container, wherein the dispatch-related attributes of the container comprise container duration running time DT and container interval time IT, and the container comprises an ARM container and a DSP container; And selecting the next container to be operated according to the scheduling related attribute of the container and a pre-established container linked list and a time window static scheduling strategy, and controlling the container pipeline to operate. According to the scheduling related attribute of the container, selecting the next container to be operated according to a time window static scheduling strategy, and in the step of controlling the container pipeline operation, activating each container to be executed by distributing time container windows, wherein each container window is defined by the starting time of the container plus the expected continuous operation time. The container linked list is a ready linked list formed by all ready containers, and the order of container configuration is arranged when nodes in the ready linked list are installed. The invention further adopts the technical scheme that the container management uses the physical TIMER INTERVAL_TIMER of the ARM core to provide timing service, wherein the timing time is determined by the INTERVAL time of the container currently running, and the initial timing time is the INTERVAL time of the first container. According to a further technical scheme of the invention, the steps of selecting a next container to be operated according to a time window static scheduling policy and controlling the operation of a container pipeline according to the scheduling related attribute of the container and a pre-established container linked list comprise the following steps: When the arrival timing time generates an interrupt, selecting a next container to be operated in the interrupt process, and resetting the timing time of the timer to be the interval time of the next container to be operated; If the next running container is an ARM container, starting to run the candidate ARM container; if the next container is a DSP container, the current container is continuously operated and inter-core interrupt is sent to the main core of the DSP container, and the candidate DSP container is started. The container linked list is composed of running container nodes, and the ordering sequence of the nodes is a time difference linked list composed of DT values of the containers to be run and DT-IT differences of the containers currently being run. The invention further adopts the technical scheme that the container management uses an ARM nuclear physical TIMER DURATION_TIMER to provide timing service, and the steps of selecting the next container to be operated according to a time window