curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows users! Help us test upload performance tuning?

From: Jan Ehrhardt via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 11 Aug 2018 14:20:09 +0200

Daniel Jelinski via curl-library (Fri, 10 Aug 2018 22:59:22 +0200):
>Ok, so let's put Linux to a test.

Reality check from a CentOS 6 machine

  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 274M 0 0 100 274M 0 667k 0:07:00 0:07:00 --:--:-- 667k
start:0.191403 total:420.697969

>0. Patch CURL:

-#define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE
+#define UPLOAD_BUFSIZE (512*1024)

  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 274M 0 0 100 274M 0 1297k 0:03:36 0:03:36 --:--:-- 1297k
start:0.230242 total:216.560168

If I use lftp on the target Windows 2008 R2 machine to get the file from the
CentOS 6 machine:

c:\>ptime bash /utils/pcx6get.sh um001348.opt.mp4
=== bash /utils/pcx6get.sh um001348.opt.mp4 ===
Execution time: 13.201 s

rsync running on the target Windows 2008 R2 server, syncing from the CentOS, is
even a tiny bit faster:

   287754814 100% 23.35MB/s 0:00:11 (xfer#1, to-check=0/1)

sent 30 bytes received 287790026 bytes 23023204.48 bytes/sec
total size is 287754814 speedup is 1.00

Execution time: 12.183 s

-- 
Jan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-11