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

Stream distribution method and device for multi-core processor

A technology of a multi-core processor and a distribution device, applied in the field of communication, can solve problems such as unbalanced utilization of multi-core processor resources, and achieve the effects of efficient utilization and reasonable traffic distribution

Inactive Publication Date: 2011-12-28
HUAWEI TECH CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a multi-core processor stream distribution method and device to solve the problem of unbalanced utilization of multi-core processor resources that may exist in the prior art

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
  • Stream distribution method and device for multi-core processor
  • Stream distribution method and device for multi-core processor
  • Stream distribution method and device for multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] figure 1 A flowchart of a flow distribution method for a multi-core processor provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0022] Step 101: The stream distribution device of the multi-core processor receives the stream to be distributed at the current moment;

[0023] Wherein, 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 present invention provides a method and a device for dispatching streams of a multicore processor. The method comprises the steps of: receiving the streams to be dispatched at the present moment; dispatching the streams to be dispatched at the present moment to each processing unit one by one through a polling way according to weight of the each processing unit of the multicore processor at a previous moment, wherein number of the streams dispatched to the processing unit with a higher weight is greater than the number of the streams dispatched to the processing unit with a lower weight, and the weight is used for identifying the flow that the each processing unit can process; and obtaining the updated weight of the each processing unit after the each processing unit receives the streams to be dispatched at the present moment, and taking the updated weight as the weight of the each processing unit of the multicore processor at the present moment. The device comprises a receiver, a dispetcher and an obtainer.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a stream distribution method and device for a multi-core processor. Background technique [0002] In an operating environment of a multi-core processor, network service traffic is usually processed in parallel by multiple processing units of the multi-core processor. Before the message enters the processing unit, the dispatch module (Dispatch) of the multi-core processor usually identifies and classifies the message uniformly, and then distributes the message to each processing unit according to the classification result. [0003] The distribution module usually distributes flow services on a flow-by-flow basis, which means that different flows are generally sent to different processing units, and packets of the same flow will only enter the same processing unit. Different processing units receive different flows distributed by the distributio...

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): H04L12/56G06F9/50
CPCG06F9/505
Inventor 武旭
Owner HUAWEI 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