[httperf] Query regarding the timeout option

Lucas Brasilino lucas.brasilino at gmail.com
Wed Oct 21 07:30:33 PDT 2009


Hi Martin

> I believe your second interpretation is correct, and that you will need to
> specify a timeout of 0.0625 to ensure that all four stages complete within
> 250ms (this assumes you are only issuing one call per connection).  If you
> are issuing multiple calls per connection, you will need to adjust your
> timeout value accordingly.

This behaviour should also be assumed  when using wsesslog workload
generator? I mean,
if a session accomplish 8 requests and I'd like a session timeout of 8
seconds, should I use
'--timeout 0.8' (connection establishment + 8 requests + close) ?

regards
Lucas Brasilino

> From: httperf-bounces at napali.hpl.hp.com
> [mailto:httperf-bounces at napali.hpl.hp.com] On Behalf Of Sharad Ganapathy
> Sent: Tuesday, October 20, 2009 11:56 PM
> To: httperf at napali.hpl.hp.com
> Subject: [httperf] Query regarding the timeout option
>
>
>
> Hello ,
>
> I have a query regarding the timeout option in httperf.  Is the timeout
> option -global , in the sense I would like to complete the call within 250
> ms , so should I specify the timeout as 0.250 or 0.06 .
>
> The doubt arises after I read the manual
>
> "         Specifies  the  amount of time X that httperf is willing to wait
>               for a server reaction.  The timeout is specified in seconds
> and
>               can  be a fractional number (e.g., --timeout 3.5).
>
>   Doubt arises here
>
>               This timeout
>               value is used when establishing a TCP connection, when sending
> a
>               request,  when  waiting for a reply, and when receiving a
> reply.
>               If during any of those activities a request fails to  make
> for-
>               ward  progress  within  the  alloted time, httperf considers
> the
>               request to have died, closes the associated connection  or
> ses-
>               sion  and  increases  the  client-timo  error count.
> "
>
> Does this mean the timeout value is used for each of the sections . Eg : 250
> ms for establishing a connection, 250 ms for sending a request , 250 ms for
> recieving a response etc.
>
> Please help in clarifying the doubt
>
> Thanks
>
> Sharad
>
> _______________________________________________
> httperf mailing list
> httperf at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/
>



More information about the httperf mailing list