Disk page swap-in method of virtual platform based on dual tracking

A virtualization platform and page technology, applied in the computer field, can solve the problems of increased disk seek time, increased IO times, and decreased disk page swap hit rate, so as to reduce the number of visits, improve system efficiency, and improve page continuity. Effect

Inactive Publication Date: 2010-10-13
ZHEJIANG UNIV
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The memory host-swapping mechanism improves the performance of the virtual machine by greatly shortening the memory page swapping path of the virtual machine and avoiding unnecessary privilege level switching. However, this mechanism also reduces the disk page swapping hit rate, increases the IO frequency, and Increased disk seek time

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
  • Disk page swap-in method of virtual platform based on dual tracking
  • Disk page swap-in method of virtual platform based on dual tracking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The method of the present invention is implemented on the framework based on the Linux kernel and KVM as a virtual machine, and attempts to solve the problem that the disk page replacement hit rate decreases, the number of IOs increases and the discontinuity of a single virtual machine page caused by the Host-swaping mechanism is solved. A problem with increased disk seek times.

[0038] The specific process is: Host creates a tracking cache when the system is initialized, which is a ring buffer that tracks the swap-in operations of each process, and each item in it records a process in the two hotspot areas where the swap-in operation takes place. Information about a page swap operation. When a process / Guest is interrupted due to a page fault, the Intelligent Disk Page Swap Manager in the Host finds a matching entry in the trace cache with their process identifier (PID) as a parameter;

[0039] (1) The scan starts from the item selected in the last Swap in;

[0040] ...

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 disk page swap-in method of a virtual platform based on dual tracking, comprising the following steps of: (1) establishing a tracking cache used for tracking the page swap-in operation of each process, wherein the tracking cache comprises a plurality of items and each item records the respective page swap-in operation information of one process in two hot-spot areas in which the swap-in operation happens; (2) tracking the page swap-in operation of each client process, and when the process is interrupted when page fault happens, finding the matched item in the tracking cache according to the identifier of the interrupted process; and (3) calculating the number of prefetched pages required for current page swap-in. The page swap-in method increases the page continuity of each client internal memory in a swap subarea and can dynamically change the page swapped-in number in each-time paging, thereby sufficiently reducing IO (Input Output) access times of the disks on the premise of ensuring the disk swapping cache hit and improving system efficiency.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for swapping disk pages based on a virtualization platform and supporting a Host-Swapping mechanism. Background technique [0002] There are currently countless research programs on memory management, but these studies were basically interrupted five years ago. In recent years, attention to memory management has declined, driven by the complexity of the memory model and the lack of hardware technology development. Even those previous studies, for the memory management of the virtualization platform, most of them focus on the allocation strategy and page replacement strategy, but for the device model involved in the input and output (IO) operations caused by the page replacement of the virtual machine impact is less. [0003] In virtualization, physical resources usually have an attribute called host (Host), and virtualized resources usually have an attribute called c...

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): G06F12/10G06F9/455G06F3/06
Inventor 陈文智陈慧君陈小琴黄炜
Owner ZHEJIANG UNIV
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