Linux on IBM Cloud - Tsunami

只支持单向 download,  如果需要upload, 可以把Client/Server 角色对换过来

tsunami

一个开源文件下载工具,基于UDP协议,在互联网环境下,比传统的FTP下载速度快许多

 

介绍

 

https://zhidao.baidu.com/question/1821315302665495268.html

 

http://tsunami-udp.cvs.sourceforge.net/viewvc/tsunami-udp/docs/USAGE.txt

http://tsunami-udp.cvs.sourceforge.net/viewvc/tsunami-udp/docs/howTsunamiWorks.txt

 

Web site

http://tsunami-udp.sf.net/

 

测试环境

香港和美国2台机器 centos 2cc2G 25GHDD

HK 119.81.148.108 root FBe8y5px

SJC 50.97.229.146 root KF9jmJMW

 

安装

#login, mkdir data

#yum install cvs

#cvs -z3 -d:pserver:anonymous@tsunami-udp.cvs.sourceforge.net:/cvsroot/tsunami-udp co -P tsunami-udp

#cd tsunami-udp

#cvs update

#yum install libtool*

#./recompile.sh

#sudo make install   # copy bin to user/local/bin

 

Server端

执行

 

#cd /data

创建一些指定大小文件

#dd if=/dev/zero of=50M.file bs=1M count=50

#dd if=/dev/zero of=1G.img bs=1M seek=1000 count=0

#ls -lht

 

#tsunamid *  #开始listening

 

#tsunamid --port 46224 /mnt/bigephemeral/*  指定端口和目录

 

client端

执行

 

#cd /data

 

#tsunami

> connect 50.97.229.146

> get 50M.file

> get 1G.img

 

或者直接执行

#tsunami connect 50.97.229.146 set udpport 51031 get data/1G.img quit
#tsunami connect 50.97.229.146   get /data/1G.img quit
#tsunami connect 50.97.229.146   get /data/50M.file quit

 

测试结果

Benchmark

 

下载速度在80-90Mbps, 文件没有丢包

Transmission of 1G.img complete.

Server 1 transferred 1048576000 bytes in 98.40 seconds (81.3 Mbps)

Transmission of /data/1G.img complete.

Server 2 transferred 1048576000 bytes in 87.30 seconds (91.6 Mbps)

 

Transfer complete. Flushing to disk and signaling server to stop...

PC performance figure : 380 packets dropped (if high this indicates receiving PC overload)

Transfer duration     : 87.30 seconds

Total packet data     : 8000.00 Mbit

Goodput data          : 7997.03 Mbit

File data             : 8000.00 Mbit

Throughput            : 91.64 Mbps

Goodput w/ restarts   : 91.60 Mbps

Final file rate       : 91.64 Mbps

Transfer mode         : lossless

 

Thank you for using Tsunami.

The ANML web site can be found at:    http://www.anml.iu.edu/

The SourceForge site can be found at: http://tsunami-udp.sf.net/

Transmission of /data/50M.file complete.

Server 1 transferred 52428800 bytes in 4.46 seconds (89.7 Mbps)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值