Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 10:00:15 -0600
From:      Nate Williams <nate@yogotech.com>
To:        Attila Nagy <bra@fsn.hu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: sendfile() in tftpd?
Message-ID:  <15557.34063.227556.850296@caddis.yogotech.com>
In-Reply-To: <Pine.LNX.4.44.0204231222230.24266-100000@scribble.fsn.hu>
References:  <Pine.LNX.4.44.0204231222230.24266-100000@scribble.fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
> Would it be possible to use sendfile in tftpd?

Nope, since as someone else has pointed out, tftp uses UDP and not TCP.
The problem with TFTP is the protocol, not the implementation.  It's got
a window size of 'one', so the speed is limited by the latency between
the two hosts.  You could have a 1Terrabit pipe, and if it's latency was
the same as a 9600 baud modem, your transfer speed would be the same as
a modem.




Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15557.34063.227556.850296>