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

Method and electric device for interacting cache descriptors

A technique for caching descriptors and electronic devices, which is applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., and can solve problems affecting the overall efficiency of multi-core CPUs

Active Publication Date: 2013-07-24
XINHUASAN INFORMATION TECH CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] It can be seen that the prior art adopts spin locks or dedicates a processing core to polling, which affects the overall efficiency of multi-core CPUs.

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
  • Method and electric device for interacting cache descriptors
  • Method and electric device for interacting cache descriptors
  • Method and electric device for interacting cache descriptors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0049] The write operation to the BD send queue and the read operation to the BD receive queue can actually be divided into two parts, one part is the addressing of the BD send queue and the BD receive queue and the BD send and receive operation, or become an entry (Entry) operation, The other part is the pointer operation on the BD sending queue and the BD receiving queue. Among them, the Entry operation does not have mutual exclusion; while the pointer operation has a higher mutual exclusion requirement.

[0050] Therefore, this embodiment adds a proxy module in the PCIE terminal device, and makes the BD sending queue and the BD receiving queue invisible to each processing core. In this way, the proxy module executes pointer operations that require h...

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 method and an electric device for interacting cache descriptors. According to the electric device, a terminal device is internally and additively provided with an agency module, inlets of a BD (backward diode) transmission queue and a BD receiving queue are provided by the agency module for each process core, and pointer operation is carried out on the BD transmission queue and the BD receiving queue by the agency module, so that the writing operation of each process core to the BD transmission queue and the reading operation of each process core to the BD receiving queue can be guaranteed through the agency module, and the several-for-one completion of each process core to the indicator operation can be further avoided. Furthermore, after the method and the electric device can used, a self-rotating lock and a polling core do not need to be arranged in a multi-core CPU (central processing unit), so that the reduction of the whole efficiency of the multi-core CPU can be avoided.

Description

technical field [0001] The present invention relates to data forwarding technology, and in particular to a method and electronic device for realizing interaction of buffer descriptors (Buffer Description, BD). Background technique [0002] With the development of technology, multi-core CPUs are increasingly used in electronic devices such as routers. Moreover, in order to enrich the extended functions of electronic equipment, the multi-core CPU is usually equipped with a logic chip (such as FPGA or ASIC chip) integrating different functional modules, and the multi-core CPU is connected to the logic chip through a data bus. Among them, the PCIE (Pedpherd Component Interconnect Express, Peripheral Component Interconnect Express) bus can well meet the interconnection between multi-core CPUs and logic chips due to its high speed and good scalability. When the data bus adopts the PCIE bus, the logic chip can be called a PCIE terminal (Endpoint) device. [0003] figure 1 shows ...

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): G06F12/08G06F12/0846
Inventor 杨逸
Owner XINHUASAN 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