Hi! I'm afraid it is hard to say what's going on without taking a look at actual implementation. Is it opensource?
If not - could you please provide `strace` output of your program execution? Cheers, Fedor. On Fri, Mar 21, 2014 at 10:20 PM, Damián Lezama <[email protected]> wrote: > Hi, > > I have a prototype that downloads multiple files at the same time with libuv > and libcurl. On my tests with very high bandwidth, the main loop thread gets > close to 100% CPU usage, while every thread pool thread is at about 20% or > 30%. If I run my prototype using the time command, I get very high system > time. If I remove the file system operations and just download and discard > the data, the CPU usage is very low and libcurl and libuv do a great job. > What may be going on here? > > Thanks, > Damian > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
