Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine dynamic caching method based on hot page migration

A dynamic cache and virtual machine technology, applied in the fields of virtualization and computer technology, can solve the problem of limited and unchangeable cache share memory ratio, and achieve the effect of low overhead and high optimization efficiency

Inactive Publication Date: 2014-06-25
PEKING UNIV
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are two disadvantages of static cache partitioning
First, the size of the cache partition needs to be determined in advance and cannot be changed after the virtual machine is started
Second, the cache share reserved for a virtual machine is limited by the proportion of memory occupied by the virtual machine due to the limitations of the software partitioning strategy

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
  • Virtual machine dynamic caching method based on hot page migration
  • Virtual machine dynamic caching method based on hot page migration
  • Virtual machine dynamic caching method based on hot page migration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be further described below through specific embodiments and accompanying drawings.

[0042] In this embodiment, page migration is implemented in Xen3.3.0, and the user can perform page migration by super calling the command CAPAOP_migrate_page. A page migration request includes a pair of parameters . Among them, src_mfn is the page frame number of the machine page, and dst_color is the page color of the physical page corresponding to src_mfn after the page migration is completed. When the page migration is completed, a pair of parameters will be returned for each item in the request list. Among them, dst_mfn is the newly allocated machine page, and status represents whether the operation is successful.

[0043] The earliest method to implement the page migration mechanism is to suspend the virtual machine, copy the page content, modify the P2M mapping and M2P mapping maintained in Xen, clear the shadow page pool, and finally resume the oper...

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 virtual machine dynamic caching method based on hot page migration. The virtual machine dynamic caching method comprises the steps of utilizing an access bit of a page table entry for monitoring use of pages, sorting all the pages according to access frequencies (heat degrees), and monitoring the hot pages; then adjusting the caching quota of a virtual machine through page migration, preferentially migrating the pages with the high access frequencies (heat degrees) to a new caching partition, and achieving dynamic caching partitioning. According to the virtual machine dynamic caching method based on the hot page migration, a processor cache in the virtual operating environment is used as a manageable resource, the cost of the adopted page migration mechanism and the hot page monitoring mechanism can be kept at the lower level, and the caching conflict of parallel programs can be reduced, so that the caching utilization rate is improved, the program execution efficiency is improved, and the higher optimization efficiency is higher than that of methods like a static partitioning method.

Description

technical field [0001] The invention belongs to the field of computer technology and virtualization technology, and relates to a memory management technology of a virtual machine manager, in particular to a virtual machine dynamic caching method based on hot page migration. Background technique [0002] In modern computer systems, caching plays an important role. In a virtualized environment, it is very common for multiple virtual machines to execute concurrently and compete for shared resources. Resource competition exists at both the application level and the system level. This phenomenon makes the problems of cache contention and cache pollution particularly prominent. In this case, it is very important to detect the competition of shared resources, and the detection technology used to control the competing access requests can achieve the purpose of performance isolation of virtualization system and improve the overall performance. [0003] For the existing static cache ...

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/455G06F9/48G06F12/08G06F12/0842
Inventor 汪小林胡夏蒙李晔晨罗英伟陈昊罡
Owner PEKING UNIV