Cache control method and system, storage medium, computer equipment and application

A cache control and cache technology, which is applied in the field of data exchange, can solve the problems of large delay in data packet processing, inability to meet high-speed traffic bursts, and limitation of packet unit anti-flow, etc.

Active Publication Date: 2020-10-16
XIDIAN UNIV
View PDF8 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has the following deficiencies: 1. Although DDR has a large bandwidth, the arrival of Ethernet packets often has randomness. Different Ethernet packets are assigned different buffer addresses, and then the DDR read and write addresses generate multiple jumps. The physical bandwidth utilization rate of DDR is low, which limits the ability of the packet unit to resist traffic bursts
2. The reading and writing of DDR data needs to activate BANK first, then perform row addressing, then column addressing, and then write or read data. The characteristics of the device itself cause its read and write to have a fixed delay. This delay also causes packet unit data forwarding delay
[0004] Through the above analysis, the existing problems and defects of the existing technology are: the randomness of the arrival of Ethernet packets leads to low bandwidth utilization of directly using the external DDR for data storage and forwarding, which cannot meet high-speed traffic bursts, and the characteristics of the DDR device itself lead to data storage and forwarding. Packet processing has a large delay
[0005] The difficulty of solving the above problems and defects is as follows: if the problem of low bandwidth utilization and data packet processing delay caused by the characteristics of DDR devices in the process of data storage and forwarding by external DDR is to be solved, it is necessary to use the on-chip DDR at the same time. The buffer area performs data buffering, and the joint control of the on-chip buffer area and off-chip DDR puts forward higher requirements for queue buffer management to ensure that the data frames cannot be out of order, and at the same time, the system is pipelined to reduce the relative delay

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
  • Cache control method and system, storage medium, computer equipment and application
  • Cache control method and system, storage medium, computer equipment and application
  • Cache control method and system, storage medium, computer equipment and application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087]In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0088] Aiming at the problems existing in the prior art, the present invention provides a cache control method, system, storage medium, computer equipment and application. The present invention will be described in detail below with reference to the accompanying drawings.

[0089] Such as figure 1 As shown, the cache control method provided by the present invention includes the following steps:

[0090] S101: Control an on-chip Block RAM into n synchronous FIFOs, each FIFO corresponds to a logical queue, and each FIFO can store m fixed-length data frames with a length of len bytes (wherein n is the number of queues, and 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 invention belongs to the technical field of data exchange and discloses a cache control method and system, a storage medium, computer equipment and an application. The method comprises the steps:enabling one Block RAM to be controlled into a plurality of three-channel synchronous FIFOs for use, writing data frames into corresponding on-chip FIFOs when the data frames enter a queue, and writing the data into an off-chip DDR after the on-chip FIFOs are fully written; dividing the DDR storage space into L area blocks with continuous addresses; when data dequeues, moving k continuous data frames to the on-chip FIFO from the DDR while the data is read from the corresponding on-chip FIFO. According to the invention, the processing speed and the traffic burst resistance of the packet processing unit are improved, the DDR bandwidth utilization rate is increased, and the time delay of DDR data reading is reduced. According to the invention, the processing speed of the switching unit is accelerated, a relatively high DDR bandwidth utilization rate is realized, and the influence of absolute time delay brought by a DDR device on the processing time of the switching unit is reduced.

Description

technical field [0001] The invention belongs to the technical field of data exchange, and in particular relates to a cache control method, system, storage medium, computer equipment and application. Background technique [0002] At present, the switching unit implemented with FPGA balances the problems of insufficient processing speed of the software switching unit and lack of flexibility of the dedicated ASIC chip, and has broad application prospects in the field of network switching. Use FPGA on-chip SRAM to store and forward data frames, which has the characteristics of high speed, low delay and easy control. Use external DDR to store data flow, which has the characteristics of large capacity and high bandwidth. [0003] In the prior art, FPGA directly plugs the DDR cache control method, which is used to solve the problem that the prior art cannot cope with traffic burst due to insufficient storage resources in the FPGA chip. Its technical scheme is: 1) DDR storage spac...

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): G06F15/78G06F12/0875G06F12/0879
CPCG06F15/7846G06F12/0875G06F12/0879Y02D10/00
Inventor 潘伟涛高志凯邱智亮韩冰熊子豪杨润钰
Owner XIDIAN UNIV
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