|Publication number||US8121035 B2|
|Application number||US 12/068,739|
|Publication date||Feb 21, 2012|
|Filing date||Feb 11, 2008|
|Priority date||Feb 12, 2007|
|Also published as||US20080192765|
|Publication number||068739, 12068739, US 8121035 B2, US 8121035B2, US-B2-8121035, US8121035 B2, US8121035B2|
|Inventors||Jong-Sang Oh, Sun-gi Kim, Yong-Seok Park|
|Original Assignee||Samsung Electronics Co., Ltd.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (24), Referenced by (10), Classifications (19), Legal Events (2)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application makes reference to and claims all benefits accruing under 35 U.S.C. §119 from an application for “APPARATUS AND METHOD FOR PACKET BUFFER MANAGEMENT IN IP NETWORK SYSTEM” earlier filed in the Korean Intellectual Property Office on Feb. 12, 2007 and there duly assigned Serial No. 2007-0014294.
1. Field of the Invention
The present invention relates to an apparatus and method for packet buffer management in an Internet Protocol (IP) network system.
2. Description of the Related Art
One of required features of next-generation Internet is high reliability.
With an increase of higher value-added mission-critical traffic, real-time traffic, and high-priority traffic, a need for stably servicing the traffics is increasing.
As a network evolves into a high speed and large capacity network, the network processes much more data transmission. This leads to traffic congestion in a network zone, causing a loss of user data and causing the degradation of performance between end-to-end users.
The Next generation of the Internet basically requires an efficient and effective mechanism for, upon the occurrence of network failure, detecting the failure within a short time, recovering from the failure within a short time, and continuing to provide a service.
Thus, even when congestion occurs at a specific link of a network due to a flood of user traffic, it can be regarded as another cause of a network failure.
In the event that an amount of user data flooding in a link corresponding to an optimal path exceeds an optimal transmission degree of the link, user data may be lost. Such a loss of user data leads to data re-transmission between end-to-end networks, affecting a quality of network service.
Thus, when congestion occurs because of the flood of user data, how long time packets are stored with no packet loss for each link is considered a factor of significance.
In a conventional network system, when traffic floods into a specific zone of a network and congestion occurs at a corresponding port, packets are processed as much as they can be stored in a packet queue for each corresponding port and other packets exceeding a storage capacity are dropped. Undoubtedly, a variety of algorithms such as Random Early Detection (RED) and Weighted RED (WRED) have been developed as a packet drop way.
However, how long time packets can be stored before being dropped is basically a factor of significance. For this, there is needed a consideration for how efficiently a limited packet buffer is managed.
Assuming that there are ‘m’ number of queues at a link and the queue has the limited ‘n’ number of packet buffers, each queue is set, at the time of initial system driving, to store the maximum ‘n/m’ number of packet buffers. If congestion occurs at the link, packets exceeding the ‘n/m’ number are dropped.
The present invention solves the foregoing problems with the prior art and therefore the present invention provides an apparatus and method for packet buffer management in an IP network system, for efficiently managing a limited packet buffer.
According to an aspect of the invention for realizing the above objects, there is provided an apparatus for packet buffer management in an IP network system with at least one port having an internal queue. The apparatus includes at least one link queue buffer, a shared buffer, a buffer state detector, and a buffer manager. The at least one link queue buffer is allocated to a buffer of a packet stored in a memory to transmit the packet. The shared buffer is excessively allocated when exceeding a minimum buffer threshold value of the link queue buffer. The buffer state detector determines whether a buffer value stored in a link queue buffer of a corresponding link exceeds a preset minimum buffer threshold value. The buffer manager sets the shared buffer to be included in the link queue buffer of the link if the buffer value stored in the link queue buffer of the link exceeds the preset minimum buffer threshold value.
The link queue buffer and the shared buffer may be set with buffer values divided within the capacity of a memory storing a packet.
According to another aspect of the invention for realizing the above objects, there is provided a method for buffer management in a network system using a link queue buffer and a shared buffer. The method includes steps of: upon selecting a packet transmission link, determining whether the number of buffers being on transmission standby in a corresponding link queue buffer exceeds a minimum buffer threshold value; setting the shared buffer as the corresponding link queue buffer if the number of buffers being on transmission standby in the corresponding link queue buffer exceeds the minimum buffer threshold value; and allocating the shared buffer to a packet to be transmitted.
The method may further include, if the number of buffers being on transmission standby in the corresponding link queue buffer does not exceed the minimum buffer threshold value, allocating the link queue buffer to a packet to be transmitted.
The step of allocating the shared buffer to the packet to be transmitted may include steps of: determining whether there remains a packet buffer in the shared buffer; and allocating the shared buffer to a buffer of a packet to be transmitted if there remains the packet buffer in the shared buffer.
The method may further include, if there does not remain the packet buffer in the shared buffer, dropping a corresponding packet.
The link queue buffer and the shared buffer may be set with buffer values divided within the capacity of a memory storing a packet.
A more complete appreciation of the invention, and many of the attendant advantages thereof, will be readily apparent as the same becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings in which like reference symbols indicate the same or similar components, wherein:
The present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of an apparatus and method for packet buffer management in an IP network system of the invention are shown. It will be understood by those having an ordinary knowledge in the art that a system described below is merely exemplified for describing the invention with no limit to the scope of the present invention.
The enqueuing block 10 enqueues a packet to a packet queue buffer of each link to have to transmitted the packet.
The dequeuing block 20 identifies an address of the packet from the packet queue buffer, then takes the packet out of a memory 30 using the packet address identified through the packet queue buffer, and then transmits the packet outside the link.
The memory 30 stores a packet to be transmitted. The memory 30 includes a link queue buffer 100 and a shared buffer 200. The link queue buffer 100 enqueues a buffer having address information on a packet that is stored in a corresponding link queue buffer through the enqueuing block 10.
The link queue buffer 100 is allocated to a buffer of a packet stored in the memory 30 used to transmit the packet.
The shared buffer 200 is allocated when exceeding a minimum buffer threshold value of at least one link queue buffer 100. The link queue buffer 100 and the shared buffer 200 are set with buffer values divided within the capacity of a memory storing a packet.
The buffer state detector 300 determines whether a buffer value stored in a link queue buffer 100 of a corresponding link exceeds a preset minimum buffer threshold value.
If the buffer value stored in the link queue buffer 100 of the link exceeds the minimum buffer threshold value, the buffer manager 400 sets the shared buffer 200 to be included in the link queue buffer 100 of the link.
A detailed description of general function and operation of each of the elements is omitted and a description of operation of the invention is made below.
First, the buffer manager 400 sets a minimum buffer threshold value to the link queue buffer 100. In detail, as shown in
After that, when a queue number is set to a link queue buffer 100 to queue a packet to have to be transmitted outside, the buffer state detector 300 reads current queue state information (the number of packets and a minimum buffer threshold value currently stored in a queue) of the link queue buffer 100.
Next, the buffer state detector 300 compares the number of packets stored in the link queue buffer 100 with the minimum buffer threshold value of the queue.
If the number of packets of the link queue buffer 100 exceeds the preset minimal buffer threshold value, the buffer manager 400 uses the shared buffer 200, without regard for setting of the minimum buffer threshold value of the link queue buffer 100, as shown in
By doing so, packets can be prevented from being lost due to the limitation of the capacity of the link queue buffer 100.
If there does not remain sufficient room to store a packet even in the shared buffer 200, the packet is dropped.
If the number of packets of the link queue buffer 100 does not otherwise exceed the preset minimum buffer threshold value, the buffer manager 400 allocates a packet to the link queue buffer 100 without using the shared buffer 200 when the buffer manager 400 identifies that there remains a room to allocate the packet in the link queue buffer 100 using the buffer state detector 300.
A method for packet buffer management in the IP network system according to the present invention is described with reference to
First, if a packet transmission link is selected, the method determines whether the number of buffers being on transmission standby in a corresponding link queue buffer 100 exceeds a minimum buffer threshold value of a queue (S1).
If the number of buffers exceeds the minimum buffer threshold value, the method sets the shared buffer 200 as the link queue buffer 100 (S2).
After that, the method allocates the shared buffer 200 to a packet to be transmitted (S3).
The procedure (S3) of allocating the shared buffer 200 to the packet to be transmitted is described in detail below with reference to
First, the process determines whether there remains a packet buffer in the shared buffer 200 (S31).
If there remains a packet buffer in the shared buffer 200, the process allocates a packet to be transmitted to the shared buffer 200 (S32).
If there is not enough space in the packet buffer in the shared buffer 200, the process drops a corresponding packet (S33).
If the number of buffers being in transmission standby state does not exceed the minimum buffer threshold value in S1, the process allocates the link queue buffer 100 to a packet to be transmitted (S4).
The link queue buffer 100 and the shared buffer 200 are set with buffer values divided within a capacity of the memory storing a packet.
As described above, the apparatus and method for packet buffer management in the IP network system according to the present invention have an excellent effect of, upon the occurrence of congestion at the link, reducing a loss of packets caused by the congestion and finally improving a network performance in an end-to-end user zone.
While the present invention has been shown and described in connection with the preferred embodiments, it will be apparent to those skilled in the art that modifications and variations can be made without departing from the spirit and scope of the invention as defined by the appended claims.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5136702 *||May 17, 1990||Aug 4, 1992||Hitachi, Ltd.||Buffer storage control method and apparatus|
|US5696764 *||Jul 21, 1994||Dec 9, 1997||Fujitsu Limited||ATM exchange for monitoring congestion and allocating and transmitting bandwidth-guaranteed and non-bandwidth-guaranteed connection calls|
|US5719853 *||Apr 29, 1996||Feb 17, 1998||Nec Corporation||Congestion control method in an ATM network based on threshold values of node queue length|
|US5799210 *||Apr 18, 1996||Aug 25, 1998||Oracle Corporation||Method for allocating either private or shared buffer memory for storing data from sort operations in accordance with an assigned value or threshold value|
|US5838677 *||Apr 15, 1996||Nov 17, 1998||Hitachi, Ltd.||Switching system having means for congestion control by monitoring packets in a shared buffer and by suppressing the reading of packets from input buffers|
|US5838994 *||Jan 11, 1996||Nov 17, 1998||Cisco Technology, Inc.||Method and apparatus for the dynamic allocation of buffers in a digital communications network|
|US6219728 *||Apr 22, 1996||Apr 17, 2001||Nortel Networks Limited||Method and apparatus for allocating shared memory resources among a plurality of queues each having a threshold value therefor|
|US6363075 *||Jan 23, 1998||Mar 26, 2002||Industrial Technology Research Institute||Shared buffer management mechanism and method using multiple linked lists in a high speed packet switching system|
|US6473432 *||Feb 13, 1998||Oct 29, 2002||Fujitsu Limited||Buffer control apparatus and method|
|US6636883 *||Feb 22, 1999||Oct 21, 2003||International Business Machines Corporation||Mechanism for passing information between queuing and de-queuing processes|
|US6687254 *||Jun 25, 1999||Feb 3, 2004||Alcatel Canada Inc.||Flexible threshold based buffering system for use in digital communication devices|
|US7031331 *||Aug 15, 2001||Apr 18, 2006||Riverstone Networks, Inc.||Method and system for managing packets in a shared memory buffer that serves multiple output links|
|US7206890 *||May 19, 2004||Apr 17, 2007||Sun Microsystems, Inc.||System and method for reducing accounting overhead during memory allocation|
|US7286511 *||Nov 7, 2002||Oct 23, 2007||Koninklijke Philips Electronics N.V.||System and method for an IEEE 802.11 access point to prevent traffic suffering bad link quality from affecting other traffic|
|US7301906 *||Aug 30, 2002||Nov 27, 2007||Lsi Corporation||Methods and structures for improved buffer management and dynamic adaption of flow control status in high-speed communication networks|
|US7346067 *||Nov 16, 2001||Mar 18, 2008||Force 10 Networks, Inc.||High efficiency data buffering in a computer network device|
|US7349416 *||Nov 26, 2002||Mar 25, 2008||Cisco Technology, Inc.||Apparatus and method for distributing buffer status information in a switching fabric|
|US7414973 *||Jan 24, 2005||Aug 19, 2008||Alcatel Lucent||Communication traffic management systems and methods|
|US7489628 *||Jan 24, 2005||Feb 10, 2009||Alcatel Lucent||Communication traffic management monitoring systems and methods|
|US7492779 *||Nov 5, 2004||Feb 17, 2009||Atrica Israel Ltd.||Apparatus for and method of support for committed over excess traffic in a distributed queuing system|
|US7546400 *||Feb 15, 2005||Jun 9, 2009||International Business Machines Corporation||Data packet buffering system with automatic threshold optimization|
|US20050083958 *||Feb 24, 2004||Apr 21, 2005||Adc Telecommunications Israel Ltd.||Managing a queue in a shared memory|
|US20070280277 *||May 30, 2006||Dec 6, 2007||Martin Lund||Method and system for adaptive queue and buffer control based on monitoring in a packet network switch|
|KR100211978B1||Title not available|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US8619558 *||Jul 21, 2008||Dec 31, 2013||Qlogic, Corporation||Memory management in a network adapter|
|US8850090 *||Nov 23, 2011||Sep 30, 2014||Red Hat, Inc.||USB redirection for read transactions|
|US8856407 *||Nov 23, 2011||Oct 7, 2014||Red Hat, Inc.||USB redirection for write streams|
|US8972639 *||Nov 3, 2009||Mar 3, 2015||Autonetworks Technologies, Ltd.||Communication apparatus, relay apparatus, communication system and communication method|
|US9098431 *||Nov 23, 2011||Aug 4, 2015||Red Hat, Inc.||USB redirection for interrupt transactions|
|US20110208884 *||Nov 3, 2009||Aug 25, 2011||Autonetworks Technologies, Ltd.||Communication apparatus, relay apparatus, communication system and communication method|
|US20130132618 *||May 23, 2013||Hans de Goede||Usb redirection for interrupt transactions|
|US20130132620 *||May 23, 2013||Hans de Goede||Usb redirection for write streams|
|US20130132960 *||Nov 23, 2011||May 23, 2013||Hans de Goede||Usb redirection for read transactions|
|US20150026361 *||Sep 27, 2013||Jan 22, 2015||Broadcom Corporation||Ingress Based Headroom Buffering For Switch Architectures|
|U.S. Classification||370/235, 709/235, 710/56, 370/428, 710/29, 709/213, 370/412|
|International Classification||G06F15/167, H04L12/26, H04L12/54, G06F3/00|
|Cooperative Classification||H04L49/90, H04L49/9078, H04L49/9036, H04L49/9047|
|European Classification||H04L49/90Q3, H04L49/90, H04L49/90M, H04L49/90J|
|Apr 23, 2008||AS||Assignment|
Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OF
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:OH, JONG-SANG;KIM, SUN-GI;PARK, YONG-SEOK;REEL/FRAME:020865/0421
Effective date: 20080211
|Aug 11, 2015||FPAY||Fee payment|
Year of fee payment: 4