cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl/LibCurl compiled on OS X without --disable-ipv6 is really slow

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 24 Dec 2003 07:13:58 -0800

On Wed, Dec 24, 2003 at 02:47:40AM -0800, Jacob Swed wrote:
> > "without --disable-ipv6" mean?
> It means when running the Configure script we did not specify the
> --disable-ipv6 option.
>
> Unfortunately, our test servers are internal and our customers are
> accessing Microsoft Exchange with our products so that isn't an option
> either. However, any hostname will do, but a good example is actually
> to pass a non-existent IP address.
>
> Here are a couple example, in both cases latest Curl run from the cmd
> line. It was compiled and run on OS 10.2.8. Also, 192.168.1.234 does
> not exist on our network.
>
> With IPv6 Enabled:
> "https://www.frontrange.edu/index.cfm" name lookup took: 1.964 seconds
> "http://192.168.1.234" name lookup took: 22.632 seconds
>
> With IPv6 Disabled:
> "https://www.frontrange.edu/index.cfm" name lookup took: 0.003 seconds
> "http://192.168.1.234" name lookup took: 0.001 seconds

Did you try running your tests in the opposite order, i.e. running the
IPv6 disabled version first? Local name caching may be having an effect
on the results, making the second run appear faster.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-24