Thread scheduling management method and device, computer equipment and storage medium

A scheduling management and computer program technology, applied in the computer field, can solve problems such as over-scheduling problems, and achieve the effect of improving reliability and avoiding excessive thread load.

Active Publication Date: 2018-09-18
ONEPLUS TECH SHENZHEN
View PDF18 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Based on this, it is necessary to address the above technical problems and provide a thread scheduling management method, device, computer equipment and storage medium that can solve the problem of overscheduling in the thread scheduling process

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
  • Thread scheduling management method and device, computer equipment and storage medium
  • Thread scheduling management method and device, computer equipment and storage medium
  • Thread scheduling management method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0028] In one embodiment, such as figure 1 As shown, a thread scheduling management method is provided, and the method is applied to a terminal as an example for illustration, including the following steps:

[0029] Step 102, select the outgoing processor and the incoming processor, and judge whether the outgoing processor and the incoming processor meet the thread migration condition; wherein, the outgoing processor includes one or more thread queues.

[0030] The processor of the terminal may be at least one of a central processing unit (Central Processing Unit, CPU), a...

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 application relates to a thread scheduling management method and device, computer equipment and a storage medium. The method includes: selecting an emigration processor and an immigration processor, and judging whether the emigration processor and the immigration processor meet a thread transfer condition, wherein the emigration processor includes one or more thread queues; if yes, finding threads in the thread queues running on the emigration processor, and calculating remaining to-be-transferred-load quantity corresponding to the found threads; and selecting target threads according to the remaining to-be-transferred-load quantity, and scheduling the target threads to the immigration processor. By adopting the method, the problem that load quantity of scheduled threads is too large,and thus over-scheduling occurs can be avoided.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a thread scheduling management method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology, computer equipment can dynamically schedule threads on processors during operation, so that threads can achieve load balance on each processor and improve the execution efficiency of threads. For the threads on the processor, there is a difference in priority. In the existing thread scheduling method, the thread is only selected according to the priority of the thread for scheduling. Since different threads have different loads, it may be possible to use this thread scheduling method. As a result, the load is unbalanced after the thread is scheduled, that is, the problem of over-scheduling occurs. Therefore, how to solve the problem of overscheduling in the thread scheduling process has become a technical pro...

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 Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/505
Inventor 陈奂彣
Owner ONEPLUS TECH SHENZHEN
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