Task scheduling method and scheduling device

A task scheduling and scheduling device technology is applied in the computer field to improve system performance and reduce tasks that cannot be processed in time.

Active Publication Date: 2019-07-09
HUAWEI TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a task scheduling method and a scheduling device, which can implement task scheduling based on hyper-threading groups grouped by resource sharing relationships, and help reduce the problem that tasks cannot be processed in time due to resource competition among tasks , thus improving the system performance

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
  • Task scheduling method and scheduling device
  • Task scheduling method and scheduling device
  • Task scheduling method and scheduling device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0032] It should be understood that the technical solutions involved in the embodiments of the present invention can be specifically applied to a physical machine, and the physical machine can include a processing circuit integrated with each physical CPU, and the processing circuit can be integrated on a chip, and various An operating system (Operating System, abbreviation: OS), such as Linux, Windows, UNIX system, etc., that is, a system on chip (System on Chip, abbreviation: SOC) is formed on a chip. Optionally, the physical machine may include, but is not limited to, smart phones (such as Android phones, iOS phones, etc.), tablet computers, mobile internet devices (mobile internet devices, MID for short), computers, and so on.

[0033] Wherein, one or more hyperthreads may run in one physical CPU. Optionally, the hyperthread may...

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 discloses a task scheduling method and a task scheduling device. The method comprises the steps that a plurality of hyperthreads are grouped according to identifications of resources used by the plurality of hyperthreads running in a first processor core to obtain at least one hyperthread group, and in the at least one hyperthread group, the identifications of the resources used by the hyperthreads in the hyperthread group are the same; and according to the operation state parameters of one or more hyperthread groups in the at least one hyperthread group, changing a task operatedon at least one hyperthread in the plurality of hyperthreads, the operation state parameters comprising one or more of a load, a utilization rate, a competitive resource type and a resource density index. By the adoption of the task scheduling method and device, task scheduling can be achieved on the basis of the hyperthread groups obtained through resource sharing relation grouping, the problemthat tasks cannot be processed in time due to resource competition between the tasks is solved, and therefore the system performance is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a task scheduling method and a scheduling device. Background technique [0002] With the continuous development of computer technology, hyper-threading (Hyper-Threading, abbreviation: HT) technology is widely used, so that the processing performance of a central processing unit (Central Processing Unit, abbreviation: CPU) can be improved. The HT technology uses special hardware instructions to simulate a physical CPU into multiple logical CPUs, namely hyperthreads. The multiple hyperthreads run on the physical CPU and can use the resources of the physical CPU to perform multiple tasks. Therefore, multiple tasks can be executed in parallel on a hyperthread, so that more tasks can be executed on a physical CPU at the same time, which reduces the idle time of the CPU and improves CPU efficiency. However, multiple hyperthreads may share some resources in the CPU, such as...

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/4843G06F9/5038G06F2209/486G06F2209/5018Y02D10/00
Inventor 耿东久陈善席柴先平
Owner HUAWEI TECH CO LTD
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