并行数据传输技术可以有效地提高文件特别是大文件的传输效率,但传统的静态并行度调整策略缺乏对网络的适应性,本文提出一种基于吞吐量的并行度动态调整算法,通过对吞吐量的预测和对网络状况的估计实现并行度的动态调整;并利用多线程技术和 FTP 协议实现了该算法。在真实网络环境下的实验结果表明,下载速度至少比固定线程数下载软件快8倍。
The static parallelism tuning strategy of concurrent data transmission is short of flexibility for network conditions.This paper proposes a dynamic parallelism tuning algorithm based on throughput, which adj usts the degree of parallelism by estimating throughput and evaluating network conditions.Al-so the authors implement the algorithm based on multithread and FTP protocol.For the real network tests,the experimental results show that the downloading speed of the algorithm at least 8 times faster than other software of fixed thread count.