Dynamically determining packet sampling rates

US9749199B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9749199-B2
Application numberUS-201615150802-A
CountryUS
Kind codeB2
Filing dateMay 10, 2016
Priority dateJan 17, 2013
Publication dateAug 29, 2017
Grant dateAug 29, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

For dynamically determining packet sampling rates, a method including setting a packet sampling rate for one or more switch ports, collecting for an interval of time a plurality of statistics for the one or more switch ports, and adjusting the packet sampling rate in response to one or more of the plurality of statistics.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: setting a packet sampling rate for a first port of a plurality of switch ports; collecting for an interval of time a plurality of statistics for the plurality of switch ports; and adjusting the packet sampling rate in response to one or more of the plurality of statistics, wherein the packet sampling rate is adjusted in response to a sample rate percentage for the first port varying more than a threshold amount from a sample rate percentage for a second port. 2. The method of claim 1 , further comprising tracking the average packet length over time. 3. The method of claim 1 , further comprising adjusting the packet sampling rate in response to a maximum sample per second rate for a first statistic gathering period varying more than a threshold amount from a maximum sample per second rate for a second statistic gathering period. 4. The method of claim 1 , further comprising: measuring a sample wait time; and adjusting the packet sampling rate in response to the sample wait time. 5. The method of claim 4 , further comprising triggering an early adjustment of the packet sampling rate in response to a sample wait time outside of a range. 6. The method of claim 1 , further comprising: determining a maximum number of samples that can be processed per second; and setting an initial packet sampling rate for a plurality of switch ports, wherein the initial packet sampling rate is calculated using the maximum number of samples that can be processed per second as a factor. 7. An apparatus comprising: a sampling rate module that sets a packet sampling rate for a first port of a plurality of switch ports; a statistics module that collects for an interval of time a plurality of statistics for the plurality of switch ports; and an adjustment module that adjusts the packet sampling rate in response to one or more of the plurality of the statistics, wherein the packet sampling rate is adjusted in response to a sample rate percentage for the first port varying more than a threshold amount from a sample rate percentage for a second port. 8. The apparatus of claim 7 , further comprising a tracking module that tracks the average packet length over time. 9. The apparatus of claim 7 , wherein the plurality of statistics includes one or more of average packet length, average port speed, maximum port utilization, port count, and actual samples received per second. 10. The apparatus of claim 7 , further comprising a tracking module that measures a sample wait time, and the adjustment module adjusts the packet sampling rate in response to the sample wait time. 11. The apparatus of claim 10 , wherein the adjustment module triggers an early adjustment of the packet sampling rate in response to a sample wait time outside of a range. 12. The apparatus of claim 7 , wherein the adjustment module adjusts the packet sampling rate in response to the statistics module detecting a maximum sample per second rate for a first statistic gathering period varying more than a threshold amount from a maximum sample per second rate for a second statistic gathering period. 13. The apparatus of claim 7 , wherein the adjustment module determines a maximum number of samples that can be processed per second, and the sampling rate module sets an initial packet sampling rate for a plurality of switch ports, wherein the initial packet sampling rate is calculated using the maximum number of samples that can be processed per second as a factor. 14. A computer-program product, the computer program product comprising a computer-readable storage medium having executable code embodied therein, the executable code readable by a processor to: set a packet sampling rate for a first port of a plurality of switch ports; collect for an interval of time a plurality of statistics for the plurality of switch ports; and adjust the packet sampling rate in response to one or more of the plurality of statistics, wherein the packet sampling rate is adjusted in response to a sample rate percentage for the first port varying more than a threshold amount from a sample rate percentage for a second port. 15. The computer-program product of claim 14 , further comprising executable code readable by the processor to track the average packet length over time. 16. The computer-program product of claim 14 , wherein the plurality of statistics includes one or more of average packet length, average port speed, maximum port utilization, port count, and actual samples received per second. 17. The computer-program product of claim 14 , further comprising executable code readable by the processor to: measure a sample wait time; and adjust the packet sampling rate in response to the sample wait time. 18. The computer-program product of claim 17 , further comprising executable code readable by the processor to trigger an early adjustment of the packet sampling rate in response to a sample wait time outside of a range. 19. The computer-program product of claim 14 , further comprising executable code readable by the processor to adjust the packet sampling rate in response to a maximum sample per second rate for a first statistic gathering period varying more than a threshold amount from a maximum sample per second rate for a second statistic gathering period. 20. The computer-program product of claim 14 , further comprising executable code readable by the processor to: determine a maximum number of samples that can be processed per second; and set an initial packet sampling rate for a plurality of switch ports, wherein the initial packet sampling rate is calculated using the maximum number of samples that can be processed per second as a factor.

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9749199B2 cover?
For dynamically determining packet sampling rates, a method including setting a packet sampling rate for one or more switch ports, collecting for an interval of time a plurality of statistics for the one or more switch ports, and adjusting the packet sampling rate in response to one or more of the plurality of statistics.
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification H04L43/024. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 29 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).