Mapping method between virtual CPUs (Central Processing Unit) and physical CPUs, and electronic equipment
A virtual machine manager, physical technology, applied in the field of electronics, can solve problems such as overall system performance degradation and resource competition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0098] Please refer to figure 1 , The method for mapping between virtual CPUs and physical CPUs provided in the application embodiments is applied to a multi-core system. The multi-core includes at least two physical CPUs 11, a virtual machine manager (Virtual Machine Manager, VMM) 12, and at least one virtual machine (Virtual Machine, VM). ) 13, where each virtual machine 13 includes one or more virtual CPUs 131. In the multi-core system, the virtual machine manager 12 runs on any one of the at least two physical CPUs 11 to implement the mapping and management between the virtual CPU 131 and the physical CPU 11, and can map the virtual CPU 131 to the system at least Run on any one of the two physical CPUs 11.
[0099] Please refer to figure 2 , The mapping method between virtual CPU and physical CPU provided by the embodiment of the present application includes:
[0100] S201: In the current time period, the virtual machine manager 12 obtains the first virtual CPU set to be map...
Embodiment 2
[0139] Please refer to Figure 4 An embodiment of the present application provides a method for adjusting the frequency of a physical CPU, and the method includes:
[0140] S401: Obtain current CPU utilization and operating parameters of the physical CPU;
[0141] S402: Obtain a target frequency required for the current operation of the physical CPU according to the CPU utilization rate and the operating parameter, and adjust the current operating frequency of the physical CPU to the target frequency.
[0142] In the specific implementation process, the operating parameters of the physical CPU specifically include: the maximum frequency and the minimum frequency that the physical CPU can reach when working, and the maximum memory bus utilization rate and minimum memory bus utilization rate of the physical CPU on the physical host. According to the current CPU utilization rate and operating parameters of the physical CPU, the embodiment of the present application can obtain the target...
Embodiment 3
[0147] Please refer to Figure 5 , An embodiment of the present application provides an electronic device, including:
[0148] The virtual machine 510 includes at least one virtual CPU;
[0149] A virtual machine manager 520, which includes a feature acquisition module 521 and a mapping module 522;
[0150] Wherein, the feature acquisition module 521 is configured to, in the current time period, the virtual machine manager 520 acquires a first set of virtual CPUs to be mapped from the at least two virtual CPUs, from the at least two physical CPUs Acquiring the first physical CPU with the fewest tasks to be run in the next time period; acquiring the first characteristic value of each first virtual CPU in the first virtual CPU set and the second characteristic value of the first physical CPU, The first characteristic value of each of the first virtual CPUs represents the characteristics of the physical CPU that the first virtual CPU is mapped to in the previous time period of the curr...
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