Created attachment 1397055 [details]
Description of problem:
RHEL 7 curl packages perform more slowly due to differing calls made than an upstream package version compiled against openssl libraries.
Version-Release number of selected component (if applicable):
Any time the RHEL curl package is used.
Steps to Reproduce:
1. Install RHEL curl
2. Install upstream curl
3. Compare the calls made, and the time differences between the two packages returning.
RHEL curl not as highly performing as the custom compiled upstream version
RHEL curl to be as highly performing as the custom compiled upstream version
Business justification - Its is impacting our customers and the response times have increased. Ideally we want the libcurl shipped with RHEL to work optimally and i dont want to replace the system provided one with upstream one, as you know that poses lot of changes in managing servers that way in the long run.
Back to the issue, i ran few traces to see why the open source upstream is performing better. I see that RHEL shipped one is compiled against the NSS ssl libraries vs the open source i compiled against openssl libs. The additional time taken seems to be taken during NSS initialization or establishing connection phase. I am posting the traces here, let me know if you can make anything out of this and help me understand if there is an option to fix this using RHEL shipped curl.
Customer believes they have discovered the bug noted here from RHEL 6 in the RHEL 7 version of curl:
sosreport and strace to be attached
Created attachment 1397056 [details]
curl output showing nss involvement
Could you please try to export NSS_SDB_USE_CACHE=no and check whether it improves the performance in your testing scenario?
The customer has seen improvements in the following ways:
I have seen setting it to yes or no and saw improvements in both cases.
They had been interested in NSS_SDB_USE_CACHE=yes in the case and I had them try it, but they did not report the change in performance until today.
Thanks for confirmation! Reassigning to nss-softokn then...
Hello Kamil, what is your conclusion based on that experiment?