
Josh Boyer wrote:
From: Frank Haverkamp haver@vnet.ibm.com
http://tools.ietf.org/html/rfc2348 describes the TFTP block size option which allows larger packtes than the 512 byte default. This reduces the number of TFTP ACKs significantly and improves performance.
To get the most benefit out of the tftp block size option the support of defragementation of IP/UDP packet is helpful. The current implemenation should work even with packets received out of order. To enable the large packet size the user should set "tftp_block_size" so a value like 16352.
We experimented with different packet sizes and found that more than those 16KiB do not contribute much to the performance anymore. Therefor I limited the defragmentation buffer to 16KiB no too waste memory.
Signed-off-by: Frank Haverkamp haver@vnet.ibm.com Signed-off-by: Josh Boyer jwboyer@linux.vnet.ibm.com
Thanks. This looks like a good feature. I'll try to digest it tonight.
regards, Ben