Dynamic reallocation of data stored in buffers based on packet size
Abstract
A method and system is provided to efficiently manage memory in a network device that receives packets of variable size. The memory is allocated into portions whereby each portion, comprising multiple equally-sized buffers, receives packets of a particular size. One portion is used for smaller packet sizes and another portion is for larger packet sizes, although other portions may be created. As packets are received at the network device, they are stored into the appropriate memory portion based on their size. The number of available buffers in each portion is monitored so that, when it falls below a threshold, buffers are reallocated to the other thereby increasing the overall memory efficiency.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 55.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of reallocating buffer memory, the method comprising steps of: allocating memory into at least a first portion and a second portion; creating a buffer pool in the first and second portion, each buffer in the first portion being substantially equally sized and associated with a predetermined packet size and each buffer in the second portion being substantially equally sized and associated with another predetermined packet size; monitoring usage of buffers in each of the first and second portions to determine whether the number of occupied buffers in at least one of the first and second
- Claim 2Depends on #1
The method of claim 1 , further comprising the ste
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 55 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Ferrari et al. "Buffer Space Allocation for Real-Time Channels in a Packet-Switching Network". 1991, pp. 1-20.
- IBM TDB n3 Aug. 1992 pp. 382-385 "Data Transfer with Virtual Memory Queus".
- IBM TDB/DOSS, RD n444 Apr. 2001 Article 16 p. 654, "Fast, Shared, Memory With Multiple Output Queues for Variable Length Packets, Made from Slow Memory Elements".
- Object Resizing and Reclamation through the use of hardware, by Witawas Srisa.
- PARADISE: An Advanced Featured Parallel File System by Maciej Brodowicz and Olin Johnson.