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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com