
{"id":5627,"date":"2011-08-25T11:58:12","date_gmt":"2011-08-25T11:58:12","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=5627"},"modified":"2011-08-25T11:58:12","modified_gmt":"2011-08-25T11:58:12","slug":"httperf-http-performance-measurement-tool","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/08\/25\/httperf-http-performance-measurement-tool\/","title":{"rendered":"httperf &#8211; HTTP performance measurement tool"},"content":{"rendered":"<p><a href=\"http:\/\/www.beautifulwork.org\/2011\/08\/24\/asp-net-and-debian-howto\/\">Connected From This<\/a><br \/>\n<\/p>\n<h5><u> A UNIX Command <\/u><\/h5>\n<pre>\n$httperf --hog --server www.youtube.com\nhttperf --hog --client=0\/1 --server=www.youtube.com --port=80 --uri=\/ --send-buffer=4096 --recv-buffer=16384 --num-conns=1 --num-calls=1\nMaximum connect burst length: 0\n\nTotal: connections 1 requests 1 replies 1 test-duration 0.787 s\n\nConnection rate: 1.3 conn\/s (787.4 ms\/conn, &lt;=1 concurrent connections)\nConnection time [ms]: min 787.4 avg 787.4 max 787.4 median 787.5 stddev 0.0\nConnection time [ms]: connect 33.0\nConnection length [replies\/conn]: 1.000\n\nRequest rate: 1.3 req\/s (787.4 ms\/req)\nRequest size [B]: 68.0\n\nReply rate [replies\/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)\nReply time [ms]: response 326.2 transfer 428.2\nReply size [B]: header 576.0 content 114914.0 footer 2.0 (total 115492.0)\nReply status: 1xx=0 2xx=1 3xx=0 4xx=0 5xx=0\n\nCPU time [s]: user 0.32 system 0.16 (user 40.1% system 19.8% total 59.9%)\nNet I\/O: 143.3 KB\/s (1.2*10^6 bps)\n\nErrors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0\nErrors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0\n$\n\n<\/pre>\n<pre>\n$httperf --hog --server www.beautifulwork.org\nhttperf --hog --client=0\/1 --server=www.beautifulwork.org --port=80 --uri=\/ --send-buffer=4096 --recv-buffer=16384 --num-conns=1 --num-calls=1\nMaximum connect burst length: 0\n\nTotal: connections 1 requests 1 replies 1 test-duration 0.818 s\n\nConnection rate: 1.2 conn\/s (818.4 ms\/conn, &lt;=1 concurrent connections)\nConnection time [ms]: min 818.4 avg 818.4 max 818.4 median 818.5 stddev 0.0\nConnection time [ms]: connect 60.2\nConnection length [replies\/conn]: 1.000\n\nRequest rate: 1.2 req\/s (818.4 ms\/req)\nRequest size [B]: 74.0\n\nReply rate [replies\/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)\nReply time [ms]: response 322.8 transfer 435.5\nReply size [B]: header 338.0 content 40114.0 footer 2.0 (total 40454.0)\nReply status: 1xx=0 2xx=1 3xx=0 4xx=0 5xx=0\n\nCPU time [s]: user 0.34 system 0.18 (user 42.0% system 21.5% total 63.5%)\nNet I\/O: 48.4 KB\/s (0.4*10^6 bps)\n\nErrors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0\nErrors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0\n$\n\n<\/pre>\n<p><\/p>\n<h5><u> UNIX Explanation <\/u><\/h5>\n<pre>\nhttperf is a tool  to measure web server performance.  It\nspeaks  the  HTTP  protocol  both  in  its  HTTP\/1.0  and\nHTTP\/1.1  flavors  and   offers  a  variety  of  workload\ngenerators.  While running, it keeps track of a number of\nperformance metrics  that are  summarized in the  form of\nstatistics that  are printed  at the end  of a  test run.\nThe  most basic  operation of  httperf is  to  generate a\nfixed number of HTTP GET requests and to measure how many\nreplies (responses) came back from the server and at what\nrate the responses arrived.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Connected From This A UNIX Command $httperf &#8211;hog &#8211;server www.youtube.com httperf &#8211;hog &#8211;client=0\/1 &#8211;server=www.youtube.com &#8211;port=80 &#8211;uri=\/ &#8211;send-buffer=4096 &#8211;recv-buffer=16384 &#8211;num-conns=1 &#8211;num-calls=1 Maximum connect burst length: 0 Total: connections 1 requests 1 replies 1 test-duration 0.787 s Connection rate: 1.3 conn\/s (787.4 ms\/conn, &lt;=1 concurrent connections) Connection time [ms]: min 787.4 avg 787.4 max 787.4 median 787.5 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/08\/25\/httperf-http-performance-measurement-tool\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;httperf &#8211; HTTP performance measurement tool&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5627"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=5627"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/5627\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=5627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=5627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=5627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}