Sampling packets for network monitoring
First Claim
1. A system including an input port for receiving network packets;
- a sampling element for selecting a fraction of those packets for review, said sampling element including a feedback element for adaptively altering said fraction;
a queue of selected packets;
a packet-type detector to detect packets of a particular type, said packet type detector coupled to said queue; and
a frequency measurement element to determine an expected frequency of a particular packet type, said frequency measurement element coupled to said packet-type detector;
wherein said feedback element is responsive to a length of said queue.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention provides a method and system for collecting aggregate information about network traffic, while maintaining processor load relatively constant despite substantial variation in network traffic, and capable of substantially accurate frequency measurement even for relatively infrequent events. A packet monitoring system includes an input port for receiving network packets, a sampling element for selecting a fraction of those packets for review, and a queue of selected packets. The packets in the queue are coupled to a packet-type detector for detecting packets of a selected type; the system applies a measurement technique for determining a frequency measure for those detected packets. The system includes a feedback technique for adaptively altering the sampling rate fraction, responsive to the queue length and possibly other factors, such as processor load or the detected frequency measure. The measurement technique also determines an error range and a measure of confidence that the actual frequency is within the error range of the measured frequency. The system can detect packets of multiple selected types essentially simultaneously, and provide measured frequencies and error ranges for all of the multiple selected types at once. Also, the measurement technique is selected so as to impose relatively light processor load per packet.
-
Citations
38 Claims
-
1. A system including an input port for receiving network packets;
-
a sampling element for selecting a fraction of those packets for review, said sampling element including a feedback element for adaptively altering said fraction;
a queue of selected packets;
a packet-type detector to detect packets of a particular type, said packet type detector coupled to said queue; and
a frequency measurement element to determine an expected frequency of a particular packet type, said frequency measurement element coupled to said packet-type detector;
wherein said feedback element is responsive to a length of said queue. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method, including steps for sampling a set of packets at a network interface of a switch, said steps for sampling including steps for adaptively altering a fraction of said packets for selection;
-
wherein said steps for adaptively altering a fraction of said packets for selection include steps for maintaining a queue of selected packets; and
altering said fraction in response to a length of said queue and;
wherein the method includes steps for determining a frequency of packets of a known type within said selected packets. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A system including
means for collecting aggregate information about network traffic; -
means for maintaining processor load relatively constant for a processor controlling said means for collecting despite substantial variation in network traffic;
wherein said means for collecting and said means for maintaining include an input port for receiving network packets, a sampling element for selecting a fraction of those packets for review, said sampling element including a feedback element for adaptively altering said fraction, a queue of selected packets, a packet-type detector to detect packets of a particular type, said packet-type detector coupled to said queue, and a frequency measurement element to determine an expected frequency of a particular packet type, said frequency measurement element coupled to said packet-type detector; and
wherein said feedback element is responsive to a length of said queue. - View Dependent Claims (22, 23)
-
-
24. A computer-readable medium carrying one or more instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
sampling a set of packets at a network interface of a switch, said step for sampling including steps for adaptively altering a fraction of said packets for selection;
wherein said steps for adaptively altering a fraction of said packets for selection include steps for maintaining a queue of selected packets; and
altering said fraction in response to a length of said queue; and
determining a frequency of packets of a known type within said selected packets. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
Specification