Re: How do I set send and recv buffers using curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-08-27 06:05:24
|
Hi Paddy On Wed, Aug 26, 2009 at 8:55 PM, Paddy Ganti <pad...@gm...> wrote: > I am new to curl-loader coming from the world of httperf.I am assuming that > the default receive buffer is set via CURL_MAX_WRITE_SIZE to 16384 . > > In httperf, I can set the socket receive buffer size([--recv-buffer N] > [--send-buffer N) but couldnt glean such information from the README/FAQ of > curl-loader > > Any idea on how to go about setting these sizes? > > Thanks > -Paddy > I have no idea about httpperf, but may be other users have some experience. Neither we nor libcurl (the HTTP stack) are playing with socket default buffers at linux. There is no point in playing with them for a web-client. CURL_MAX_WRITE_SIZE impacts the advertised client window in TCP. When it is 16K - it will be 16K, when 32K - 32K. You can change the client window size by playing with this parameter in Makefile, whereas I have doubts, whether it has a serious performance impact, but may be with some rare web-servers. Take care! -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |