Virtualization method and device

A virtualization and virtual machine technology, applied in the computer field, can solve problems affecting the access speed of virtual NVMe devices, and achieve the effects of avoiding Qemu lock competition, improving access speed, and low latency

Inactive Publication Date: 2016-06-22
HUAWEI TECH CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a virtualization method to solve the problem that the Qemu process simulates the virtual NVMe device using the traditional I / O process, which affects the access speed of the virtual NVMe device by the application program in 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
  • Virtualization method and device
  • Virtualization method and device
  • Virtualization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0032] It should be understood that the technical solution of the embodiment of the present invention can be applied to a virtualization scenario. In a virtualization scenario, a physical machine Host can virtualize at least one virtual machine, each virtual machine has at least one virtual disk, and the type of each virtual disk is , capacity, etc. can be different.

[0033] figure 1 A schematic diagram showing an application scenario of an embodiment of...

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

Embodiments of the invention provide a virtualization method. The method comprises the following steps: polling a doorbell area of virtual NVMe equipment by a forwarding process; when the doorbell area changes, calling a virtual NVMe driver by the forwarding process to obtain an NVMe command issued by a virtual machine from a changed sending queue of the doorbell area, wherein the NVMe command comprises a read-write request; and calling the NVMe command issued by the forwarding process to analyze the NVMe command so as to obtain a universal read-write request. According to the virtualization method and device provided by the embodiments of the invention, the independently forwarding process is used for completing the read-write operation of the virtual NVMe equipment, and a polling manner is used by the forwarding process to replace the original timer manner, so that the Qemu lock competition can be avoided, the problem of long time delay can be solved at the same time, thereby realizing a high-performance low-time delay NVMe virtualization method and improving the access speed of the NVMe equipment.

Description

technical field [0001] The invention relates to the computer field, in particular to a virtualization method and device in computer technology. Background technique [0002] With the continuous improvement of access speed of storage media, traditional storage protocols such as Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, "SATA"), Serial Attached SCSI (Serial Attached SCSI, "SAS"), FC"), etc. can no longer meet the access speed of storage media. The Non-Volatile Memory Express ("NVMe") protocol is a storage protocol specially designed for high-performance storage media such as Solid State Drives ("SSD"). Compared with traditional storage protocols, it has obvious advantages. Advantages, such as multi-queue, multi-core support, high queue depth, low latency, etc. The combination of NVMe and SSD storage will increase the access speed of storage media to a higher level. Currently, the NVMe SSD storage access latency is below 20us, which is a s...

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): G06F3/06
CPCG06F3/061G06F3/0664G06F3/0679G06F3/0659G06F3/06G06F9/45558G06F2009/45579G06F13/105G06F3/0604G06F13/1668G06F13/4282G06F2213/0028
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