Re: HTTP/TFTP packet size & HTTP window size

Don Christensen <[email protected]>
Newsgroups gmane.network.etherboot.devel
Organization Cisco Systems
Message-ID <[email protected]>
Timothy Legge wrote:
> GB wrote:
> 
> 
>>I recently had a try with Etherboot, because I expected TFTP to be able 
>>to negociate bigger blocksize. But not, so download time still almost 
>>the same.
> 
> 
> You could change the value for TFTP_DEFAULTSIZE_PACKET 512 in 
> include/tftp.h.  I have not tried it so I am not sure if there are any 
> issues with doing that.

Does your TFTP server support the blocksize negotiation (RFC - 2348)?
If not, then the default of 512 will be used.  I suspect that changing
TFTP_DEFAULTSIZE_PACKET will lead to significantly undesirable results.

Mind you, I haven't looked at the Etherboot sources for some time, but
last time I was digging in there, Etherboot tried to negotiate a larger
blocksize.  Glancing at them with the CVS browser, I think that it
should be trying to negotiate a 1432-byte block (TFTP_MAX_PACKET).

So, check your server.  Since you have ethereal, take a look at the
start of the TFTP transfer and see how the server responds to the
blocksize request.

-Don

-- 
Don Christensen       Senior Software Development Engineer
[email protected]         Cisco Systems, Santa Cruz, CA
   "It was a new day yesterday, but it's an old day now."


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.