Unlock instant, AI-driven research and patent intelligence for your innovation.

Data stream processing method and device for multi-CPU virtual machine system

A processing method and data flow technology, applied in the field of communication, can solve the problems of inability to use CPU resources, waste of CPU resources, and inability to use physical host CPU resources reasonably.

Active Publication Date: 2017-05-10
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] If there are multiple packet forwarding systems that jointly use all CPU resources (that is, the above receiving CPU and forwarding CPU), for example: in a specific application, multiple virtual machines (VMs) are virtualized on the physical host, and each virtual machine It can be the above-mentioned data packet forwarding system, and each virtual machine needs to use the CPU resources on the physical host. In this case, when a virtual machine uses the CPU resources on the physical host, other virtual machines will not be able to use this The CPU resources used by the virtual machine can only be used by other virtual machines after the virtual machine finishes processing and releases the CPU resources, which leads to the inability to use the CPU resources on the physical host reasonably, resulting in a waste of CPU 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
  • Data stream processing method and device for multi-CPU virtual machine system
  • Data stream processing method and device for multi-CPU virtual machine system
  • Data stream processing method and device for multi-CPU virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Aiming at the problems existing in the prior art, an embodiment of the present invention provides a data flow processing method for a multi-CPU virtual machine system, and the method is applied on a physical host including one or more virtual machines.

[0044] The physical host includes at least one or more receiving CPUs and multiple forwarding CPUs; the receiving CPU is responsible for receiving data streams from the physical interface and splitting them according to certain rules (such as Hash rules, which will be described in the following process using Hash rules as an example). And distribute the divided data streams to different processing queues; the forwarding CPU is responsible for processing the data streams cached in the corresponding processing queues. The processing process can specifically be forwarding the data streams cached in the corresponding processing queues, or, Process the data flow cached in the queue for related business processing. Further, e...

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 data flow processing method and device for a multi-CPU virtual machine system. The method includes the steps that the CPU occupancy rate of self forwarding CPUs is determined through a virtual machine, and the operation state of the self forwarding CPUs is determined; if forwarding CPUs in an overload state do not exist currently, and at least two forwarding CPUs in a low-load state exist currently, the virtual machine selects the forwarding CPUs to transfer data flows outwards and the forwarding CPUs where data flows are to be transferred inwards from the forwarding CPUs in the low-load state; the virtual machine instructs the forwarding CPUs to transfer the data flows outwards to transfer the data flows outwards, CPU resources of the forward CPUs to transfer the data flows outwards are released, and the forwarding CPUs where the data flows are to be transferred inwards are instructed to transfer the data flows inwards. In the embodiment, the CPU resources can be reasonably used and prevented from being wasted, and the utilization efficiency of the CPU resources can be improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data stream processing method and device for a multi-CPU virtual machine system. Background technique [0002] At present, a physical CPU (Central Processing Unit, central processing unit) usually includes multiple processing cores, each processing core can include multiple threads, and each thread is a CPU for a business processing system, and subsequent CPUs can refer to physical CPUs The threads included in the processing core. [0003] In a data packet forwarding system (a system whose main business is data packet forwarding and related business processing), if the data packet forwarding system contains multiple CPUs, in order to make better use of CPU resources, the multiple CPUs are divided into receiving and offloading CPUs. (Receiving CPU for short) and forwarding and service processing CPU (Forwarding CPU for short). The receiving CPU receives the data...

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 Patents(China)
IPC IPC(8): G06F9/455G06F9/50
Inventor 黄灏
Owner NEW H3C TECH CO LTD