curl-users
Re: FTP upload speed problem and buffer size
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 11 Oct 2007 10:47:39 -0700
Date: Thu, 11 Oct 2007 10:47:39 -0700
On Thu, Oct 11, 2007 at 06:20:53PM +0200, Alessandro Vesely wrote:
> Looking at the single data packets sent, I could see that the system ftp
> tool always sent 1460 bytes per TCP packet, except the last that had 1082
> (5523 total packets sent, including 3 empty handshake ones.) Whereas curl
> sends a packet with 324 bytes after every 11 1460 bytes packets (thus
> totaling 5906 packets sent, including 2+2 empty ones --for passive handshake.)
That's the tradeoff that --tcp-nodelay makes: reduced latency but increased
number of packets.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-10-11