RE: High CPU Usage when using libcurl with c-ares

2020-06-22 Thread Daniel Stenberg via curl-library
On Mon, 22 Jun 2020, Dorit Mari wrote: We upgraded the version of libcurl we're working with to 7.70.0, and the problem persists. I'm sorry, but currently I can't produce a small example source code that reproduces the issue. I understand, but I hope you also understand that there's not a

RE: High CPU Usage when using libcurl with c-ares

2020-06-22 Thread Dorit Mari via curl-library
i Subject: Re: High CPU Usage when using libcurl with c-ares On Sun, 14 Jun 2020, Dorit Mari via curl-library wrote: > I use libcurl version 7.65.3. The OS is Linux. I always use > CURLOPT_RESOLVE ... > libcurl compiled without this flag (45% vs. 12%). Wow, that's seem super stran

Re: High CPU Usage when using libcurl with c-ares

2020-06-15 Thread Daniel Stenberg via curl-library
On Sun, 14 Jun 2020, Dorit Mari via curl-library wrote: I use libcurl version 7.65.3. The OS is Linux. I always use CURLOPT_RESOLVE ... libcurl compiled without this flag (45% vs. 12%). Wow, that's seem super strange. How on earth can the resolving code - that you don't even use - affect

High CPU Usage when using libcurl with c-ares

2020-06-14 Thread Dorit Mari via curl-library
Hi, I encountered a problem of high CPU usage when using libcurl with c-ares option. I'm using libcurl in a program for sending many HTTP requests in parallel (with a Multi handle). I use libcurl with libev, loosely based on the example in https://curl.haxx.se/libcurl/c/evhiperfifo.html. I use