Unlock instant, AI-driven research and patent intelligence for your innovation.

A task scheduling method, device, equipment and medium

A task scheduling and task technology, applied in the field of multi-core computers, can solve problems such as subtask blocking, low task execution efficiency, and reduced computer system performance, and achieve the effect of improving task execution efficiency, data processing efficiency and performance

Active Publication Date: 2022-08-02
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this allocation mode, the operating system scheduling module only schedules subtasks mechanically, which will lead to frequent access between subtasks running inside different CPUs when subtasks with a high degree of coupling are allocated to different CPUs. The memory operation leads to the blocking problem of subtasks, which leads to low task execution efficiency, which in turn reduces the data processing efficiency of the entire computer system and reduces the performance of the computer 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
  • A task scheduling method, device, equipment and medium
  • A task scheduling method, device, equipment and medium
  • A task scheduling method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0052] see image 3 As shown, the embodiment of the present application discloses a task scheduling method, which is applied to a multi-core computer, and the method includes:

[0053]Step S11: Acquire a task to be executed, and divide the task to be executed into a plurality of subtasks to be executed that are executed in parallel.

[0054] In a specific implementation process, the task to be executed needs to be obtained first, and 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 present application discloses a task scheduling method, device, device, and medium. The method includes: acquiring a task to be executed, and dividing the task to be executed into a plurality of subtasks to be executed that are executed in parallel; determining each of the tasks to be executed The number of shared variables between subtasks; based on the number of shared variables, each of the subtasks to be executed is grouped to obtain different task groups to be executed; each of the task groups to be executed is assigned to the corresponding CPU, and is Variables in the to-be-executed task allocate storage space so that the CPU executes the to-be-executed subtasks in the assigned to-be-executed task group. In this way, subtasks with higher coupling degree can be allocated to the same CPU, avoiding the blocking problem of subtasks, improving task execution efficiency, and further improving the data processing efficiency and performance of the entire computer system.

Description

technical field [0001] The present application relates to the technical field of multi-core computers, and in particular, to a task scheduling method, apparatus, device, and medium. Background technique [0002] Multi-core processors are the current mainstream commercial CPU (Central Processing Unit, central processing unit) architecture. Multi-core processors integrate multiple processor cores into one chip, and all processor cores can access all physical memory. , easy to manage, so it has been widely used. Multi-core programming often adopts multi-task mode design, and assigns tasks to each processor core for execution in parallel. The typical programming model is shared memory programming model. [0003] see figure 1 As shown, in the UMA (Unified Memory Architecture, unified memory architecture) architecture, each CPU implements consistent storage, and each CPU can access memory through a memory controller. and see figure 2 As shown, different processors on the same...

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/48G06F9/50
CPCG06F9/4881G06F9/5027G06F9/5066
Inventor 刘同强王朝辉李拓周玉龙邹晓峰童元满
Owner SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD