[httperf] Server response hangs until timeout
tom.galvin at hp.com
Wed Feb 15 04:03:25 PST 2012
I am looking into using httperf to profile the Openstack API server.
I have been able to run httperf on an (over) simplified ping-pong
example but run into problems hen a GET request is run against the API
httperf --server x.x.x.x --port=8774 --client=0/1 --uri
/v1.1/myproject/servers/detail?fresh=1329234243.33 --hog --method GET
--add-header "X-Auth-Project-Id: myproject\nUser-Agent:
python-novaclient\nX-Auth-Token: XXXXXXXXXXX" --rate 1 --num-conns=1
--timeout=5 --num-calls=1 --recv-buffer=4096 --verbose
Tailing the logs I see the request gets processed by the server, but
only after the timeout is breached.
Hence I get the reported Errors:
Errors: total 1 client-timo 1 socket-timo 0 connrefused 0 connreset 0
Similarly Wireshark shows the GET request immediately but the reply
doesn't show until after the timeout.
Thanks for your help
More information about the httperf