Process migration tracking method based on multi-core platform virtual machine

A technology of virtual machine and virtual machine monitor, which is applied in the direction of multi-program device, program control device, program startup/switching, etc., and can solve problems such as not paying attention to how to reflect the core of the process processor

Inactive Publication Date: 2009-10-21
BEIHANG UNIV
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of these tools can pay attention to how to reflect the relationship between the process and the processor core it runs on, monitor the migration process of the process on the processor core, let alone cro

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
  • Process migration tracking method based on multi-core platform virtual machine
  • Process migration tracking method based on multi-core platform virtual machine
  • Process migration tracking method based on multi-core platform virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The realization of the present invention is carried out in Linux operating system and open source virtual machine monitor Xen Hypervisor, and the guest operating system in Xen Hypervisor is also Linux. refer to figure 1 , three steps are required to complete the entire process of tracking process migration. First, obtain the corresponding relationship information between processes and virtual processors from the Linux operating system as the guest operating system, and then obtain the corresponding relationship between the guest operating system Linux and the virtual machine monitor An event channel is established between Xen Hypervisors to send information about the correspondence between processes and virtual processors from the guest operating system Linux to the virtual machine monitor Xen Hypervisor. Finally, in the virtual machine monitor Xen Hypervisor, the virtual processor vCPU and The corresponding relationship between the physical processor core CPU, and then...

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 relates to a process migration tracking method, in particular to a process migration tracking method in a client operating system of a virtual machine based on a multi-core platform. By tracking process migration as a target, through twice mapping, the method spans a monitor of the virtual machine to monitor a relation between a process and a physical processor inner core in the client operating system. The method comprises the following steps: firstly, finding out a running environment of each process in the client operating system, and extracting information associated with theprocessor from the running environment; secondly, starting from the inner core of the client operating system, transmitting the relation between each process and a virtual processor number to the monitor of the virtual machine through a communication mechanism; and finally, in the monitor of the virtual machine, acquiring a mapping relation between the virtual processor number and the number of the physical processor inner core so as to map the process in the client operating system to the physical processor inner core, and repeating the process, continuously acquiring the corresponding information of each moment, namely spanning the monitor of the virtual machine to associate the client operating system and the physical processor inner core so as to achieve the aim of tracking the migration process of the client operating system between the physical processor inner cores.

Description

technical field [0001] The invention relates to a tracking method for process migration based on a virtual machine, in particular to a tracking method for process migration in a virtual machine guest operating system based on a multi-core platform. Background technique [0002] With the advancement of hardware technology, multi-core processors are becoming more and more popular and cheaper. As the two most important processor manufacturers in the world, Intel and AMD released 4-core processors for ordinary users respectively. At the same time, as a broad concept, virtualization describes an abstraction of computer resources. It can be understood as a framework or theory that divides computer resources into multiple computing environments that can be executed independently. On the virtual machine monitor (Virtual Machines Monitor-VMM) or virtual environment (Virtual Environments-VEs) is divided and created. However, both multi-core processors and virtualization technology h...

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/48G06F9/455
Inventor 白跃彬张良魏鑫
Owner BEIHANG 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