Second-level caching method and two-stage timeout flow table structure

A second-level cache and cache miss technology, applied in the field of caching, can solve the problems of multiple installations of the same flow rule, performance loss, premature eviction of flow entries, etc., so as to reduce the number of rule installations, improve the cache hit rate, and reduce communication. effect of overhead

Active Publication Date: 2019-10-22
PEKING UNIV SHENZHEN GRADUATE SCHOOL
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the severe cost of forecasting errors and the difficulty of forecasting limit its effectiveness
Work analysis and observation in [7] that many flow rules of no value are installed unnecessarily wasting a lot of flow table space
However, studies have shown that in data centers, the duration of network flows varies widely, with a significant fraction of flows lasting less than a few hundred milliseconds [10]
Conservative timeout setti

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
  • Second-level caching method and two-stage timeout flow table structure
  • Second-level caching method and two-stage timeout flow table structure
  • Second-level caching method and two-stage timeout flow table structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0040] The present invention first describes the applied technology:

[0041] 1. Analysis of network flow characteristics

[0042] This example uses real network packet traces from the Center for Applied Internet Data Analysis (CAIDA) to analyze the characteristics of network traffic. The overall distribution characteristics of different traces are similar, so only the analysis results of one of the trace files are shown here. This trace [15] was obtained by CAIDA from a real network in 2018.

[0043] 1.1 Distribution of packets on streams

[0044] This example counts the distribution of flows with different numbers of packets, such as Figure 11 shown. Elephant flows (each flow containing more than 100 packets) account for only 1.9% of all flows, but they contain 78.2% of all packets. On the other hand, mouse flows (with fewer than 10 pa...

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 provides a second-level caching method and a two-stage timeout flow table structure, and belongs to the field of information storage and network structures. The second-level caching method comprises the following steps: after a controller receives the data packet cache missing message, allocating a timeout to a corresponding flow rule of the data packet, updating relevant informationof the rule in an information base; then, the controller installing the flow rule into a main storage module of the switch and processing the data packet according to the action domain information ofthe rule, for example, forwarding or discarding, if the rule hits the data packet again before overtime and expiration, the flow rule being still kept in the main storage module, repeating the process until the rule is overtime and expired, storing the rule in the auxiliary storage module and recording the timeout value; if the flow rule hits the data packet in the auxiliary storage module, moving the flow rule to the main storage module, and the timeout value being not changed, otherwise, expelling the flow rule from the switch. The structure has the beneficial effects that the cache hit rate is greatly improved, the rule installation frequency is remarkably reduced, and the energy consumption of TCAM query is reduced.

Description

technical field [0001] The invention relates to a caching method, in particular to a secondary caching method based on software and hardware co-design, and also relates to a two-stage timeout flow table structure for realizing the secondary caching method. Background technique [0002] Software-Defined Network (SDN) achieves more centralized and flexible network management by decoupling the control plane and data plane. The current popular communication interface between control plane and data plane is OpenFlow[1]. The control plane is responsible for formulating packet forwarding policies, which are implemented as flow rules. When needed, the control plane installs some rules to the flow table of the data plane. In fact, the flow table on the data plane is equivalent to a cache of flow rules generated by the control plane. Different from traditional networks, network policies in OpenFlow are usually finer-grained and more dynamic, which puts high demands on efficient rule...

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/743G06F12/0897
CPCG06F12/0897H04L45/74591Y02D10/00Y02D30/50
Inventor 李险峰黄妍
Owner PEKING UNIV SHENZHEN GRADUATE SCHOOL
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