cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Difference in curl performance between RHEL6 and RHEL7

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Aug 2014 11:19:14 +0200 (CEST)

On Tue, 12 Aug 2014, Alastair Scobie wrote:

> We did notice that when using DNS names in the URL, curl forks off a process
> to do the name lookup and then poll()s. There's no such fork when using an
> IP address in the URL. The poll() timesout after a period of time - we
> suspect this is the cause of the delay.

> (FYI - RHEL6 curl is 7.19, RHEL7 curl is 7.29)

I believe this is simply because Redhat switched their build to the threaded
resolver and in 7.29.0 we switched some libcurl internals which made us have
that performance issue. I think this problem is solved in a more recent
libcurl version.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-12