cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Name lookup/DNS resolution mechanism of libcurl

From: Guenter <lists_at_gknw.net>
Date: Mon, 01 Apr 2013 14:06:42 +0200

Hi Michael,
On 01.04.2013 12:37, Michael-O wrote:
>>> As a side note: when running the configure script in cygwin either for
>>> curl or c-ares the script hangs on "checking types of args and return
>>> type for recvfrom..." [1]
>
> Though my machine is quite old, the script runs in a decent time except
> that test. I really think that this is the same problem as with the DNS
> resolver.
I doubt this since AFAICT configure doesnt make any tests over the
network ...
but: this test is by far really the slowest of all configure tests;
I've just tested on an older box (old Cygwin on W2K3r2, P4 2.8GHz 2GB
RAM) and this test took over 180 seconds; the whole configure run took:

time ./configure
[snip]
real 22m27.235s
user 0m46.476s
sys 2m41.462s

then I just tested on a more modern box (recent SuSE Linux, AMD Phenom
II X4 965 8GB RAM) and even there this test took ~20 seconds where all
other tests took only fracts of seconds - so here the recvfrom test took
~35% of the whole time configure needed:

time ./configure
[snip]
real 0m58.441s
user 0m26.424s
sys 0m24.257s

Gün.

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