cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Multithreading Problems (CentOS 5.1)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Jun 2008 22:32:19 +0200 (CEST)
On Thu, 19 Jun 2008, Nick George wrote:
> I'm writing a small web server benchmarking app that attempts to send many
Using c-ares? What libcurl version? Which Linux kernel?
> All is well for up to about 50 threads, but even then I notice that the time required for the threads to complete increases exponentially.
This is quite surprising results. I've not seen any clear measurements on this
I don't even know what libcurl _could_ do to cause such delays!
> I ran "strace" over the program and found that it pauses for long periods
The library is written single-threaded and uses no mutexes nor locks (unless
Those futex things are rather used by system functions that perhaps fight for
-- / daniel.haxx.seReceived on 2008-06-19
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info