CPU affinity-based virtual CPU dynamic binding method

A technology of dynamic binding and affinity, applied in software simulation/interpretation/simulation, multi-program device, program control device, etc., can solve the problem that the scheduler cannot be scheduled and optimized, and achieve the effect of improving process execution efficiency

Inactive Publication Date: 2011-02-16
BEIHANG UNIV
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a virtualized environment, the scheduler in the virtual machine monitor cannot perform scheduling optimization according to the CPU affinity characteristics of the process on the virtual CPU. Therefore, a method obtains the guest operating system process information from the virtual machine monitor layer and adopts corresponding strategies The scheduling method is very necessary

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
  • CPU affinity-based virtual CPU dynamic binding method
  • CPU affinity-based virtual CPU dynamic binding method
  • CPU affinity-based virtual CPU dynamic binding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Such as figure 1 As shown, the virtual CPU dynamic binding method based on CPU affinity is implemented in a virtual machine monitor (VMM), and is divided into two modules: the guest operating system CPU affinity perception engine and the virtual CPU dynamic binder.

[0020] The CPU affinity sensing engine of the guest operating system is responsible for obtaining the CPU affinity information of the process to be executed from the guest operating system, and using the quantified VAC (Value of Affinity Coefficient, CPU affinity coefficient value), to the virtual CPU dynamic binder The module provides this information. It includes three parts: CPU affinity information capture, CPU affinity information analysis and virtual CPU information modification.

[0021] CPU affinity information capture is divided into two parts: CPU hard affinity capture and CPU soft affinity information capture. In a virtual machine, process switching needs to update the content of the CR3 regist...

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 CPU affinity-based virtual CPU dynamic binding method under a multi-core platform. Two modules, namely a guest operating system CPU affinity perception engine and a virtual CPU dynamic binder are used in the method. The guest operating system CPU affinity perception engine acquires CPU affinity information of a process to be executed from Guest OS, and provides the information for the virtual CPU dynamic binder by adopting quantified VAC (Value of Affinity Coefficient) CPU affinity coefficient value; and the virtual CPU dynamic binder module executes the corresponding strategy through the CPU affinity information provided by the guest operating system CPU affinity perception engine to realize dynamic binding of a virtual CPU.

Description

technical field [0001] The invention relates to the field of virtual machines in multi-core and many-core environments in computer science, in particular to a dynamic binding method for virtual CPUs based on CPU affinity. Background technique [0002] Virtualization technology is a technology that uses a single physical platform to virtualize multiple guest operating systems (Guest OS). With the development of virtualization, multi-core and many-core technologies, transparency among multiple servers on the same platform has been realized. At the same time, the virtual machine monitor (Virtual Machine Monitor, VMM) has been continuously optimized in hardware management, so that hardware resources can be fully utilized. use. Multi-core and many-core platforms have brought performance improvements, improved reliability, and new application models to virtualization. At the same time, hardware-level virtualization technologies represented by Intel and AMD can support native virt...

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/46G06F9/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