RFC1783 日本語訳
1783 TFTP Blocksize Option. G. Malkin, A. Harkin. March 1995. (Format: TXT=7814 bytes) (Obsoleted by RFC2348) (Updates RFC1350) (Status: PROPOSED STANDARD)
プログラムでの自動翻訳です。
英語原文
Network Working Group G. Malkin Request for Comments: 1783 Xylogics, Inc. Updates: 1350 A. Harkin Category: Standards Track Hewlett Packard Co. March 1995
コメントを求めるワーキンググループG.マルキンの要求をネットワークでつないでください: 1783のXylogics Inc.アップデート: 1350年のA.ハーキンカテゴリ: 1995年の標準化過程ヒューレットのパッカードの社の行進
TFTP Blocksize Option
TFTP Blocksizeオプション
Status of this Memo
このMemoの状態
This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.
このドキュメントは、インターネットコミュニティにインターネット標準化過程プロトコルを指定して、改良のために議論と提案を要求します。 このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD1)の現行版を参照してください。 このメモの分配は無制限です。
Abstract
要約
The Trivial File Transfer Protocol [1] is a simple, lock-step, file transfer protocol which allows a client to get or put a file onto a remote host. One of its primary uses is the booting of diskless nodes on a Local Area Network. TFTP is used because it is very simple to implement in a small node's limited ROM space. However, the choice of a 512-byte blocksize is not the most efficient for use on a LAN whose MTU may 1500 bytes or greater.
トリビアル・ファイル転送プロトコル[1]はクライアントがリモートホストにファイルを届けるか、または置く簡単で、堅苦しいファイル転送プロトコルです。 プライマリ用途の1つはローカル・エリア・ネットワークにおけるディスクレスノードの穂ばらみです。 小さいノードの限られたROMでスペースを実装するのが非常に簡単であるので、TFTPは使用されています。 しかしながら、512バイトがblocksizeするaの選択は、LANにおけるMTUが1500バイトそうするかもしれない使用には効率的でもなくて、またより最大級でもありません。
This document describes a TFTP option which allows the client and server to negotiate a blocksize more applicable to the network medium. The TFTP Option Extension mechanism is described in [2].
このドキュメントはクライアントを許容するTFTPオプションについて説明します、そして、aを交渉するサーバはネットワーク媒体により適切な状態でblocksizeされます。 TFTP Option Extensionメカニズムは[2]で説明されます。
Blocksize Option Specification
オプション仕様をBlocksizeします。
The TFTP Read Request or Write Request packet is modified to include the blocksize option as follows:
TFTP Read RequestかWrite Requestパケットが含むように変更される、blocksizeする、以下のオプション:
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+ | opc |filename| 0 | mode | 0 | blksize| 0 | #octets| 0 | +-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+ | opc|ファイル名| 0 | モード| 0 | blksizeします。| 0 | #octets| 0 | +-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
opc The opcode field contains either a 1, for Read Requests, or 2, for Write Requests, as defined in [1].
opcodeがさばくopcは[1]で定義されるようにRead RequestsのためのWrite Requestsのための1か2つの1を含んでいます。
filename The name of the file to be read or written, as defined in [1]. This is a NULL-terminated field.
ファイル名、[1]で定義されるような読まれるか、または書かれているファイルの名前。 これはNULLによって終えられた分野です。
Malkin & Harkin [Page 1] RFC 1783 TFTP Blocksize Option March 1995
マルキンとハーキン[1ページ]RFC1783TFTP Blocksizeオプション行進1995
mode The mode of the file transfer: "netascii", "octet", or "mail", as defined in [1]. This is a NULL-terminated field.
モード、ファイル転送の方法: [1]の"netascii"、「八重奏」、または定義されるとしての「メール。」 これはNULLによって終えられた分野です。
blksize The Blocksize option, "blksize" (case insensitive). This is a NULL-terminated field.
blksizeする、Blocksizeオプション、"blksizeする"(大文字と小文字を区別しない)。 これはNULLによって終えられた分野です。
#octets The number of octets in a block, specified in ASCII. Valid values range between "8" and "65464" octets, inclusive. This is a NULL-terminated field.
#oASCIIで指定されたブロックの八重奏の数をctetsします。 有効値は「8インチと「65464」八重奏的で、包括的であること」の間で及びます。 これはNULLによって終えられた分野です。
For example:
例えば:
+-------+--------+---+--------+---+--------+---+--------+---+ | 1 | foobar | 0 | binary | 0 | blksize| 0 | 1432 | 0 | +-------+--------+---+--------+---+--------+---+--------+---+
+-------+--------+---+--------+---+--------+---+--------+---+ | 1 | foobar| 0 | バイナリー| 0 | blksizeします。| 0 | 1432 | 0 | +-------+--------+---+--------+---+--------+---+--------+---+
is a Read Request, for the file named "foobar", in binary transfer mode, with a block size of 1432 bytes (Ethernet MTU, less the UDP and IP header lengths).
ファイルのためのRead Requestが1432バイトのブロック・サイズで2進の転送モードで"foobar"と命名される、(イーサネットMTUで、より少ない、UDPとIPヘッダ長)
If the server is willing to accept the blocksize option, it sends an Option Acknowledgment (OACK) to the client. The specified value must be less than or equal to the value specified by the client. The client must then either use the size specified in the OACK, or send an ERROR packet, with error code 8, to terminate the transfer.
サーバが、受け入れても構わないと思っている、blocksizeする、オプション、それはOption Acknowledgment(OACK)をクライアントに送ります。 規定値はクライアントによって指定されたより値以下でなければなりません。 そして、クライアントは、OACKで指定されたサイズを使用しなければならないか、または転送を終えるためにエラーコード8と共にERRORパケットを送らなければなりません。
The rules for determining the final packet are unchanged from [1]. The reception of a data packet with a data length less than the negotiated blocksize is the final packet. If the blocksize is greater than the size of the packet, the first packet is the final packet. If amount of data to be transfered is an integral multiple of the blocksize, an extra data packet containing no data is sent to end the transfer.
最終的なパケットを決定するための規則は[1]から変わりがありません。 データの長さが交渉がblocksizeされるより少ないデータ・パケットのレセプションは最終的なパケットです。 blocksizeする、パケットのサイズ、最初のパケットが決勝であるよりすばらしいパケットはそうです。 transferedされているのが、不可欠の倍数であるということであるデータが達する、blocksizeする、転送を終わらせるためにデータを全く含まない付加的なデータ・パケットを送ります。
Malkin & Harkin [Page 2] RFC 1783 TFTP Blocksize Option March 1995
マルキンとハーキン[2ページ]RFC1783TFTP Blocksizeオプション行進1995
Proof of Concept
概念の証拠
Performance tests were run on the prototype implementation using a variety of block sizes. The tests were run on a lightly loaded Ethernet, between two HP-UX 9000, in "octet" mode, on 2.25MB files. The average (5x) transfer times for paths with (g-time) and without (n-time) a intermediate gateway are graphed as follows:
パフォーマンステストはさまざまなブロック・サイズを使用するプロトタイプ実装における走行でした。 テストは2.25MBのファイルの「八重奏」モードにおける2HP-UX9000の間の軽くロードされたイーサネットにおける走行でした。 (g-時間)と(n-時間)中間ゲートウェイのない経路への平均した(5x)転送回数は以下の通りグラフで表されます:
| 37 + g | 35 + | 33 + | 31 + | 29 + | 27 + | g blocksize n-time g-time 25 + --------- ------ ------ s | n 512 23.85 37.05 e 23 + g 1024 16.15 25.65 c | 1432 13.70 23.10 o 21 + 2048 10.90 16.90 n | 4096 6.85 9.65 d 19 + 8192 4.90 6.15 s | 17 + g | n 15 + | n 13 + | 11 + n | g 9 + | 7 + n | g 5 + n " 0 +------+------+--+---+------+------+--- 512 1K | 2K 4K 8K 1432 blocksize (bytes)
| 37+g| 35 + | 33 + | 31 + | 29 + | 27 + | g blocksize n-時間g-時間25+--------- ------ ------ s| n512 23.85 37.05e23+g1024 16.15 25.65c| 1432 13.70 23.10 o21+2048 10.90 16.90n| 4096 6.85 9.65 d19+8192 4.906.15秒間| 17+g| n15+| n13+| 11+n| g9+| 7+n| g5+n、「0+、」------+------+--+---+------+------+--- 512 1K| 2 K4K8K1432はblocksizeされます。(バイト)
Malkin & Harkin [Page 3] RFC 1783 TFTP Blocksize Option March 1995
マルキンとハーキン[3ページ]RFC1783TFTP Blocksizeオプション行進1995
The comparisons between transfer times (without a gateway) between the standard 512-byte blocksize and the negotiated blocksizes are:
標準の512バイトの間の回(ゲートウェイのない)がblocksizeして、交渉がblocksizesする転送での比較は以下の通りです。
1024 2x -32% 1432 2.8x -42% 2048 4x -54% 4096 8x -71% 8192 16x -80%
1024 2x-32%1432 2.8x-42%2048 4x-54%4096 8x-71%8192 16x-80%
As was anticipated, the transfer time decreases with an increase in blocksize. The reason for the reduction in time is the reduction in the number of packets sent. For example, by increasing the blocksize from 512 bytes to 1024 bytes, not only are the number of data packets halved, but the number of acknowledgement packets is also halved (along with the number of times the data transmitter must wait for an ACK). A secondary effect is the efficiency gained by reducing the per-packet framing and processing overhead.
予期されていたように、中に増加がある転送時間減少はblocksizeされます。 理由は、時間内にの減少がパケットの数が減少であるので、発信しました。 例えば増加する、blocksizeする、また、データ・パケットの数が半分にされるだけではなく、512バイトから1024バイトまで、確認応答パケットの数は半分にされます(回数と共に、データ送信機はACKを待たなければなりません)。 副次的効果は1パケットあたりの縁どりと処理オーバヘッドを抑えることによって獲得された効率です。
Of course, if the blocksize exceeds the path MTU, IP fragmentation and reassembly will begin to add more overhead. This will be more noticable the greater the number of gateways in the path.
もちろん、blocksizeする、IPのMTU、断片化、および再アセンブリが頭上でもう少し加え始める経路を超えています。 経路のゲートウェイの数が大きければ大きいほど、これは、より目立つでしょう。
Security Considerations
セキュリティ問題
Security issues are not discussed in this memo.
このメモで安全保障問題について議論しません。
References
参照
[1] Sollins, K., "The TFTP Protocol (Revision 2)", STD 33, RFC 1350, MIT, July 1992.
[1]Sollins、K.、「TFTPプロトコル(改正2)」、STD33、RFC1350、MIT、1992年7月。
[2] Malkin, G., and A. Harkin, "TFTP Option Extension", RFC 1782, Xylogics, Inc., Hewlett Packard Co., March 1995.
[2] マルキン、G.とA.ハーキン、「TFTPオプション拡張子」、RFC1782、Xylogics Inc.、ヒューレットパッカード社、1995年3月。
Malkin & Harkin [Page 4] RFC 1783 TFTP Blocksize Option March 1995
マルキンとハーキン[4ページ]RFC1783TFTP Blocksizeオプション行進1995
Authors' Addresses
作者のアドレス
Gary Scott Malkin Xylogics, Inc. 53 Third Avenue Burlington, MA 01803
ゲーリースコットマルキンXylogics Inc.53第3アベニューバーリントン、MA 01803
Phone: (617) 272-8140 EMail: gmalkin@xylogics.com
以下に電話をしてください。 (617) 272-8140 メールしてください: gmalkin@xylogics.com
Art Harkin Internet Services Project Information Networks Division 19420 Homestead Road MS 43LN Cupertino, CA 95014
芸術ハーキンインターネットのサービスは情報網を映し出します。事業部19420が道路MS43LNカルパチーノに入植する、カリフォルニア 95014
Phone: (408) 447-3755 EMail: ash@cup.hp.com
以下に電話をしてください。 (408) 447-3755 メールしてください: ash@cup.hp.com
Malkin & Harkin [Page 5]
マルキンとハーキン[5ページ]
一覧
スポンサーリンク