Patent ID: 9699113
Date: 2017-07-04
CPC Classifications: H04L

Claim:
1. A method for bandwidth adjustment in a network virtualization system comprising a central module and m remote modules, the m remote modules are connected to a physical interface of the central module by n pseudo wires (PWs), traffic is transmitted over the n PWs, and m and n are positive integers, the method comprising: acquiring, from the m remote modules, a real-time bandwidth of each PW of the n PWs, wherein the real-time bandwidth is a value of a bandwidth occupied by real-time traffic transmitted through each PW from a remote module to the central module; when a sum of the acquired real-time bandwidths of the n PWs is greater than a bandwidth of the physical interface, adjusting configured bandwidths of P (P<=n) PWs, so that the sum of the real-time bandwidths of the n PWs is not greater than the bandwidth of the physical interface, wherein P is a positive integer, and the P PWs are PWs of the n PWs; and separately sending values of adjusted configured bandwidths of the P PWs to the remote modules separately connected to the P PWs; wherein adjusting configured bandwidths of the P PWs, comprises: acquiring queue length usage of a packet queue corresponding to each PW of the n PWs from the m remote modules, wherein the queue length usage is a ratio of a queue length of unsent packets in the packet queue to a total queue length; acquiring a bandwidth usage equalization rate of each PW, wherein the bandwidth usage equalization rate of the PW is acquired by dividing queue length usage of the packet queue corresponding to the PW by the real-time bandwidth of the PW; and adjusting the configured bandwidths of the P PWs according to the bandwidth usage equalization rate of each PW of the n PWs, so that the sum of the real-time bandwidths of the n PWs is not greater than the bandwidth of the physical interface.