Re: Curl's network performance is slower than IDM.

2020-06-20 Thread Hongyi Zhao via curl-library
Hongyi Zhao 于2020年6月20日周六 上午8:40写道: > > > > Patrick Schlangen 于2020年6月19日周五 上午4:31写道: >> >> Hi, >> >> interesting thread. >> >> Am 18.06.2020 um 12:09 schrieb Daniel Stenberg via curl-library >> : >> >> The question is then of course still what IDM does that makes it that much >> faster or

Re: Curl's network performance is slower than IDM.

2020-06-19 Thread Hongyi Zhao via curl-library
Patrick Schlangen 于2020年6月19日周五 上午4:31写道: > Hi, > > interesting thread. > > Am 18.06.2020 um 12:09 schrieb Daniel Stenberg via curl-library < > curl-library@cool.haxx.se>: > > The question is then of course still what IDM does that makes it that much > faster or perhaps what curl should do to

Re: Curl's network performance is slower than IDM.

2020-06-19 Thread Daniel Stenberg via curl-library
On Fri, 19 Jun 2020, Hongyi Zhao wrote: Another consideration came to my mind the speed computation method used in two tools. In detail: speed = downloaded_bytes / time_duration Showing download speed is somewhat more complicated than so. For example, imagine a download that goes like

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Hongyi Zhao via curl-library
Hongyi Zhao 于2020年6月19日周五 上午7:28写道: > > Daniel Stenberg 于2020年6月19日周五 上午5:30写道: > > > > On Thu, 18 Jun 2020, Patrick Schlangen wrote: > > > > > Interestingly, IDM showed max 13.5 MB/s with an average total download > > > time > > > of 93 seconds, while curl showed max 12.0 MB/s and took 86

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月19日周五 上午5:30写道: > > On Thu, 18 Jun 2020, Patrick Schlangen wrote: > > > Interestingly, IDM showed max 13.5 MB/s with an average total download time > > of 93 seconds, while curl showed max 12.0 MB/s and took 86 seconds for the > > same file on average. So actually curl was

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Daniel Stenberg via curl-library
On Thu, 18 Jun 2020, Patrick Schlangen wrote: Interestingly, IDM showed max 13.5 MB/s with an average total download time of 93 seconds, while curl showed max 12.0 MB/s and took 86 seconds for the same file on average. So actually curl was faster but displayed the lower max transfer rate.

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Daniel Stenberg via curl-library
On Thu, 18 Jun 2020, Hongyi Zhao wrote: (I've removed curl-users as a receiver, let's stick to the curl-library list.) No, wget and curl give similar results. OTOH, wget has fewer features than curl, say, socks5 proxy supporting, so, I rarely use it. When we compare transfer speeds, I don't

Re: Curl's network performance is slower than IDM.

2020-06-17 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月17日周三 下午10:58写道: > > On Tue, 16 Jun 2020, Hongyi Zhao wrote: > > > the IDM latest version is run from within wine [1] git master version > > compiled by myself on Ubuntu 20.04. > > Oh ok, wow. > > > the results is the same: IDM beats curl. > > Presumably also by a very

Re: Curl's network performance is slower than IDM.

2020-06-17 Thread Daniel Stenberg via curl-library
On Tue, 16 Jun 2020, Hongyi Zhao wrote: the IDM latest version is run from within wine [1] git master version compiled by myself on Ubuntu 20.04. Oh ok, wow. the results is the same: IDM beats curl. Presumably also by a very large margin? BTW, if curl is slow then surely you could also

Re: Curl's network performance is slower than IDM.

2020-06-16 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 下午10:50写道: > > On Tue, 16 Jun 2020, Hongyi Zhao wrote: > > >> Are these transfer speeds somewhat stable and reliable in repeated tests? > > > > I've conducted several tests at different times against this URL using both > > curl and IDM, though the speeds may vary

Re: Curl's network performance is slower than IDM.

2020-06-16 Thread Daniel Stenberg via curl-library
On Tue, 16 Jun 2020, Hongyi Zhao wrote: Are these transfer speeds somewhat stable and reliable in repeated tests? I've conducted several tests at different times against this URL using both curl and IDM, though the speeds may vary each time, IDM always beats curl. The huge difference is

Re: Curl's network performance is slower than IDM.

2020-06-15 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 上午5:44写道: > > On Sun, 14 Jun 2020, Hongyi Zhao via curl-users wrote: > > > On Ubuntu 20.04 > > I presume that's curl 7.68.0 ? > > > $ curl -L -x socks5h://127.0.0.1:10119 > > http://speedtest-ny.turnkeyinternet.net/1000mb.bin >/dev/null > > % Total% Received %

Re: Curl's network performance is slower than IDM.

2020-06-15 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 上午5:44写道: > > On Sun, 14 Jun 2020, Hongyi Zhao via curl-users wrote: > > > On Ubuntu 20.04 > > I presume that's curl 7.68.0 ? $ curl --version curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0

Re: Curl's network performance is slower than IDM.

2020-06-15 Thread Daniel Stenberg via curl-library
On Sun, 14 Jun 2020, Hongyi Zhao via curl-users wrote: On Ubuntu 20.04 I presume that's curl 7.68.0 ? $ curl -L -x socks5h://127.0.0.1:10119 http://speedtest-ny.turnkeyinternet.net/1000mb.bin >/dev/null % Total% Received % Xferd Average Speed TimeTime Time Current

Curl's network performance is slower than IDM.

2020-06-13 Thread Hongyi Zhao via curl-library
Hi, On Ubuntu 20.04, I tested the network performance with curl and IDM (https://www.internetdownloadmanager.com/) running within wine for comparison. The testings are based on the same file through the same local socks5 proxy using the proxy dns method. For IDM, the downloading is done with one