FPGA task scheduling method based on condition preemption

A task scheduling and task technology, applied in the direction of multi-programming devices, etc., can solve the problem of high complexity, achieve the effect of low scheduling complexity and reduce waiting time

Inactive Publication Date: 2014-06-11
SHANGHAI UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that it is necessary to use a matrix to represent the usage of the FPGA, and use the matrix elements to record information such as the departure time of the task, and all matrix element information must be updated at each moment, which has high complexity.

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
  • FPGA task scheduling method based on condition preemption
  • FPGA task scheduling method based on condition preemption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Such as figure 1 Shown, the specific implementation steps of the method of the present invention are as follows:

[0023] 1) Create a waiting queue, which is used to place tasks waiting to enter the FPGA;

[0024] 2) Set the time when the head task of the waiting queue first enters the FPGA as the earliest reservation time;

[0025] 3) Obtain non-team leader tasks sequentially, and obtain their execution time;

[0026] 4) Judging whether they meet the preemption condition: current time + task execution time ≤ earliest reservation time of the team leader task. If it is satisfied, skip to 5), if not, skip to 7);

[0027] 5) Judging whether there is enough free space in the FPGA at this moment to allow the task to be placed, if so, skip to 6), otherwise skip to 7);

[0028] 6) The task is put into the FPGA for execution prior to the team leader task;

[0029] 7) The task continues to wait.

[0030] Such as figure 2 As shown, an example of an FPGA task scheduling me...

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 an FPGA (Field Programmable Gate Array) task scheduling method based on condition preemption. The FPGA task scheduling method comprises the following specific steps: firstly, establishing a waiting queue for placing a task waited to enter an FPGA; secondly, setting the time entering the FPGA by a first task in the wait queue as a first appointment time; thirdly, sequentially acquiring non-first tasks and acquiring the execution time of the non-first tasks; fourthly, judging whether the non-first tasks meet the preemption conditions, i.e., the current time and the task execution time is not more than the first appointment time of the first task of the wait queue, if the preemption conditions are met, turning into the fifth step and otherwise, turning into the seventh step; fifthly, judging whether enough free space in the FPGA at the time is allowed to place the task or not, if so, turning into the sixth step and otherwise, turning into the seventh step; sixthly, placing the task into the FPGA for executing prior to the first task in the wait queue; and seventhly, enabling the task to continue waiting. According to the FPGA task scheduling method, the sequence of the tasks entering the FPGA for executing in the wait queue is adjusted, so that the task can be placed in the FPGA for executing prior to the first-come task and further the waiting time of the task is shortened and the execution efficiency of the task is effectively increased.

Description

technical field [0001] The invention relates to an FPGA task scheduling method based on conditional preemption. Background technique [0002] The reconfigurable space and tasks inside the FPGA are both two-dimensional rectangles. There are no strict restrictions on the location selection of the task in the FPGA. As long as there is a blank block in the FPGA that is larger than the logical block area required by the task, the task can be placed in the FPGA to run. Assume that a batch of task queues with no data correlation among them arrive at the reconfigurable component FPGA sequentially. At this time, it is necessary to adjust the order of tasks entering the FPGA according to the resource occupancy of the FPGA, and at the same time, design the algorithm in a reasonable two-dimensional space. place tasks. By comparing the total time spent executing the task set, the probability that the task can enter the FPGA in time to be executed after the task arrives at the FPGA, and...

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/46
Inventor 陈雪张隽丰高英虎
Owner SHANGHAI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products