curl-users
Re: Difference in curl performance between RHEL6 and RHEL7
From: Alex Bligh <alex_at_alex.org.uk>
Date: Tue, 12 Aug 2014 10:14:27 +0100
Date: Tue, 12 Aug 2014 10:14:27 +0100
On 12 Aug 2014, at 10:05, Alastair Scobie <ascobie_at_ed.ac.uk> 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.
What does 'strace -tt -T -f curl ...' show?
It may be that RHEL's resolver library is slower.
-- Alex Bligh ------------------------------------------------------------------- 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.htmlReceived on 2014-08-12