摘要
为解决边界网关处的瓶颈造成网络流量不公平竞争,QoS得不到保障的问题,提出了一种新的基于Netfilter的流控机制Smart Token Bucket Filter(STBF)。在传统令牌桶算法基础上,改进了令牌更新算法和数据转发逻辑及缓存队列管理策略,并通过闭环负反馈回路自动调整令牌桶内部参数,在对流量进行精确整形的同时实现了带宽保障。实验证明,相比传统HTB算法,STBF整形精确,平稳,具有更高的平均吞吐量和更小的时延,带宽保障功能效果明显,具有较高实用价值。
The bottleneck of bandwidth widely exists on the edge gateways, which leads to unfair competition among the network traffic, thus the QoS is hardly guaranteed. To solve this, a new Netfilter based flow control mechanism called Smart Token Bucket Filter (STBF) is proposed. It is based on the classical token bucket algorithm, with improved token update algorithm, retransmission logic and buffer management policy. Further the various parameters of the token bucket are automatically adjusted by applying a closed- loop negative feedback loop. Thus besides the accurate traffic shaping capability, a bandwidth guarantee feature is also achieved. The experiments prove that the STBF is more stable and accurate than traditional HTB algorithm; in addition it has better throughput and shorter delay time. The bandwidth guarantee func, tion also works effectively and has practical value.
出处
《微处理机》
2012年第6期23-29,共7页
Microprocessors
基金
中央高校基本科研业务基金(CDJZR10180012)