Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cluster system CPU (central processing unit) distributing method and device

An allocation method and cluster system technology, which are applied in the field of CPU allocation devices in cluster systems, can solve problems such as affecting virtual machine performance, low resource utilization, waste of time, etc., so as to improve resource utilization, achieve effective scheduling, and reduce time. wasteful effect

Inactive Publication Date: 2017-09-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] A virtual machine usually needs to use the physical CPU of the corresponding physical machine to implement I / O operations and computing operations. The physical CPU resources of the virtual machine are shared. Among them, the physical CPU takes a long time to implement computing operations, and computing I / O O operation only needs to consume a very short time. However, in order to ensure that the time slice length set by the physical CPU can be applied to the above two situations at the same time, the time slice length of the physical CPU is usually set according to the time required for the calculation operation. As a result, when the physical CPU completes the I / O operation, the time slice allocated to the operation is much longer than the time required for the operation, thus resulting in waste of time, which in turn affects the performance of the virtual machine and makes resource utilization low.

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
  • Cluster system CPU (central processing unit) distributing method and device
  • Cluster system CPU (central processing unit) distributing method and device
  • Cluster system CPU (central processing unit) distributing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to enable those skilled in the art to better understand the solutions of the present invention, the present invention will be further described in detail below in conjunction with specific embodiments.

[0038] Reference manual attached figure 1 A flowchart of a method for allocating CPUs in a cluster system provided by an embodiment of the present invention includes:

[0039] Step S01: Obtain the number of I / O requests and the CPU usage of each virtual machine when it is running.

[0040] CPUs in the system include virtual machine CPUs and physical CPUs. CPU usage is obtained based on I / O operations and calculation operations. Specifically, CPU usage refers to the usage rate of virtual machines corresponding to physical CPUs, which can be the current usage of physical CPUs. The ratio of resources to all resources. When the CPU usage is high, it indicates that the corresponding physical CPU performs more calculation operations. Otherwise, it indicates that the...

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 cluster system CPU distributing method and device. The method comprises acquiring the number of times of I / O (input / output) requests as well as the CPU utilization rate of every virtual machine; comparing the number of times of I / O requests of every virtual machine with a threshold value 1, the CPU utilization rate with a threshold value 2, and if the number of times of I / O requests is greater than the threshold value 1 and the CPU utilization rate is lower than the threshold value 2, determining a corresponding virtual machine to be a delay-sensitive virtual machine; otherwise, determining the corresponding virtual machine to be a delay-insensitive virtual machine; binding the delay-sensitive virtual machines with a first physical CPU (central processing unit), the delay-insensitive virtual machines with a second physical CPU, wherein the length of the time slice of the first physical CPU is shorter than that of the second physical CPU. Therefore, the cluster system CPU distributing method achieves effective scheduling of the physical CPUs, enhances the performance of the virtual machines and improves the resource utilization rate.

Description

technical field [0001] The invention relates to the field of network space connection, in particular to a method for distributing CPUs in a cluster system, and also relates to a device for distributing CPUs in a cluster system. Background technique [0002] With the maturity of operating system virtualization technology, the virtualization system allows multiple operating systems to run concurrently on the same physical machine, use the same hardware, and complement each other. Multiple virtual machines can form a cluster, and the cluster system has gradually become the focus of the computer industry due to its low cost, powerful computing power and robust fault tolerance mechanism. [0003] A virtual machine usually needs to use the physical CPU of the corresponding physical machine to implement I / O operations and computing operations. The physical CPU resources of the virtual machine are shared. Among them, the physical CPU takes a long time to implement computing operatio...

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/50
CPCG06F9/5027G06F9/5077
Inventor 高峰
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products