From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Wed, 22 Jul 2009 17:23:25 +0200 Subject: [U-Boot] http client? In-Reply-To: <20090722151847.37200832E416@gemini.denx.de> References: <20090722151847.37200832E416@gemini.denx.de> Message-ID: <20090722152325.GA2779@mail.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Hm... but 20 minutes versus 30 seconds cannot be explained by TFTP > versus HTTP alone. There must be other effects impacting your network > traffic. Did you run any deeper analysis? I'm sure it depends on network delays. TCP has the sliding window mechanism, so several packets can be in flight before you get a single ack. TFTP requires one ack for each data packet, doesn't it? If you have high delays, TCP is usually a win, even with relatively low bandwidth. Otherwise, we need a an UDP protocol that doesn't require individual ack. /alessandro