Thanks Yannick, Tightening the download loop gave me a 4 fold increase in throughput :) Didn't notice any immediate drawbacks.
Specifically adjusting pollTimeSeconds Chris On Fri, Nov 9, 2012 at 4:40 PM, Yannick Poirier <[email protected]>wrote: > Hi Chris, > > Actually the poll time and select time are a bit too high. > > By default curl writes chunk of 16 KB ( CURL_MAX_WRITE_SIZE ), pool time > is 0.05s > 16KB / 0.05s = 320KB > So you might not be able to download a single file faster than 320KB/s > > You can try to decrease selectTimeoutMS or pollTimeSeconds in > curl/ResourceHandleManager.cpp to have a more aggressive download loop. > > Yannick > > On 9 November 2012 18:37, Chris Hatko <[email protected]> wrote: > >> I've noticed some big difference in network speed (esp download speed) >> between my default browser (Chrome) and windows webkit-cairo port. >> Specifically: >> >> Using Chrome >> Download Speed: *31611* kbps (3951.4 KB/sec transfer rate) >> Upload Speed: *3102* kbps (387.8 KB/sec transfer rate) >> >> Using Webkit Cairo (lib curl) >> Download Speed: *5199* kbps (649.9KB/sec transfer rate) >> Upload Speed: *2743 *kbps (342.9KB/sec transfer rate) >> >> I'm digging around in the libcurl setopts and wondering if anyone has any >> ideas/experience on how to speeding-up Cairo's networking. >> >> Thanks, >> >> Chris >> >> >> >> _______________________________________________ >> webkit-help mailing list >> [email protected] >> http://lists.webkit.org/mailman/listinfo/webkit-help >> >> >
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-help
