Interrupt realization method between virtual processors, relevant device and system

A technology of a virtual processor and an implementation method, which is applied in the communication field and can solve problems such as virtual machine performance degradation

Active Publication Date: 2014-02-05
HUAWEI TECH CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It can be seen that the above interrupt implementation process needs to perform three operations to the APIC, which leads to three virtual machine exits (Virtual Machine exit, VM-Exit). Among them, VM-Exit can specifically understand the context switch between the virtual machine and the Hypervisor
However, in practical applications, the virtual processor will frequently be interrupted, that is, the virtual machine will appear VM-Exit more frequently, resulting in a decrease in the performance of the virtual machine.

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
  • Interrupt realization method between virtual processors, relevant device and system
  • Interrupt realization method between virtual processors, relevant device and system
  • Interrupt realization method between virtual processors, relevant device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0059] In order to facilitate the understanding of the embodiments of the present invention, virtualization technology is firstly introduced. Virtualization technology is a decoupling technology that separates underlying hardware devices from upper-level operating systems and applications, such as figure 1 As shown, the virtualization technology application scenario includes a hardware layer 11, a VMM layer 12, and a virtual machine layer 13. The definitions of the ...

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 embodiment of the invention discloses an interrupt realization method between virtual processors. The method comprises the following steps that when a source virtual processor needs to trigger the interrupt to a target virtual processor, the information comprising the target virtual processor and registering data used for expressing indication data of the interrupt triggered from the source virtual processor to the target virtual processor are written into a virtual register of a vAPIC (virtual advanced programmable interrupt controller) of the source virtual processor so that a virtual machine monitor analyzes the information of the target virtual processor and the indication data from the virtual register, and in addition, the virtual machine monitor fills the interrupt between the virtual processors into the target virtual processor according to the indication data and the information of the target virtual processor. Correspondingly, the embodiment of the invention also provides a relevant virtual machine, a virtual controller, a calculation node and a system. The performance of the virtual machine can be improved according to the embodiment of the invention.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method for realizing interruption between virtual processors, a related device and a system. Background technique [0002] At present, virtual machines have been widely used, and interrupts often occur in virtual machine applications. For example, when multi-tasks are running in a multi-processor system (Symmetrical Multi-Processing, SMP) and are not bound, the load balancing scheduling will Interrupts occur frequently, for example, Inter-Processor Interrupts (IPIs) occur, and of course other interrupts may also occur. The interrupts are implemented by accessing the registers of the Advanced Programmable Interrupt Controller (APIC). The specific implementation process is as follows: [0003] Read the delivery status (delivery status) value in the APIC's virtual interrupt command register (virtual Interrupt Command Register, vICR); [0004] Write the identity of the local AP...

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/48G06F9/455
CPCG06F9/455G06F9/4812
Inventor 藏洪永张浩宇
Owner HUAWEI 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