Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CPU scheduling method, device and system based on heterogeneous multi-core system

A scheduling method and heterogeneous multi-core technology, applied in multi-channel program devices, program control design, instruments, etc., can solve problems such as inaccurate grouping decisions and inaccurate allocation of scheduling domains

Active Publication Date: 2014-03-19
HUAWEI TECH CO LTD
View PDF3 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This CPU scheduling technology is inaccurate in grouping decisions for tasks, and cannot be accurately assigned to the corresponding scheduling domains.

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
  • CPU scheduling method, device and system based on heterogeneous multi-core system
  • CPU scheduling method, device and system based on heterogeneous multi-core system
  • CPU scheduling method, device and system based on heterogeneous multi-core system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0144] The present invention provides a specific implementation scheme for scheduling based on CPUs in a heterogeneous multi-core system.

[0145] Such as Figure 5 As shown, the CPU scheduling method based on the heterogeneous multi-core system specifically includes the following steps:

[0146] Step 501, the Linux operating system is started, the CPU is configured using cgroup and cpuset technology, and the background service program of the user space is started at the same time.

[0147] The described utilizing cgroup and cpuset technology to configure CPU comprises: according to the structure of CPU, utilize cpuset technology to carry out cpuset division to a plurality of CPUs, divide the CPU with the same structure into the same cpuset; There are several cgroups, one cgroup corresponds to one cpuset, and the tasks in the cgroup can only schedule the CPU in the corresponding cpuset.

[0148] In this specific embodiment, the CPUs numbered 0 and 1 (such as Figure 5 CPU0 ...

Embodiment 2

[0169] The following will provide another specific implementation solution for scheduling based on CPUs in a heterogeneous multi-core architecture according to the above-described devices.

[0170] In this embodiment, a handheld terminal device with the same operating system as in Embodiment 1 is used, that is, the handheld mid-end device uses a Linux operating system. The difference is that in this embodiment, the operating system performs CPU scheduling in the manner of processor cluster switching according to the information provided by the user space. The handheld terminal device has divided high-performance CPUs and low-performance CPUs in terms of hardware architecture, that is, CPUs with the same structure and numbered 0 and 1 have been divided into a processor cluster, and the processor cluster is a high-performance CPU. Processor cluster: CPUs with the same structure and numbered 2 and 3 are divided into a processor cluster, which is a low-performance processor cluste...

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 CPU scheduling method, device and system based on a heterogeneous multi-core system, and relates to the technical field of CPU scheduling on a computer system. The CPU scheduling method, device and system are used for achieving CPU scheduling on the heterogeneous multi-core system, reasonably using resources, improving the system performance and sufficiently giving play to the advantages of the heterogeneous multi-core system. The CPU scheduling method based on the heterogeneous multi-core system includes the steps of receiving application program performance type information sent by a processing device, and scheduling CPUs for application programs according to the application program performance type information.

Description

technical field [0001] The present invention relates to the technical field of CPU scheduling of computer systems, in particular to a CPU scheduling method, device and system based on a heterogeneous multi-core architecture. Background technique [0002] Currently, the mainstream operating system scheduler supports a homogeneous multi-core architecture, such as a Symmetrical Multi-Processing (SMP) architecture. The heterogeneous multi-core system refers to the architecture in which all the cores in the processor are not all the same, such as the asymmetric multi-processor system of the big.LITTLE architecture. The operating system based on the heterogeneous multi-core system mainly adopts the following two methods CPU (Central Processing Unit, referred to as CPU) for scheduling. [0003] One way is: using a high-performance CPU core and a low-power CPU core as a processor cluster respectively in a hardware architecture. The operating system uses its own frequency adjustmen...

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
IPC IPC(8): G06F9/50
CPCG06F9/5027G06F9/505G06F2209/501G06F9/4881
Inventor 陆成刚
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products