CN101013383A - System and method for implementing packet combined treatment by multi-core CPU - Google Patents
System and method for implementing packet combined treatment by multi-core CPU Download PDFInfo
- Publication number
- CN101013383A CN101013383A CN 200710063853 CN200710063853A CN101013383A CN 101013383 A CN101013383 A CN 101013383A CN 200710063853 CN200710063853 CN 200710063853 CN 200710063853 A CN200710063853 A CN 200710063853A CN 101013383 A CN101013383 A CN 101013383A
- Authority
- CN
- China
- Prior art keywords
- message
- cpu
- queue
- shared
- nuclear
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Hardware Redundancy (AREA)
Abstract
本发明公开了一种实现多核CPU进行报文联合处理的系统,包括多核CPU以及多个共享队列区,任一共享队列区与确定的两个CPU核连接,用于为所述两个CPU核提供共享报文队列:由共享队列区的报文发送CPU核写入该CPU核处理后的报文信息,共享队列区的报文接收CPU核根据写入顺序提取报文信息并进行处理。本发明还公开了一种实现多核CPU进行报文联合处理的方法,报文发送CPU核向共享队列区写入该CPU核处理后的报文信息,报文接收CPU核根据写入顺序提取报文信息并进行处理。通过本发明,避免了中断开销;不再局限于CPU核的硬件空间限制,提高了队列设计的灵活性,提高了吞吐量。
The invention discloses a system for realizing joint processing of messages by a multi-core CPU, including a multi-core CPU and a plurality of shared queue areas, any shared queue area is connected to two determined CPU cores, and is used for the two CPU cores Shared message queue is provided: the message sending CPU core in the shared queue area writes the message information processed by the CPU core, and the message receiving CPU core in the shared queue area extracts the message information according to the writing order and processes them. The invention also discloses a method for realizing joint processing of messages by a multi-core CPU. The message sending CPU core writes the message information processed by the CPU core to the shared queue area, and the message receiving CPU core extracts the message according to the writing order. information and process it. Through the present invention, the interrupt overhead is avoided; the hardware space limitation of the CPU core is no longer limited, the flexibility of queue design is improved, and the throughput is improved.
Description
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200710063853XA CN100451975C (en) | 2007-02-13 | 2007-02-13 | System and method for implementing packet combined treatment by multi-core CPU |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200710063853XA CN100451975C (en) | 2007-02-13 | 2007-02-13 | System and method for implementing packet combined treatment by multi-core CPU |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101013383A true CN101013383A (en) | 2007-08-08 |
CN100451975C CN100451975C (en) | 2009-01-14 |
Family
ID=38700915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200710063853XA Expired - Fee Related CN100451975C (en) | 2007-02-13 | 2007-02-13 | System and method for implementing packet combined treatment by multi-core CPU |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100451975C (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009065313A1 (en) * | 2007-11-20 | 2009-05-28 | Hangzhou H3C Technologies Co., Ltd. | Method and multi-core processor equipment for realizing multiple service process functions |
CN102185770A (en) * | 2011-05-05 | 2011-09-14 | 汉柏科技有限公司 | Multi-core-architecture-based batch message transmitting and receiving method |
CN101442513B (en) * | 2007-11-20 | 2012-05-23 | 杭州华三通信技术有限公司 | Method for realizing multiple service processing functions and multi-core processor equipment |
CN102480430A (en) * | 2010-11-24 | 2012-05-30 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102055649B (en) * | 2009-10-29 | 2012-11-21 | 成都市华为赛门铁克科技有限公司 | Method, device and system for treating messages of multi-core system |
CN103166873A (en) * | 2011-12-12 | 2013-06-19 | 中兴通讯股份有限公司 | Inter-core communication method and core processor |
CN104821924A (en) * | 2014-01-30 | 2015-08-05 | 西门子公司 | Network data packet processing method and apparatus, and network processing device |
CN105938466A (en) * | 2015-03-04 | 2016-09-14 | 吉林克斯公司 | Circuits and methods for inter-processor communication |
CN106371937A (en) * | 2016-08-31 | 2017-02-01 | 迈普通信技术股份有限公司 | Inter-core communication method and device for multi-core system |
CN106713185A (en) * | 2016-12-06 | 2017-05-24 | 瑞斯康达科技发展股份有限公司 | Load balancing method and apparatus of multi-core CPU |
CN107454016A (en) * | 2017-09-29 | 2017-12-08 | 湖南恒茂高科股份有限公司 | Message process device and method |
CN107590100A (en) * | 2017-09-06 | 2018-01-16 | 北京航天发射技术研究所 | A kind of internuclear data interactive method of polycaryon processor |
CN109656705A (en) * | 2018-12-21 | 2019-04-19 | 北京天融信网络安全技术有限公司 | A kind of method and apparatus of data processing |
CN110119304A (en) * | 2018-02-07 | 2019-08-13 | 华为技术有限公司 | A kind of interruption processing method, device and server |
CN111083075A (en) * | 2019-12-20 | 2020-04-28 | 盛科网络(苏州)有限公司 | Method for processing message by multi-core SoC and SoC applying same |
CN114168315A (en) * | 2021-11-04 | 2022-03-11 | 锐捷网络股份有限公司 | Multi-core-based message processing method and device, electronic equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6131113A (en) * | 1998-02-24 | 2000-10-10 | International Business Machines Corporation | Managing a shared resource in a multi-processor system |
JP3706008B2 (en) * | 2000-08-01 | 2005-10-12 | 富士通株式会社 | Inter-processor data communication apparatus, inter-processor data communication method, and data processing apparatus |
US7035908B1 (en) * | 2001-07-26 | 2006-04-25 | Lsi Logic Corporation | Method for multiprocessor communication within a shared memory architecture |
CN100458757C (en) * | 2005-07-28 | 2009-02-04 | 大唐移动通信设备有限公司 | Inter core communication method and apparatus for multi-core processor in embedded real-time operating system |
-
2007
- 2007-02-13 CN CNB200710063853XA patent/CN100451975C/en not_active Expired - Fee Related
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101442513B (en) * | 2007-11-20 | 2012-05-23 | 杭州华三通信技术有限公司 | Method for realizing multiple service processing functions and multi-core processor equipment |
US8417848B2 (en) | 2007-11-20 | 2013-04-09 | Hangzhou H3C Technologies Co., Ltd. | Method and apparatus for implementing multiple service processing functions |
WO2009065313A1 (en) * | 2007-11-20 | 2009-05-28 | Hangzhou H3C Technologies Co., Ltd. | Method and multi-core processor equipment for realizing multiple service process functions |
CN102055649B (en) * | 2009-10-29 | 2012-11-21 | 成都市华为赛门铁克科技有限公司 | Method, device and system for treating messages of multi-core system |
CN102480430B (en) * | 2010-11-24 | 2014-07-09 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102480430A (en) * | 2010-11-24 | 2012-05-30 | 迈普通信技术股份有限公司 | Method and device for realizing message order preservation |
CN102185770A (en) * | 2011-05-05 | 2011-09-14 | 汉柏科技有限公司 | Multi-core-architecture-based batch message transmitting and receiving method |
CN103166873A (en) * | 2011-12-12 | 2013-06-19 | 中兴通讯股份有限公司 | Inter-core communication method and core processor |
WO2013086847A1 (en) * | 2011-12-12 | 2013-06-20 | 中兴通讯股份有限公司 | Inter-core communications method and core processor |
CN104821924A (en) * | 2014-01-30 | 2015-08-05 | 西门子公司 | Network data packet processing method and apparatus, and network processing device |
CN104821924B (en) * | 2014-01-30 | 2018-11-27 | 西门子公司 | A kind of processing method of network data packets, device and network processing device |
CN105938466A (en) * | 2015-03-04 | 2016-09-14 | 吉林克斯公司 | Circuits and methods for inter-processor communication |
CN105938466B (en) * | 2015-03-04 | 2021-01-26 | 吉林克斯公司 | Circuit and method for inter-processor communication |
CN106371937A (en) * | 2016-08-31 | 2017-02-01 | 迈普通信技术股份有限公司 | Inter-core communication method and device for multi-core system |
CN106713185A (en) * | 2016-12-06 | 2017-05-24 | 瑞斯康达科技发展股份有限公司 | Load balancing method and apparatus of multi-core CPU |
CN106713185B (en) * | 2016-12-06 | 2019-09-13 | 瑞斯康达科技发展股份有限公司 | A kind of load-balancing method and device of multi-core CPU |
CN107590100A (en) * | 2017-09-06 | 2018-01-16 | 北京航天发射技术研究所 | A kind of internuclear data interactive method of polycaryon processor |
CN107590100B (en) * | 2017-09-06 | 2020-06-19 | 北京航天发射技术研究所 | A method for inter-core data interaction of multi-core processor |
CN107454016A (en) * | 2017-09-29 | 2017-12-08 | 湖南恒茂高科股份有限公司 | Message process device and method |
CN110119304A (en) * | 2018-02-07 | 2019-08-13 | 华为技术有限公司 | A kind of interruption processing method, device and server |
WO2019153702A1 (en) * | 2018-02-07 | 2019-08-15 | 华为技术有限公司 | Interrupt processing method, apparatus and server |
CN110119304B (en) * | 2018-02-07 | 2021-08-31 | 华为技术有限公司 | Interrupt processing method and device and server |
CN109656705A (en) * | 2018-12-21 | 2019-04-19 | 北京天融信网络安全技术有限公司 | A kind of method and apparatus of data processing |
CN111083075A (en) * | 2019-12-20 | 2020-04-28 | 盛科网络(苏州)有限公司 | Method for processing message by multi-core SoC and SoC applying same |
CN111083075B (en) * | 2019-12-20 | 2022-01-11 | 苏州盛科通信股份有限公司 | Method for processing message by multi-core SoC and SoC applying same |
CN114168315A (en) * | 2021-11-04 | 2022-03-11 | 锐捷网络股份有限公司 | Multi-core-based message processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100451975C (en) | 2009-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100451975C (en) | System and method for implementing packet combined treatment by multi-core CPU | |
US8102763B2 (en) | Method, system and node for backpressure in multistage switching network | |
US6032205A (en) | Crossbar switch system for always transferring normal messages and selectively transferring broadcast messages from input buffer to output buffer when it has sufficient space respectively | |
JP3549081B2 (en) | Task execution control method with priority and data processing device | |
EP0852357B1 (en) | Method for handling interrupts in a high speed I/O controller | |
US7924708B2 (en) | Method and apparatus for flow control initialization | |
US6615282B1 (en) | Adaptive messaging | |
US20030177293A1 (en) | Dynamic memory allocation between inbound and outbound buffers in a protocol handler | |
US7266083B2 (en) | Method and apparatus for implementing queue pair connection protection over infiniband | |
US20080259822A1 (en) | Dynamic packet training | |
JP3807614B2 (en) | Packet order control method in multilink communication system | |
CN112769905B (en) | NUMA (non uniform memory access) architecture based high-performance network card performance optimization method under Feiteng platform | |
US20050286513A1 (en) | Software assisted RDMA | |
CN108924008A (en) | A kind of dual controller data communications method, device, equipment and readable storage medium storing program for executing | |
US20060285555A1 (en) | Microprocessor, network system and communication method | |
US7564860B2 (en) | Apparatus and method for workflow-based routing in a distributed architecture router | |
EP0871307A2 (en) | Apparatus for flexible control of interrupts in multiprocessor systems | |
TW200415474A (en) | Method and apparatus for intermediate buffer segmentation and reassembly | |
WO2008013209A1 (en) | Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them | |
CN102117261B (en) | Communication method between inner processors of chip | |
US7853713B2 (en) | Communication interface device and communication method | |
KR20020025209A (en) | Variable access fairness in a fibre channel arbitrated loop | |
JPH07283817A (en) | ATM-LAN node flow control method | |
JP5587530B2 (en) | Engine / processor linkage system and linkage method | |
JP4373887B2 (en) | Packet processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd. Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang, HUAWEI,, Hangzhou, No. six Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230609 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |