Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
CPU usage since 8.7.1
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Gleb Smirnoff via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 28 Oct 2025 09:17:58 -0700
Hi,
I'd like to raise the issue with increased CPU usage since 8.7.1. This was
first reported in May 2024 soon after this release by my colleague David:
https://curl.se/mail/lib-2024-05/0023.html
In the email thread referenced above it seems that some people claim the
regression in CPU use not to be a regression and thus a request to get the CPU
efficiency of 8.6.0 to be a feature request rather than a bug report.
At Netflix we run a fleet of thousands of servers and we use curl to transfer
large amounts of data, thus we count CPU usage as it means power consumption
and the latter means costs. At our scale it is significant savings. Since
8.7.1 we were basically reverting db5c9f4f9 and part of ed09a99af. Due to this
part of curl being actively developed, we needed to rewrite the revert almost
on every second curl update. As of today "the revert" became an independent
patch. And of course maintaining it is burdensome.
I met Daniel at EuroBSDCon conference and we quickly chatted about that. Daniel
said that curl do cares about CPU consumption and not only about precision, so
something can be done here. So here I am raising this question. What needs to
be done to get CPU savings of 8.6.0 level and how can we help here?
Date: Tue, 28 Oct 2025 09:17:58 -0700
Hi,
I'd like to raise the issue with increased CPU usage since 8.7.1. This was
first reported in May 2024 soon after this release by my colleague David:
https://curl.se/mail/lib-2024-05/0023.html
In the email thread referenced above it seems that some people claim the
regression in CPU use not to be a regression and thus a request to get the CPU
efficiency of 8.6.0 to be a feature request rather than a bug report.
At Netflix we run a fleet of thousands of servers and we use curl to transfer
large amounts of data, thus we count CPU usage as it means power consumption
and the latter means costs. At our scale it is significant savings. Since
8.7.1 we were basically reverting db5c9f4f9 and part of ed09a99af. Due to this
part of curl being actively developed, we needed to rewrite the revert almost
on every second curl update. As of today "the revert" became an independent
patch. And of course maintaining it is burdensome.
I met Daniel at EuroBSDCon conference and we quickly chatted about that. Daniel
said that curl do cares about CPU consumption and not only about precision, so
something can be done here. So here I am raising this question. What needs to
be done to get CPU savings of 8.6.0 level and how can we help here?
-- Gleb Smirnoff -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-10-28