Skip to content

Instantly share code, notes, and snippets.

@zombor
Created September 12, 2012 02:42
Show Gist options
  • Save zombor/3703915 to your computer and use it in GitHub Desktop.
Save zombor/3703915 to your computer and use it in GitHub Desktop.
Benchmarks
-> % httperf --server=localhost --rate=1000 --num-conns=10000 --port 8081
httperf --client=0/1 --server=localhost --port=8081 --uri=/ --rate=1000 --send-buffer=4096 --recv-buffer=16384 --num-conns=10000 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 2
Total: connections 1573 requests 1573 replies 1352 test-duration 33.777 s
Connection rate: 46.6 conn/s (21.5 ms/conn, <=1022 concurrent connections)
Connection time [ms]: min 24.2 avg 12044.1 max 32692.9 median 5362.5 stddev 11001.5
Connection time [ms]: connect 9472.6
Connection length [replies/conn]: 1.000
Request rate: 46.6 req/s (21.5 ms/req)
Request size [B]: 62.0
Reply rate [replies/s]: min 17.0 avg 40.2 max 56.0 stddev 14.5 (6 samples)
Reply time [ms]: response 3468.5 transfer 0.9
Reply size [B]: header 132.0 content 1561.0 footer 0.0 (total 1693.0)
Reply status: 1xx=0 2xx=1352 3xx=0 4xx=0 5xx=0
CPU time [s]: user 0.19 system 33.47 (user 0.6% system 99.1% total 99.7%)
Net I/O: 69.0 KB/s (0.6*10^6 bps)
Errors: total 8648 client-timo 0 socket-timo 0 connrefused 0 connreset 221
Errors: fd-unavail 8427 addrunavail 0 ftab-full 0 other 0
-> % httperf --server=localhost --rate=1000 --num-conns=10000 --port 6767
httperf --client=0/1 --server=localhost --port=6767 --uri=/ --rate=1000 --send-buffer=4096 --recv-buffer=16384 --num-conns=10000 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1
Total: connections 10000 requests 10000 replies 10000 test-duration 9.999 s
Connection rate: 1000.1 conn/s (1.0 ms/conn, <=2 concurrent connections)
Connection time [ms]: min 0.2 avg 0.2 max 1.7 median 0.5 stddev 0.0
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 1.000
Request rate: 1000.1 req/s (1.0 ms/req)
Request size [B]: 62.0
Reply rate [replies/s]: min 1000.1 avg 1000.1 max 1000.1 stddev 0.0 (1 samples)
Reply time [ms]: response 0.2 transfer 0.0
Reply size [B]: header 39.0 content 46.0 footer 0.0 (total 85.0)
Reply status: 1xx=0 2xx=10000 3xx=0 4xx=0 5xx=0
CPU time [s]: user 1.52 system 8.45 (user 15.2% system 84.5% total 99.7%)
Net I/O: 143.6 KB/s (1.2*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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment