Method of using buffer area

A technology of buffer area and sub-cache, applied in the computer field, can solve the problems of reducing the number of buffer areas, insufficient buffer area, suspending work, etc., to achieve the effect of improving the utilization rate

Inactive Publication Date: 2006-07-05
HUAWEI TECH CO LTD
View PDF0 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] But this method of using the cache will lead to new problems: allocating a cache for each connection will greatly increase the demand for the cache, and cause some caches corresponding to connections with low traffic to always be idle; or when When the number of buffers is constant, th

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 of using buffer area
  • Method of using buffer area
  • Method of using buffer area

Examples

Experimental program
Comparison scheme
Effect test

Example

[0056] The first embodiment: AAL5 is a connection-oriented service. When data transmission is required, a permanent virtual circuit (PVC) (Permanent Virtual Circuit) between the sending end and the receiving end is first established, and the data is transmitted through the permanent virtual circuit.

[0057] When the present invention is applied to AAL5 data transmission, the buffer pool is first divided into a predetermined number of private sub-buffer pools and shared sub-buffer pools; due to the connection-based data transmission method, both ends of the channel have the same network Identification (VPI (Virtual Pass Identifier, virtual path identifier), VCI (Virtual Channel Identifier, virtual channel identifier)). Therefore, the corresponding relationship between the data transmission channel and the private sub-buffer pool can be set according to the network identifier.

[0058] The method of using each private sub-buffer pool is the same as the method of dynamically using t...

Example

[0065] The second embodiment: SSCOP (Service Specifical Conection Orientated Protocol, connection-oriented protocol for specific services) IPOA (IP Over ATM) is a different upper-layer service based on AAL5 connections, and the protocol groups are SSCOP / AAL5 / ATM, IPOA / AAL5 / ATM. .

[0066] In order to prevent different services from affecting each other, it is usually necessary to allocate different buffer areas for different types of services. When the present invention is applied to these two services, the buffer pool is first divided into two private sub-buffer pools and one shared sub-buffer pool for the two business types; then the private sub-buffer pools are allocated to For the channel corresponding to each service, for example, pool 1 is allocated to SSCOP, pool 2 is allocated to IPOA, and pool 3 is a shared buffer.

[0067] When data transmission is required, first find the corresponding private sub-buffer pool according to the service type of the PVC, and then check whet...

Example

[0069] The third embodiment: In a communication system, there are different trunk lines between different network nodes. In order to ensure that data from different ports does not interfere with each other, it is necessary to allocate different buffer areas for data from different physical ports during transmission. . When the present invention is applied, different private sub-buffer pools are allocated for data from different physical ports, and a buffer area is allocated as a shared buffer for each physical port. The current port types include trunk mapping ports, connection ports between circuit boards, and optical / electrical interfaces. Therefore, the correspondence between the data transmission channel and the private sub-buffer pool can be set according to the port type. The specific management method of the buffer is consistent with the previous example.

[0070] When data transmission needs to be performed, first find the corresponding private sub-buffer pool according to...

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 method includes following steps: the buffer pool is divided into the private sub buffer pool and the shared buffer pool; then sets up a coincidence relation between the private buffer pool and the channel carrying data; applies buffer area to the private buffer pool in term of the coincidence relation; when the data flow exceeds the capacity of the private buffer pool, applies the buffer area to the shared buffer pool.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for using a cache area in a processor. Background technique [0002] At present, the processor has been widely used, and it plays different tasks in various network services and applications of different performance levels. With the development of network technology and applications, the requirements for the capacity of network equipment and the processing capability of single boards are getting higher and higher. In a processor, multiple coprocessors are usually required to work in parallel, and the processing of a data packet is completed by several coprocessors through multiple modules. In order to alleviate the contradiction of speed mismatch between different modules, reduce the interrupt frequency of the CPU in each module, and improve the parallelism between the CPU and the input / output unit, it is necessary to introduce a buffer to cache the sending and receiving data o...

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/56G06F12/00H04L29/06H04L49/901
Inventor 邱伟民
Owner HUAWEI TECH 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