Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created August 27, 2012 10:30
Show Gist options
  • Save wolfeidau/3487288 to your computer and use it in GitHub Desktop.
Save wolfeidau/3487288 to your computer and use it in GitHub Desktop.
Some testing via httperf
$ httperf --hog --server=165.225.144.167 --wsess=10,5,2 --rate=1 --timeout=5
httperf --hog --timeout=5 --client=0/1 --server=165.225.144.167 --port=80 --uri=/ --rate=1 --send-buffer=4096 --recv-buffer=16384 --wsess=10,5,2.000
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1
Total: connections 10 requests 50 replies 50 test-duration 18.373 s
Connection rate: 0.5 conn/s (1837.3 ms/conn, <=10 concurrent connections)
Connection time [ms]: min 9343.0 avg 9463.5 max 9586.1 median 9445.5 stddev 91.0
Connection time [ms]: connect 255.0
Connection length [replies/conn]: 5.000
Request rate: 2.7 req/s (367.5 ms/req)
Request size [B]: 68.0
Reply rate [replies/s]: min 1.6 avg 2.9 max 4.0 stddev 1.2 (3 samples)
Reply time [ms]: response 241.4 transfer 0.0
Reply size [B]: header 108.0 content 13.0 footer 2.0 (total 123.0)
Reply status: 1xx=0 2xx=50 3xx=0 4xx=0 5xx=0
CPU time [s]: user 3.36 system 15.01 (user 18.3% system 81.7% total 100.0%)
Net I/O: 0.5 KB/s (0.0*10^6 bps)
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
Session rate [sess/s]: min 0.00 avg 0.54 max 1.00 stddev 0.53 (10/10)
Session: avg 1.00 connections/session
Session lifetime [s]: 9.5
Session failtime [s]: 0.0
Session length histogram: 0 0 0 0 0 10
$ httperf --hog --server=wolfe.id.au --wsess=10,5,2 --rate=1 --timeout=5
httperf --hog --timeout=5 --client=0/1 --server=wolfe.id.au --port=80 --uri=/ --rate=1 --send-buffer=4096 --recv-buffer=16384 --wsess=10,5,2.000
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 2
Total: connections 10 requests 50 replies 50 test-duration 24.619 s
Connection rate: 0.4 conn/s (2461.9 ms/conn, <=10 concurrent connections)
Connection time [ms]: min 15354.8 avg 15728.5 max 16936.6 median 15590.5 stddev 466.3
Connection time [ms]: connect 632.2
Connection length [replies/conn]: 5.000
Request rate: 2.0 req/s (492.4 ms/req)
Request size [B]: 64.0
Reply rate [replies/s]: min 0.6 avg 2.2 max 3.2 stddev 1.1 (4 samples)
Reply time [ms]: response 464.9 transfer 954.2
Reply size [B]: header 320.0 content 40421.0 footer 0.0 (total 40741.0)
Reply status: 1xx=0 2xx=50 3xx=0 4xx=0 5xx=0
CPU time [s]: user 2.94 system 20.34 (user 12.0% system 82.6% total 94.6%)
Net I/O: 80.9 KB/s (0.7*10^6 bps)
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
Session rate [sess/s]: min 0.00 avg 0.41 max 1.00 stddev 0.50 (10/10)
Session: avg 1.00 connections/session
Session lifetime [s]: 15.7
Session failtime [s]: 0.0
Session length histogram: 0 0 0 0 0 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment