Method for improving reading speed of virtual machine temporary file

A technology for temporary files and reading speed, applied in the field of cloud computing, can solve the problems of waste of storage device cost, limited physical machine disk IO restrictions, etc., to improve data access speed, improve the reading speed of temporary files, and reduce bad sectors. the effect of risk

Inactive Publication Date: 2016-02-24
G CLOUD TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The use of Serio technology and paravirtualization drivers is still limited by the overa...

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
  • Method for improving reading speed of virtual machine temporary file
  • Method for improving reading speed of virtual machine temporary file
  • Method for improving reading speed of virtual machine temporary file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Such as figure 1 , 2 As shown, there are multiple implementations of the present invention, here will be based on KVM virtualization implementation as an example to illustrate one of the implementation methods, the flow chart is as follows figure 1 As shown, the technical principle is as follows figure 2 shown.

[0026] The specific implementation process is as follows:

[0027] 1. Set the memory cache of the virtual machine, with a size of 512M;

[0028]

[0029] 2. Call the virtual machine AGENT, call the RAM driver interface, and divide the virtual machine memory into 512M virtual memory disk E;

[0030]

[0031]

[0032] 3. Enter the memory disk E and create a folder TEMP;

[0033] Call underlying command #mdE:\TEMP

[0034] 4. Call the CMD command to point the system temporary file directory to E:\TEMP;

[0035] Call the underlying command

[0036] #C:\>SETTEMP=E:\TEMP

[0037] #C:\>SETTMP=E:\TEMP.

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 present invention relates to the technical field of cloud computing, and in particular to a method for improving reading speed of a virtual machine temporary file. The method provided by the invention comprises: firstly, setting a virtual machine memory cache, wherein the size of the memory cache is 512 M; then calling a virtual machine AGENT, calling a RAM drive interface, and partitioning 512 M off a virtual machine memory and virtualizing the 512 M into a memory disk E; then, entering the memory disk E, and creating a folder TEMP; and finally, calling a command CMD, and pointing a system temporary file directory to E:\TEMP. The method provided by the present invention is not limited by physical machine IO, and memory resources are fully utilized; and reading speed of a virtual machine system temporary file is increased, wherein memory reading speed is 20 times faster than hard disk reading speed, so that data access speed can be fast and effectively increased by using a memory to virtualize a hard disk. The method provided by the present invention can be used in a situation in which the reading speed of the virtual machine temporary file needs to be increased.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method for improving the reading speed of a temporary file of a virtual machine. Background technique [0002] In the cloud computing environment, the performance of the main components such as the CPU, memory and graphics card of the computer has been improved rapidly, and the performance of the corresponding disk system is becoming more and more seriously the bottleneck of the performance improvement of the entire system. It is reflected in the reading and writing speed of the temporary files of the system, which is why the daily operation of the virtual machine is always half a beat slower than that of the physical machine. In this case, the following methods are generally used to improve the virtual machine operating experience: [0003] 1. Using Serio technology, the virtual machine is directly connected to the physical PCI, thereby improving the IO read and write...

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): G06F3/06G06F9/455
CPCG06F3/0662G06F9/45504
Inventor 刘勇彬杨松莫展鹏季统凯
Owner G CLOUD 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