[webkit-help] Network performance in webkit-cairo port

Chris Hatko chatko at gmail.com
Sat Nov 10 05:42:15 PST 2012


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
<contact at yannickpoirier.fr>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 <chatko at gmail.com> 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
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo/webkit-help
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20121110/6f99a773/attachment.html>


More information about the webkit-help mailing list