Resource monitoring method and system for multi-core processor based on virtual machine

A technology of multi-core processors and processor resources, which is applied in the field of multi-core processor resource monitoring based on virtual machines, and can solve problems such as lack of multi-core processor resource monitoring

Inactive Publication Date: 2009-04-08
BEIHANG UNIV
View PDF0 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the lack of monitoring of multi-core processor resources (although gnome system monitor supports the monitoring of multi-core processors, it is limited to monitoring the usage of each core of multi-core processors), especially the virtual machine-based Monitoring of multi-core processor resources

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
  • Resource monitoring method and system for multi-core processor based on virtual machine
  • Resource monitoring method and system for multi-core processor based on virtual machine
  • Resource monitoring method and system for multi-core processor based on virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Reference manual attached figure 1 , the present invention mainly monitors two parts: based on the PROC pseudo-file system and adding a host processor resource acquisition module in the kernel to monitor the host system resources, and by adding a process tracking module in the VMM to monitor the guest operating system running on the virtual machine Process information in .

[0030] Monitor host system resources

[0031] Such as figure 2 As shown, writing the host processor resource acquisition module includes a function to read information of each core of the multi-core processor, such as reading the run queue of the CPU core. Reading the run queue of each CPU core can be realized by macro this_rq() and macro cpu_rq(n), macro this_rq() is used to return the address of the executable queue of the current processor, and macro cpu_rq(n) is used to return the given Pointer to the numbered processor executable queue. Since the state information of each process in the op...

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 resource monitoring system of a multi-core processor based on a virtual machine and a method thereof. The current host system resource usage information is obtained by taking / proc fake file system in Linux as a bridge, adopting a method that a host machine processor resource collection module is added in the inner core of Linux, and communicating with the inner core of Linux; the communication between the daemon process of a resource monitoring main module and Hypervisor is established by the process track module of the virtual machine, so as to obtain the resource information of a client operation system which runs on the virtual machine; the resource monitoring main module processes the information and displays the information graphically, therefore, the aim that the software and hardware resources of a host system and a client system which is arranged on the virtual machine are monitored is realized.

Description

technical field [0001] The invention relates to the fields of multi-core processors and virtual machines in computer science, in particular to a virtual machine-based multi-core processor resource monitoring method and system. Background technique [0002] The system resource monitor collects and processes operating system resource usage information, and displays the current resource usage status of the system to the user in a graphical manner. In this way, users can perform subsequent system operations according to the current system resource usage. According to different user needs, different system monitors focus on different system resources. The main popular system monitors are: [0003] (1) windows task manager [0004] The mainstream system monitor running on the windows platform can graphically display CPU usage records and page file usage records, can view application status, can view the name of the current running process, the user the process belongs to, the m...

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/445
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