Note that if you use RHEL7&#x2F;CentOS7, that CURL itself might be the bottleneck (or versions of curl around 7.29)<p>They basically decided to make the polling in CURL a blocking delay, simply waiting 150ms between attempts for things like fetching DNS, if it misses the first window, it waits another 150ms, etc.<p>So a 1ms DNS request from the local dns resolver might take 300ms+<p><a href="https:&#x2F;&#x2F;ckon.wordpress.com&#x2F;curl-broken-centos7-rhel7" rel="nofollow">https:&#x2F;&#x2F;ckon.wordpress.com&#x2F;curl-broken-centos7-rhel7</a><p>The most easy way you can solve this is by using the binary-compatible RPMs of CURL from fedora 19 which were further patched by Redhat.<p>Otherwise you officially have to wait for RHEL 7.2 &#x2F; CentOS 7.2 at the end of this year:<p><a href="https:&#x2F;&#x2F;access.redhat.com&#x2F;documentation&#x2F;en-US&#x2F;Red_Hat_Enterprise_Linux&#x2F;7-Beta&#x2F;html&#x2F;7.2_Release_Notes&#x2F;compiler_and_tools.html#idm4030944" rel="nofollow">https:&#x2F;&#x2F;access.redhat.com&#x2F;documentation&#x2F;en-US&#x2F;Red_Hat_Enterp...</a><p><a href="https:&#x2F;&#x2F;bugzilla.redhat.com&#x2F;show_bug.cgi?id=1130239" rel="nofollow">https:&#x2F;&#x2F;bugzilla.redhat.com&#x2F;show_bug.cgi?id=1130239</a><p><pre><code>     Improved wait times in libcurl
     Libcurl used an unnecessarily long blocking delay for actions with no active file descriptors, 
     even for short operations. This meant that some actions 
     (such as resolving a hostname using &#x2F;etc&#x2F;hosts) took an artificially long time to complete. 
     The blocking code in libcurl has now been modified so that the initial delay is short, 
     and gradually increases until an event returns. Fast libcurl operations now complete more quickly.</code></pre>