curl-library
upload speed is too slow in windows
Date: Wed, 3 Jan 2018 16:22:34 +0800 (CST)
Hi!
I've googled it before I send this message,but I did'n get the way out.
Here are some tests. May these tests are not rigorous, but they can show you my question:
why can't I get the speed like chrome without proxy set?
file size : 93582KB
Box : https://app.box.com/folder/0
operating system
windows server 2008 R2 standard
Test1:
libcurl
compiler: vc=8
version: 7.57.0
openssl: 1.0.2n
zlib: 1.2.11
case1:
upload the file to Box, with libcurl: the speed is about 350KB/s;
I tried the CURL_MAX_WRITE_SIZE: 16384, 32768, 65536, 131072, 262144, 524288, 1048576
case2:
upload the file to Box, with libcurl, set proxy http://127.0.0.1:3213 : the acerage speed is about 6MB/s;
case3:
upload the file to Box, with chrome, no proxy : the speed is about 6MB/s
--------------------------------------------------------------------------------------------------------------------------------
Test2:
libcurl-command-line:
upload the file to http://speedtest.tele2.net
~~~~~~~~~~~~~~~~~~~ \Desktop\libcurl-vc8-x86-release-dll-ssl-dll-zlib-dll-ipv6\
bin>curl -X POST --proxy http://127.0.0.1:3213 http://speedtest.tele2.net --dat
a-binary @Server.exe -o result.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91.3M 0 8140 100 91.3M 508 5848k 0:00:16 0:00:16 --:--:-- 10.8M
~~~~~~~~~~~~~~~~~~~ \Desktop\libcurl-vc8-x86-release-dll-ssl-dll-zlib-dll-ipv6\
bin>curl -X POST http://speedtest.tele2.net --data-binary @Server.exe -o resu
lt.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91.3M 0 8141 100 91.3M 30 355k 0:04:23 0:04:23 --:--:-- 345k
--------------------------------------------------------------------------------------------------------------------------------------
Test3:
curl: download from https://curl.haxx.se/download.html
version: Win64 x86_64 7zip7.57.0binarySSLSSHViktor Szak¨¢ts1.88 MB
the speed upload to Box is same as libcurl;
other cases: upload the file to http://speedtest.tele2.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\curl-7.57.0-win64-mingw\curl-7.57.0-wi
n64-mingw\bin>curl -X POST --proxy http://127.0.0.1:3213 http://speedtest.tele2
.net --data-binary @ABServer.exe -o result.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91.3M 0 8140 100 91.3M 542 6238k 0:00:15 0:00:15 --:--:-- 11.6M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~curl-7.57.0-win64-mingw\curl-7.57.0-wi
n64-mingw\bin>curl -X POST http://speedtest.tele2.net --data-binary @ABServer.e
xe -o result.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91.3M 0 8141 100 91.3M 29 335k 0:04:39 0:04:39 --:--:-- 317k
--------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-03