Patent · US Active

Method for mapping between virtual CPU and physical CPU and electronic device

US10216530B2 · kind B2 · utility

0Cited by
0References
14Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 12, 2016
Grant dateFeb 26, 2019
Priority date
Expiry dateApr 5, 2037

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2009/45583
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for mapping between a virtual central processing unit (CPU) and a physical CPU. The method includes obtaining, by a virtual machine manager, a set of to-be-mapped first virtual CPUs in a current time period and a first physical CPU that has fewest to-be-run tasks, obtaining, by the virtual machine manager, a first characteristic value of each first virtual CPU in the set of first virtual CPUs and a second characteristic value of the first physical CPU, obtaining, by the virtual machine manager from all the first characteristic values, a target characteristic value that matches the second characteristic value, and mapping a target virtual CPU corresponding to the target characteristic value to the first physical CPU for running. By means of the foregoing technical solutions, resource contention and a decrease in overall system performance are avoided when mapping a virtual CPU to a physical CPU.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.