DMA (direct memory access) resource allocation method for virtual machine under sun4v architecture

A resource allocation and virtual machine technology, applied in the field of virtual machine DMA resource allocation, can solve the problems of the Feiteng processor platform being difficult to exert its processing power, unable to exert its processing power, unable to use equipment, etc., to achieve high flexibility and adaptability, improve Overall IO performance and the effect of minimizing performance loss

Active Publication Date: 2012-06-27
NAT UNIV OF DEFENSE TECH
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] To sum up, the current virtualization technology of sun4v only allows the control domain to directly access the device, and the client domain can only realize virtual shared access through the control domain, but cannot directly access the device. The client domain must pass through the control domain to complete The DMA operation suppresses the IO performance of the virtual machine and makes the control domain the IO bottleneck of the system, making it difficult for the Phytium processor platform to exert its maximum processing capacity, and it is also difficult for other virtual machines based on the sun4v architecture such as opensparc T1 and opensparc T2 The maximum processing capacity of

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
  • DMA (direct memory access) resource allocation method for virtual machine under sun4v architecture
  • DMA (direct memory access) resource allocation method for virtual machine under sun4v architecture
  • DMA (direct memory access) resource allocation method for virtual machine under sun4v architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The virtual machine environment of this embodiment is a Feiteng processor platform based on the sun4v architecture, the control domain has a PCIE bus (specified in MD), and the client domain has no physical PCIE bus device.

[0043] Such as Figure 5 As shown, the implementation steps of the virtual machine DMA resource allocation method under the sun4v architecture in this embodiment are as follows:

[0044] 1) Both the control domain and the guest domain of the virtual machine reserve the global reserved virtual address space for DMA operations when the operating system is started, and the control domain and the guest domain are respectively established to use the DMA virtual address in the global reserved virtual address space An address translation page table (IOTSB) that translates to physical memory addresses;

[0045] 2) The client domain to be operated by DMA negotiates with the control domain to obtain a DMA virtual address, and the control domain allocates a ...

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 DMA (direct memory access) resource allocation method for a virtual machine under a sun4v architecture, which includes the steps: 1) enabling a control domain and a customer domain to keep overall-situation reserved virtual address spaces and to set up address translation page tables; 2) enabling the customer domain to acquire the DMA virtual addresses through consultation with the control domain, and allocating the DMA virtual addresses from the overall-situation reserved virtual address spaces to the customer domain by the control domain; 3) utilizing a virtual machine monitor to open service interfaces of an input/output memory management unit to the customer domain; and 4) utilizing the customer domain to search the address translation page tables to obtain real addresses and the table item sequence number, calling the service interfaces of the input/output memory management unit by the customer domain according to the real addresses and the table item sequence number so that the customer domain realizes operation of the DMA with physical memory, and releasing the allocated DMA virtual addresses after DMA operation is completed. The customer domain ofthe method can directly perform DMA operation without the aid of the control domain, and the method has the advantages of fine reliability, high safety, low performance loss, fine flexibility and adaptability and wide application range.

Description

technical field [0001] The invention relates to the technical field of computer virtualization, in particular to a virtual machine DMA resource allocation method under the sun4v architecture. Background technique [0002] Virtualization technology has been widely used in the computer field. The current virtualization technology can be divided into two categories: one is to establish multiple virtual machine environments by partitioning or multiplexing redundant resources on a single physical machine; The other is to integrate multiple physical machine resources to establish a unified computer environment with more powerful capabilities. This article deals with the first type of virtualization technology, that is, virtualization on a single physical computer system. [0003] Traditional computer system software generally consists of operating system and user software; virtualization technology introduces a new software level (also known as privilege level or running state) t...

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/455
Inventor 董攀易晓东吴庆波戴华东孔金珠刘晓建颜跃进
Owner NAT UNIV OF DEFENSE TECH
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