Patent ID: 8706902

Claim:
A method for regulating network traffic, the method comprising: establishing a plurality of peer to peer streams; measuring usage of a CPU as a number of busy cycles in the percentage of all available cycles for the CPU; determining whether one or more IPTV streams are present in addition to the plurality of peer to peer streams; determining if the CPU usage is greater than an overload threshold value; halting the increase of a data traffic shaping rate associated with traffic regulated by the CPU if the CPU usage is greater than the overload threshold value and if it is determined that one or more IPTV streams are present; determining if the CPU usage is greater than an overflow threshold value; decreasing the data traffic shaping rate associated with traffic regulated by the CPU if the CPU usage is greater than the overflow threshold value and if it is determined that one or more IPTV streams are present; and wherein data traffic shaping comprises the use of a token-bucket based shaper, wherein queuing is turned off to avoid dropping packets when a token bucket is full.