cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: v7.30.0 is slower than v2.29.0 when I upload files with FTP

From: Mike Mio <mikemio_at_rogers.com>
Date: Thu, 15 Aug 2013 15:32:05 -0400

On Wednesday, August 14, 2013 3:17 AM,, daniel.haxx.se wrote:

>Our own win32 build hero Guenter Knauf just provided his extensive set of
builds of 7.32.0 and the site is updated.

Thanks, that's great (Thanks Guenter!). Unfortunately, the 7.32.00 win32
version is no better than 7.30 or 7.31. In fact it is slower. It is taking
around 2 sec. per file instead of 1 sec.

I am hoping this is just a configuration issue on my part.

Below are some example excerpts of a single file transfer from the protocol
captures. You can see the timing differences there. I see some differences
in ACKs but I am not really sure if they are significant.

Any ideas?

Mike

FTP upload using libCURL WIN32 - 7.29.00 -

509 13.507298 CLIENT IP SERVER IP FTP 60
Request: EPSV
510 13.698107 SERVER IP CLIENT IP FTP 102
Response: 229 Entering Extended Passive Mode (|||50692|)
511 13.698495 CLIENT IP SERVER IP TCP 66 8357
> 50692 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=4 SACK_PERM=1
512 13.698590 CLIENT IP SERVER IP FTP 86
Request: STOR obj1762geo805shd103p3.png
513 13.886686 SERVER IP CLIENT IP TCP 62
50692 > 8357 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 SACK_PERM=1
514 13.886776 CLIENT IP SERVER IP TCP 54 8357
> 50692 [ACK] Seq=1 Ack=1 Win=64240 Len=0
515 13.893120 SERVER IP CLIENT IP FTP 96
Response: 150 Opening BINARY mode data connection.
516 13.893652 CLIENT IP SERVER IP FTP-DATA 166
FTP Data: 112 bytes
517 13.893721 CLIENT IP SERVER IP TCP 54 8357
> 50692 [FIN, ACK] Seq=113 Ack=1 Win=64240 Len=0
518 14.083059 SERVER IP CLIENT IP TCP 54
50692 > 8357 [ACK] Seq=1 Ack=114 Win=64240 Len=0
519 14.090736 SERVER IP CLIENT IP TCP 54
50692 > 8357 [FIN, ACK] Seq=1 Ack=114 Win=64240 Len=0
520 14.090788 CLIENT IP SERVER IP TCP 54 8357
> 50692 [ACK] Seq=114 Ack=2 Win=64240 Len=0
521 14.090915 CLIENT IP SERVER IP TCP 54 8338
> ftp [ACK] Seq=536 Ack=1778 Win=63970 Len=0
522 14.091170 SERVER IP CLIENT IP FTP 78
Response: 226 Transfer complete.
 

Using 7.30.0 -

552 33.948041 CLIENT IP SERVER IP FTP 60
Request: EPSV
553 34.136107 SERVER IP CLIENT IP FTP 102
Response: 229 Entering Extended Passive Mode (|||50863|)
554 34.136455 CLIENT IP SERVER IP TCP 66 8459
> 50863 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=4 SACK_PERM=1
555 34.136544 CLIENT IP SERVER IP FTP 80
Request: STOR obj61geo61pg6p3.png
556 34.230135 ... SSDP
208 M-SEARCH * HTTP/1.1
557 34.326644 SERVER IP CLIENT IP TCP 62
50863 > 8459 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 SACK_PERM=1
558 34.326755 CLIENT IP SERVER IP TCP 54 8459
> 50863 [ACK] Seq=1 Ack=1 Win=64240 Len=0
559 34.333495 SERVER IP CLIENT IP FTP 96
Response: 150 Opening BINARY mode data connection.
560 34.532856 CLIENT IP SERVER IP TCP 54 8438
> ftp [ACK] Seq=781 Ack=2576 Win=63172 Len=0
561 35.136380 CLIENT IP SERVER IP FTP-DATA 1302
FTP Data: 1248 bytes
562 35.136500 CLIENT IP SERVER IP TCP 54 8459
> 50863 [FIN, ACK] Seq=1249 Ack=1 Win=64240 Len=0
563 35.326646 SERVER IP CLIENT IP TCP 54
50863 > 8459 [ACK] Seq=1 Ack=1250 Win=64240 Len=0
564 35.332238 SERVER IP CLIENT IP TCP 54
50863 > 8459 [FIN, ACK] Seq=1 Ack=1250 Win=64240 Len=0
565 35.332300 CLIENT IP SERVER IP TCP 54 8459
> 50863 [ACK] Seq=1250 Ack=2 Win=64240 Len=0
566 35.332666 SERVER IP CLIENT IP FTP 78
Response: 226 Transfer complete.

Using 7.32.0 -
104 14.629384 CLIENT IP SERVER IP FTP 60
Request: EPSV
105 14.820885 SERVER IP CLIENT IP FTP 102
Response: 229 Entering Extended Passive Mode (|||50523|)
106 14.821228 CLIENT IP SERVER IP TCP 66 8037
> 50523 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=4 SACK_PERM=1
107 15.010371 SERVER IP CLIENT IP TCP 62
50523 > 8037 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 SACK_PERM=1
108 15.010467 CLIENT IP SERVER IP TCP 54 8037
> 50523 [ACK] Seq=1 Ack=1 Win=64240 Len=0
109 15.013864 CLIENT IP SERVER IP TCP 54
mindprint > ftp [ACK] Seq=218 Ack=894 Win=63347 Len=0
110 15.821017 CLIENT IP SERVER IP FTP 90
Request: STOR obj1202geo1280shd104pg6p3.png
111 15.832453 .... 110
Router Advertisement
112 16.009979 SERVER IP CLIENT IP FTP 108
Response: 125 Data connection already open; Transfer starting.
113 16.209883 CLIENT IP SERVER IP TCP 54
mindprint > ftp [ACK] Seq=254 Ack=948 Win=63293 Len=0
114 16.821407 CLIENT IP SERVER IP FTP-DATA 1201
FTP Data: 1147 bytes
115 16.821659 CLIENT IP SERVER IP TCP 54 8037
> 50523 [FIN, ACK] Seq=1148 Ack=1 Win=64240 Len=0
116 17.002364 ... SSDP
208 M-SEARCH * HTTP/1.1
117 17.013767 SERVER IP CLIENT IP TCP 54
50523 > 8037 [ACK] Seq=1 Ack=1149 Win=64240 Len=0
118 17.019333 SERVER IP CLIENT IP TCP 54
50523 > 8037 [FIN, ACK] Seq=1 Ack=1149 Win=64240 Len=0
119 17.019377 CLIENT IP SERVER IP TCP 54 8037
> 50523 [ACK] Seq=1149 Ack=2 Win=64240 Len=0
119 17.019377 CLIENT IP SERVER IP TCP 54 8037
> 50523 [ACK] Seq=1149 Ack=2 Win=64240 Len=0
120 17.019750 SERVER IP CLIENT IP FTP 78
Response: 226 Transfer complete.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-15