curl-library
how to determine optimal buffer size CURLOPT_BUFFERSIZE
From: zaheer ahmad <zaheer.mot_at_gmail.com>
Date: Wed, 15 Jul 2009 11:10:43 -0700
Date: Wed, 15 Jul 2009 11:10:43 -0700
hi all,Iam looking for
tweaking curl parameters that can improve the load times
As part of that, we are seeing load speed improvement when we increase the
buffersize from default 16K to ~128K and any increase there after starts
impacting the speed in a negative way.
iam looking for some inputs on
- how to determine the optimal value? are there known techniques like using
some sliding window?
- if the optimal value is dynamic, why is not taken care transparently in
curl
- why do we see a drop in performance after a peak increase in buffer size
- what factors would it depend on (network MTU, current network speed,
servers)
thanks in advance.
Zaheer
Received on 2009-07-15