A virtual machine central processing unit cpu binding method and device

A technology of central processing unit and virtual machine, which is applied in the direction of program control device, electrical digital data processing, software simulation/interpretation/simulation, etc. It can solve the problem of low performance of virtual machine, achieve the effect of improving performance and avoiding performance degradation

Active Publication Date: 2020-08-18
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a virtual machine CPU binding method and device, which can solve the problem of low virtual machine 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
  • A virtual machine central processing unit cpu binding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

[0028] The inventor of the present application proposes that the performance of the virtual machine can be managed according to the CPU binding of the virtual machine and whether each CPU of the physical machine shares the L2 cache, that is, for a virtual machine with a high memory load, the virtual machine needs to be bound in Share the physical CPU of the L2 cache to improve performance. If other virtual machine CPUs with high memory loads are also bound to these physical CPUs at this time, the performance of the virtual machine will be greatly reduced, so the ph...

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 virtual machine central processing unit CPU binding method and device, and relates to the virtual machine technology. The virtual machine CPU binding method comprises the following step: binding virtual machines whose memory resource occupancy rate reaches or exceeds a first set threshold to a physical CPU that shares an L2 cache in accordance with a first binding strategy, wherein the first binding strategy comprises the following conditions: binding the virtual machines whose memory resource occupancy rate reaches or exceeds the first set threshold to the physical CPU that shares the L2 cache, and only one virtual machine whose memory resource occupancy rate reaches or exceeds the first set threshold is running on the bound physical CPU.

Description

technical field [0001] The invention relates to virtual machine technology, in particular to a virtual machine performance management scheme based on physical CPU sharing L2 cache. Background technique [0002] In a virtualized environment, each virtual CPU of a virtual machine can be allocated to a physical CPU independently. For example, the virtual machine CPU1 of virtual machine A can be allocated to the physical CPU3, so that the virtual machine CPU can only use the resources of the physical CPU3, but In today's multi-core CPUs, the physical CPUs are not completely isolated. If the virtual machine CPUs are not correctly allocated to the corresponding physical CPUs, performance may be degraded. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a virtual machine CPU binding method and device, which can solve the problem of low performance of the virtual machine. [0004] In order to solve the above technical pr...

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 Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557
Inventor 解琰曾鹏庞慷宇
Owner INSPUR SUZHOU INTELLIGENT 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