Network Working Group G. Malkin
Request for Comments: 1783 Xylogics, Inc.
Updates: 1350 A. Harkin
Category: Standards Track Hewlett Packard Co.
March 1995
TFTP Blocksize Option
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
| opc |filename| 0 | mode | 0 | blksize| 0 | #octets| 0 |
+-------+---~~---+---+---~~---+---+---~~---+---+---~~---+---+
opc
Malkin & Harkin [Page 1]
RFC 1783 TFTP Blocksize Option March 1995
mode
+-------+--------+---+--------+---+--------+---+--------+---+
| 1 | foobar | 0 | binary | 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).
Malkin & Harkin [Page 2]
RFC 1783 TFTP Blocksize Option March 1995
Proof of Concept
|
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 |
13 +
|
11 + n
| g
9 +
|
7 + n
| g
"
0 +------+------+--+---+------+------+---
512 1K | 2K 4K 8K
1432
Malkin & Harkin [Page 3]
RFC 1783 TFTP Blocksize Option March 1995
The comparisons between transfer times (without a gateway) between the standard 512-byte blocksize and the negotiated blocksizes are:
Malkin & Harkin [Page 4]
RFC 1783 TFTP Blocksize Option March 1995
Authors' Addresses