Difference in curl performance between RHEL6 and RHEL7

Solution In Progress - Updated -

Issue

RHEL 7.0

How reproducible:

Use the "curl" command to fetch a non-existent page off a working HTTP server.

Steps to Reproduce:
1. Setup an HTTP server, say myserver.mydomain.org
2. time curl http://myserver.mydomain.org/non-existent-page.html

Actual results:

Running curl on an RHEL 6.4 box, the time taken by curl is ~10-20ms.
Running curl on an RHEL 7.0 box, the time taken by curl is ~150ms.

Expected results:

Time taken should be same under both OS releases.

Additional info:

This "bug" was reported to the Curl mailing list, and Daniel Stenberg suggested "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."

http://thread.gmane.org/gmane.comp.web.curl.general/14247

Currently being tracked on bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1130239

Environment

Red Hat Enterprise Linux (RHEL) 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content