From owner-freebsd-hackers Tue Apr 23 9: 0:29 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 57EAE37B405 for ; Tue, 23 Apr 2002 09:00:17 -0700 (PDT) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA07605; Tue, 23 Apr 2002 10:00:15 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g3NG0Fo64327; Tue, 23 Apr 2002 10:00:15 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15557.34063.227556.850296@caddis.yogotech.com> Date: Tue, 23 Apr 2002 10:00:15 -0600 To: Attila Nagy Cc: hackers@FreeBSD.ORG Subject: Re: sendfile() in tftpd? In-Reply-To: References: X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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