Multi-hardware thread processor and business processing method thereof

A hardware thread and business processing technology, applied in the computer field, can solve problems such as resource waste, reduce CPU processing business performance, etc., and achieve the effect of improving performance

Inactive Publication Date: 2010-03-03
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor finds that the prior art has at least the following defects: because a business process requires multiple hardware threads on a CPU core to complete , such as the packet processing of a firewall, and when multiple hardware threads of the CPU core are processing the same business process, the upstream hardware thread that executes the previous business process is handed over to the downstream hardware thread to continue processing after the message is processed. If the downstream hardware thread is too busy to process, and the message needs to be discarded, the resources of the pipeline occupied by the upstream hardware thread executing the previous business process will be wasted, thus reducing the performance of the entire CPU to process business.

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
  • Multi-hardware thread processor and business processing method thereof
  • Multi-hardware thread processor and business processing method thereof
  • Multi-hardware thread processor and business processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0022] figure 1 It is a schematic structural diagram of Embodiment 1 of the service processing method of the multi-hardware thread processor of the present invention. The method includes:

[0023] Step 101, obtaining the first-in-first-out (First Input First Output, FIFO) queue state of the hardware thread, and sending a control command to the upstream hardware thread when the FIFO queue state reaches a preset state;

[0024] Step 102, the upstream hardware ...

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 embodiment of the invention discloses a multi-hardware thread processor and a business processing method thereof. The method comprises the following steps: obtaining the FIFO queue status of hardware thread and transmitting a control command to an upstream hardware thread when the FIFO queue status reaches a preset status, wherein the upstream hardware thread receiving the control command processes business according to the control command. The thread processor comprises a hardware thread and at least one upstream hardware thread of the hardware thread. The hardware thread can transmit the control command to the upstream hardware thread according to the self FIFO queue status so that the upstream hardware thread suspends the business processing, the utilization rate of production lineresources occupied by various hardware threads can be effectively improved, the waste of production line resources is reduced and the performance for the whole CPU to process business is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a multi-hardware thread processor and a business processing method thereof. Background technique [0002] In a multi-core multi-hardware thread processor (CPU), a CPU core usually contains a pipeline and multiple concurrently running hardware threads, where each hardware thread has its own context, registers, interrupts, and exception handling , the operating system or application software runs on this hardware thread, just like running on a CPU, so this hardware thread is also called a virtual CPU (virtual CPU, vCPU). Since multiple hardware threads share one pipeline, although the performance of the pipeline can be maximized, if one hardware thread occupies too many pipeline resources, the performance of other hardware threads will inevitably be reduced, so it is necessary to control the resources occupied by each hardware thread of the pipeline , improve the overall perform...

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): G06F9/38
Inventor 李昶
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD
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