|Publication number||US6956866 B1|
|Application number||US 09/864,101|
|Publication date||Oct 18, 2005|
|Filing date||May 23, 2001|
|Priority date||May 23, 2001|
|Publication number||09864101, 864101, US 6956866 B1, US 6956866B1, US-B1-6956866, US6956866 B1, US6956866B1|
|Inventors||Weidong Li, Sanjeev S. Ukhalkar|
|Original Assignee||Cisco Technology, Inc.|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (6), Non-Patent Citations (1), Referenced by (5), Classifications (10), Legal Events (3)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This invention relates to collecting communications statistics at multiple rates corresponding to overflow rates of statistic accumulators; and more particularly, the invention relates to collecting packet statistics from elements of a packet switching device at rates corresponding to accumulation and overflow rates.
The communications industry is rapidly changing to adjust to emerging technologies and ever increasing customer demand. This customer demand for new applications and increased performance of existing applications is driving communications network and system providers to employ networks and systems having greater speed and capacity (e.g., greater bandwidth). In trying to achieve these goals, a common approach taken by many communications providers is to use packet switching technology.
In most any communications network, statistics collection is a very important function. For example, various statistics are collected for billing, performance monitoring, and for other engineering purposes. In certain packet switching systems, statistics are collected on each virtual connection. Counting mechanisms, such as hardware registers and counters, may be used to accumulate these statistics, which may be then collected by one or more collection devices. In known systems, a collection device sequences through each counting mechanism in a round robin fashion. The rate of this collection cycle must greater than the fastest overflow rate of one of the counting mechanisms. Otherwise, data will be lost.
However, the number of connections supported by a packet switching system continues to increase, and the data rate supported by a connection continues to increase. Therefore, the number of statistics which must be collected continue to increase as does the rate at which each statistic must be collected before a data loss occurs because of an overflow condition. In certain systems, too many resources are required for statistics collection, and in certain circumstances, the collection device cannot sequence through the collection cycle fast enough to avoid data loss. Needed are new methods and apparatus for collecting these statistics.
Systems and methods are disclosed for collecting statistics from elements at multiple collection rates. One embodiment establishes a plurality of collection pools for a range of collection rates, each of the plurality of collection pools has a different collection rate. A connection is assigned to a particular one of the plurality of collection pools. Data is collected for the connection at approximately the collection rate of said particular one of the plurality of collection pools.
In one embodiment, an apparatus includes multiple counting elements, where each of the multiple counting elements typically maintains different packet statistic counts for multiple connections. Each connection or element has an associated required minimum collection rate. A data structure is used to indicate an assignment of each of the connections or elements to one of multiple collection groups, with each of the multiple collection groups having a different collection rate. The connections or elements are assigned to a collection group so that a particular collection rate of a particular collection group exceeds the minimum collection rates of any of the plurality of connections or elements assigned to the particular collection group. A collector then acquires data for the plurality of connections or from the plurality of elements according to the different collection rates of the collection groups.
The appended claims set forth the features of the invention with particularity. The invention, together with its advantages, may be best understood from the following detailed description taken in conjunction with the accompanying drawings of which:
Methods and apparatus are disclosed for collecting statistics from elements at multiple collection rates which may be used, inter alia, in a computer or communications system, such as a computer or communications device, packet switching system, router, other device, or component thereof. Such methods and apparatus are not limited to a single computer or communications system. Rather, the architecture and functionality taught herein are extensible to an unlimited number of computer and communications systems, devices and embodiments in keeping with the scope and spirit of the invention. Embodiments described herein include various elements and limitations, with no one element or limitation contemplated as being a critical element or limitation. Each of the claims individually recite an aspect of the invention in its entirety. Moreover, some embodiments described may include, but are not limited to, inter alia, systems, integrated circuit chips, embedded processors, ASICs, methods, and computer-readable medium containing instructions. The embodiments described hereinafter embody various aspects and configurations within the scope and spirit of the invention.
Methods and apparatus are disclosed for collecting statistics from elements at multiple collection rates which may be used, inter alia, in a computer or communications system, such as a computer or communications device, packet switching system, router, other device, or component thereof. Multiple polling tasks running at different polling intervals are used to collect data from various sets of elements. Connections are assigned to a polling task or group based on a required minimum collection rate for the particular connection, which may correspond to a data acquisition or overflow rate for the connection. In one embodiment, this data corresponds to traffic and other characteristics of a connection, such as a virtual connection across a packet switching system or device.
As used herein, the term “packet” refers to packets of all types, including, but not limited to, fixed length cells and variable length packets, each of which may or may not be divisible into smaller packets or cells. Moreover, these packets may contain one or more types of information, including, but not limited to, voice, data, video, and audio information. Furthermore, the term “system” is used generically herein to describe any number of components, elements, sub-systems, devices, packet switch elements, packet switches, networks, computer and/or communication devices or mechanisms, or combinations of components thereof. The term “computer” is used generically herein to describe any number of computers, including, but not limited to personal computers, embedded processors, ASICs, chips, workstations, mainframes, etc. The term “device” is used generically herein to describe any type of mechanism, including a computer or system or component thereof. The terms “task” and “process” are used generically herein to describe any type of running program, including, but not limited to a computer process, task, thread, executing application, operating system, user process, device driver, native code, machine or other language, etc., and can be interactive and/or non-interactive, executing locally and/or remotely, executing in foreground and/or background, executing in the user and/or operating system address spaces, a routine of a library and/or standalone application, and is not limited to any particular memory partitioning technique. The terms “network” and “communications mechanism” are used generically herein to describe one or more networks, communications mediums or communications systems, including, but not limited to the Internet, private or public telephone, cellular, wireless, satellite, cable, local area, metropolitan area and/or wide area networks, a cable, electrical connection, bus, etc., and internal communications mechanisms such as message passing, interprocess communications, shared memory, etc. The terms “first,” “second,” etc. are typically used herein to denote different units (e.g., a first element, a second element). The use of these terms herein does not necessarily connote an ordering such as one unit or event occurring or coming before the another, but rather provides a mechanism to distinguish between particular units.
As used herein and contemplated by the invention, computer-readable medium is not limited to memory and storage devices; rather computer-readable medium is an extensible term including other storage and signaling mechanisms including interfaces and devices such as network interface cards and buffers therein, as well as any communications devices and signals received and transmitted, and other current and evolving technologies that a computerized system can interpret, receive, and/or transmit.
Elements 142–143 could be any device, component, counting mechanism (e.g., counter, register, memory, etc.) In one embodiment, data collector 100, collection network 130, and elements 142–143 are implemented as part of a single computer or communications component or device.
As shown, processor 280 collects statistics from elements 261–269 over a data communications mechanism 270 (shown as a bus for illustrative purposes). In one embodiment, processor 280, using memory 282 and one or more inputs from clock or timer signal or interrupt generator 275, collects data at multiple rates from elements 261–269 typically using multiple tasks. Clock or timer signal or interrupt generator 275 typically produces one or more clock or timer signals or interrupts for initiating and/or controlling the operation of these multiple collection tasks/cycles.
In one embodiment for use with synchronous optical network (“SONET”) transmission rates, polling intervals are used which conform to the SONET rate hierarchy, including OC-192 (which corresponds to roughly a 10 ms polling interval) to OC-48 (which corresponds to roughly a 40 ms polling interval). For example, one embodiment uses sixteen polling tasks operating at polling intervals of 10 ms, 40 ms, 160 ms, 2520 ms, . . . 655360 ms (approximately 10 minutes). Different embodiments use different numbers and rates of polling intervals, with the number and rate of these polling intervals selected based on the needs of the system and statistics to be collected.
In one embodiment, collection group assignment data structure 400 is used to assign a connection to one of the data collection cycles. As shown, data structure 400 is implemented using an array and multiple linked lists, although many other data structures are possible, such as those using one or more arrays, tables, lists, trees, etc. Each collection group 401–409 corresponds to one of the collection cycles, wherein typically at least two of the collection cycles operate at different collection rates.
Connections (or elements in one embodiment) are assigned to a collection group 401–409 by placing an indicator 411–499 of a particular connection in the link list corresponding to the appropriate collection group. One operation of this assignment process is further illustrated by the flow diagram of
Processing begins at process block 500, and proceeds to process block 502 wherein a determination is made whether there are anymore connections that need to be assigned to a collection group. The process illustrated in
In view of the many possible embodiments to which the principles of our invention may be applied, it will be appreciated that the embodiments and aspects thereof described herein with respect to the drawings/figures are only illustrative and should not be taken as limiting the scope of the invention. For example and as would be apparent to one skilled in the art, many of the process block operations can be re-ordered to be performed before, after, or substantially concurrent with other operations. Also, many different forms of data structures could be used in various embodiments. The invention as described herein contemplates all such embodiments as may come within the scope of the following claims and equivalents thereof.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US4733390||Sep 8, 1986||Mar 22, 1988||Kabushiki Kaisha Toshiba||Data transmission system|
|US5463620 *||Feb 22, 1994||Oct 31, 1995||At&T Ipm Corp.||Bandwidth allocation, transmission scheduling, and congestion avoidance in broadband asynchronous transfer mode networks|
|US5953338 *||Dec 13, 1996||Sep 14, 1999||Northern Telecom Limited||Dynamic control processes and systems for asynchronous transfer mode networks|
|US6067301 *||May 29, 1998||May 23, 2000||Cabletron Systems, Inc.||Method and apparatus for forwarding packets from a plurality of contending queues to an output|
|US6678248 *||Jun 20, 2000||Jan 13, 2004||Extreme Networks||Policy based quality of service|
|US6856257 *||Apr 12, 2002||Feb 15, 2005||Gellnet Innovations, Inc.||Data collection and metering system|
|1||Shah et al., "Maintaining Statistics Counters in Router Line Cards," IEEE Micro Jan.-Feb. 2002, pp. 76-81.|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US7283555 *||Jun 25, 2002||Oct 16, 2007||3Com Corporation||Method and apparatus for determining a polling interval in a network management system|
|US7391721||Jul 8, 2004||Jun 24, 2008||Cisco Technology, Inc.||Maintaining counters and updating a secondary counter storage|
|US7644157 *||Jan 31, 2007||Jan 5, 2010||Alaxala Networks Corporation||Statistical information collecting system and apparatus thereof|
|US20030169761 *||Jun 25, 2002||Sep 11, 2003||Duncan Robert J.||Method and apparatus for determining a polling interval in a network management system|
|US20070271374 *||Jan 31, 2007||Nov 22, 2007||Alaxala Networks Corporation||Statistical information collecting system and apparatus thereof|
|U.S. Classification||370/449, 709/224|
|International Classification||H04L12/56, H04L12/26|
|Cooperative Classification||H04L43/103, H04L43/06, H04L43/022|
|European Classification||H04L43/06, H04L43/10A, H04L43/02A|
|May 24, 2001||AS||Assignment|
Owner name: CISCO TECHNOLOGY, INC., A CORP. OF CALIFORNIA, CAL
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LI, WEIDONG;UKHALKAR, SANJEEV S.;REEL/FRAME:011849/0065;SIGNING DATES FROM 20010508 TO 20010510
|Mar 20, 2009||FPAY||Fee payment|
Year of fee payment: 4
|Mar 18, 2013||FPAY||Fee payment|
Year of fee payment: 8