ファイル転送編~Tsunami UDP Protocolパート②~

こんにちは! JQです。

前回は『 ファイル転送編~Tsunami UDP Protocolパート①~ 』ということで、Tsunami UDP Protocolのインストールまでをお話しました。

今回は『ファイル転送編~Tsunami UDP Protocolパート②~』と題して、実際にファイル転送を行なってみたいと思います。

**

Localでファイル転送

**

それでは実際に転送してみましょう!

  1. まずは転送用のテストデータとフォルダを事前に用意します。
1# mkdir /tmp/tsunami_test23# cd /tmp/tsunami_test/45# pwd67	/tmp/tsunami_test
  1. 下記コマンドなどでテストファイルを作成します。
1# echo "sample" > sample01.txt23# ls 45sample01.txt sample02.txt sample03.txt sample04.txt sample05.txt
  1. 次にTsunamiサーバを起動します。

先ほどのディレクトリ上でTsunamiを起動します。

1# tsunamid *2The specified 5 files will be listed on GET *:3   1)   1.txt                 6 bytes4   2)   2.txt                 6 bytes5   3)   3.txt                 6 bytes6   4)   4.txt                 6 bytes7   5)   5.txt                 6 bytes8total characters 309Block size: 102410Buffer size: 2000000011Port: 4622412Tsunami Server for protocol rev 2006102513Revision: v1.1 devel cvsbuild 4214Compiled: May 20 2013 16:00:5215Waiting for clients to connect.
  1. 最後にクライアントで接続します。

別ウインドウで開いたSSHで転送をしてみます。

1# tsunami2Tsunami Client for protocol rev 200610253Revision: v1.1 devel cvsbuild 424Compiled: May 20 2013 16:00:5056tsunami> connect localhost7Connected.89tsunami> get *10Requesting all available files1112Server is sharing 5 files13Multi-GET of 5 files:141.txt 2.txt 3.txt 4.txt 5.txt15GET *: now requesting file '1.txt'16Receiving data on UDP port 4622417Transfer complete. Flushing to disk and signaling server to stop...18!!!!19PC performance figure : 0 packets dropped (if high this indicates20receiving PC overload)21Transfer duration     : 0.00 seconds22Total packet data     : 0.01 Mbit23Goodput data          : 0.01 Mbit24File data             : 0.00 Mbit25Throughput            : 10.78 Mbps26Goodput w/ restarts   : 10.78 Mbps27Final file rate       : 0.06 Mbps28Transfer mode         : lossless2930GET *: now requesting file '2.txt'31Receiving data on UDP port 4622432Transfer complete. Flushing to disk and signaling server to stop...33!!!!34PC performance figure : 0 packets dropped (if high this indicates35receiving PC overload)36Transfer duration     : 0.00 seconds37Total packet data     : 0.01 Mbit38Goodput data          : 0.01 Mbit39File data             : 0.00 Mbit40Throughput            : 8.12 Mbps41Goodput w/ restarts   : 8.12 Mbps42Final file rate       : 0.05 Mbps43Transfer mode         : lossless4445GET *: now requesting file '3.txt'46Receiving data on UDP port 4622447Transfer complete. Flushing to disk and signaling server to stop...48!!!!49PC performance figure : 0 packets dropped (if high this indicates50receiving PC overload)51Transfer duration     : 0.00 seconds52Total packet data     : 0.01 Mbit53Goodput data          : 0.01 Mbit54File data             : 0.00 Mbit55Throughput            : 6.56 Mbps56Goodput w/ restarts   : 6.56 Mbps57Final file rate       : 0.04 Mbps58Transfer mode         : lossless5960GET *: now requesting file '4.txt'61Receiving data on UDP port 4622462Transfer complete. Flushing to disk and signaling server to stop...63!!!!64PC performance figure : 0 packets dropped (if high this indicates65receiving PC overload)66Transfer duration     : 0.00 seconds67Total packet data     : 0.01 Mbit68Goodput data          : 0.01 Mbit69File data             : 0.00 Mbit70Throughput            : 3.97 Mbps71Goodput w/ restarts   : 3.97 Mbps72Final file rate       : 0.02 Mbps73Transfer mode         : lossless7475GET *: now requesting file '5.txt'76Receiving data on UDP port 4622477Transfer complete. Flushing to disk and signaling server to stop...78!!!!79PC performance figure : 0 packets dropped (if high this indicates80receiving PC overload)81Transfer duration     : 0.00 seconds82Total packet data     : 0.01 Mbit83Goodput data          : 0.01 Mbit84File data             : 0.00 Mbit85Throughput            : 3.98 Mbps86Goodput w/ restarts   : 3.98 Mbps87Final file rate       : 0.02 Mbps88Transfer mode         : lossless

いかがでしたでしょうか?

次回は『ファイル転送編~Tsunami URP Protocolパート③~』ということで、リージョン間でのファイル転送を試してみたいと思います。

お楽しみに!

この記事を書いた人

aws-recipe-user