Re: Improve cpu utilization

2021-03-25 Thread Daniel Stenberg via curl-library
On Thu, 25 Mar 2021, Nikos Dragazis via curl-library wrote: and we have seen that 1/4 of the overall cpu utilization comes from libcurl's `poll(2)` system calls. Specifically, the code paths to blame are: * `easy_transfer()` -> `curl_multi_poll()` -> `multi_wait()` -> `Curl_poll()` * `Curl_read

Improve cpu utilization

2021-03-25 Thread Nikos Dragazis via curl-library
Hi all, While investigating the cpu utilization of our software, we believe that we have spotted some inefficiencies in libcurl. Specifically, we have seen that libcurl is issuing a lot of `poll(2)` system calls and this increases the overall cpu utilization. Here is some more context: We are u