发明名称 Packet sampling using rate-limiting mechanisms
摘要 A network device configured to i) control a rate of traffic while operating in a rate-limiting mode, and ii) mirror traffic while operating a sampling mode. The network device includes an ingress circuit configured to receive packets, and a rate limiter in communication with the ingress circuit. The rate limiter is configured to, while the network device is operating in the rate-limiting mode, perform a rate-limiting scheme to control a rate of the packets received through the ingress circuit. The rate limiter is further configured to, while the network device is operating in the sampling mode, perform a modified form of the rate-limiting scheme to mirror the packets received through the ingress circuit.
申请公布号 US8976658(B1) 申请公布日期 2015.03.10
申请号 US201113269791 申请日期 2011.10.10
申请人 Marvell International Ltd. 发明人 Kondapalli Raghu
分类号 H04L12/26 主分类号 H04L12/26
代理机构 代理人
主权项 1. A network device configured to i) control a rate of traffic while operating in a rate-limiting mode, and ii) mirror traffic while operating in a sampling mode, the network device comprising: an ingress circuit configured to receive packets; and a rate limiter in communication with the ingress circuit, wherein the rate limiter includes a counter, wherein the rate-limiting mode is mutually exclusive with the sampling mode, wherein the rate limiter is configured to, while the network device is operating in the rate-limiting mode, use the counter to perform a rate-limiting scheme to control a rate of the packets received through the ingress circuit, wherein the rate-limiting scheme includes decrementing the counter by a first amount in response to receipt of a first packet through the ingress circuit, wherein the first amount is based on a predetermined factor, anda time period elapsed between (i) a previous update of the counter and (ii) a current time, and wherein the rate limiter is configured to, while the network device is operating in the sampling mode, use the counter to select ones of the packets received through the ingress circuit, wherein copies of the selected ones of the packets are sent to a predetermined sampling destination.
地址 Hamilton BM