That basically means that you are asking for a new feature (i.e. build option 
etc), which would allow you to sacrifice speed limit precision but will limit 
CPU usage during throttling.

For my use cases, it is not an option I would like to use – I need to have a 
quite precise speed limit for my application (which both 8.7.1 and 7.84 
provide) and somewhat higher CPU usage price for a precision is not an issue 
for me.

Thanks,
Dmitry Karpov


From: curl-library <curl-library-boun...@lists.haxx.se> On Behalf Of David 
Pfitzner via curl-library
Sent: Thursday, June 20, 2024 1:00 AM
To: libcurl development <curl-library@lists.haxx.se>
Cc: David Pfitzner <dpfitz...@netflix.com>
Subject: [EXTERNAL] Re: Increase in CPU usage in 8.7.1 vs 8.6.0 for 
rate-limited downloads



On Thu, May 16, 2024 at 4:57 AM Dmitry Karpov via curl-library 
<curl-library@lists.haxx.se<mailto:curl-library@lists.haxx.se>> wrote:

I think that CPU usage with this commit should be compared to previous 
releases, like 7.84.0, which had a quite precise speed limit.

I had a look at curl version 7.84.0, and indeed it does appear very similar to 
8.7.1, both in terms of rate-limiting accuracy and CPU usage. But that does not 
change that I would ideally like more control over the tradeoff between CPU 
usage and rate-limiting accuracy.

-- David
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to