Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Direct interrupt submitting method based on hardware-assisted technique and virtual CPU running states

A hardware-assisted, running state technology, applied in software simulation/interpretation/simulation, program startup/switching, resource allocation, etc., can solve the problems of virtual machine interrupt delivery, I/O response delay, high virtual CPU load, etc., to reduce interrupts Delay, I/O response rate increase, eliminate all delay effects

Active Publication Date: 2016-11-09
SHANGHAI JIAO TONG UNIV
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is the I / O response delay caused by the virtual machine interrupt submission and the processing mechanism defect and the excessive load of the virtual CPU

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
  • Direct interrupt submitting method based on hardware-assisted technique and virtual CPU running states
  • Direct interrupt submitting method based on hardware-assisted technique and virtual CPU running states
  • Direct interrupt submitting method based on hardware-assisted technique and virtual CPU running states

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The idea, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings, so as to fully understand the purpose, features and effects of the present invention.

[0031] figure 1It is a schematic diagram of the interrupt processing flow in a traditional virtualization environment. In a virtualized environment, the physical interrupt generated by the SRIOV direct allocation device through the MSI / MSI-X mechanism will be intercepted by the VMM and cause the virtual CPU running the virtual machine to generate a VM-exit operation. The VMM injects the virtual interrupt into the virtual machine at the next VM entry by modifying the value of the virtual interrupt control register and the VMCS (Virtual Machine Control Structure) maintained for the virtual machine. After the virtual machine finishes processing the interrupt, it needs to notify the virtual interrupt controller of the End Of Interrupt...

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 direct interrupt submitting method based on a hardware-assisted technique and virtual CPU running states. The method is characterized by comprising the steps that after SRIOV direct allocation equipment generates a physical interrupt for a virtual machine through an MSI / MSI-X mechanism, the physical interrupt is directly submitted to a virtual CPU which runs currently or is dispatched firstly by analyzing running states and historical running data of all current virtual CPUs of the virtual machine through an APICv hardware technique and a Posted Interrupt hardware technique on the condition that a VM exit is not caused, therefore, a context exchange load brought by the VM exit and an interrupt time delay caused by ununiform virtual CPU dispatching are avoided, the interrupt processing efficiency in a virtual environment is effectively improved, and the overall performance is promoted.

Description

technical field [0001] The invention relates to the field of virtual machine interrupt control, in particular to a direct interrupt delivery method based on hardware assist technology and virtual CPU running state. Background technique [0002] Virtualization technology is one of the important supporting technologies of the current cloud computing infrastructure architecture. By adding a layer of virtual machine management layer between the original hardware layer and the operating system layer, virtualization technology integrates and abstracts the underlying hardware resources and uses virtual The form of resources is provided to the upper virtual machine and ensures the isolation and security between each virtual machine, allowing the physical resources (CPU, memory, disk, etc.) on the physical machine to be reused on each virtual machine, thereby reducing operating costs , Improve physical resource utilization. Existing cloud computing data centers use virtual machine m...

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 Applications(China)
IPC IPC(8): G06F9/50G06F9/455G06F9/48
CPCG06F9/45558G06F9/4812G06F9/4881G06F9/5027G06F2009/4557G06F2209/5012
Inventor 管海兵张望马汝辉李健胡小康
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products