Skip to content

Instantly share code, notes, and snippets.

@normanmaurer
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save normanmaurer/9325649 to your computer and use it in GitHub Desktop.

Select an option

Save normanmaurer/9325649 to your computer and use it in GitHub Desktop.
non thread local cache:
http://snag.gy/mKnnT.jpg
[nmaurer@mouth]~% wrk/wrk -H 'Host: localhost' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Connection: keep-alive' -d 600 -c 256 -t 16 --pipeline 256 http://192.168.123.24:8080/plaintext
Running 10m test @ http://192.168.123.24:8080/plaintext
16 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 302.75ms 519.32ms 1.64s 77.30%
Req/Sec 137.23k 77.77k 241.56k 73.61%
1315609856 requests in 10.01m, 177.66GB read
Socket errors: connect 0, read 40625, write 16383055, timeout 17408
Requests/sec: 2191498.29
Transfer/sec: 303.05MB
thread local cache
http://snag.gy/3NRZ4.jpg
[nmaurer@mouth]~% wrk/wrk -H 'Host: localhost' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Connection: keep-alive' -d 600 -c 256 -t 16 --pipeline 256 http://192.168.123.24:8080/plaintext
Running 10m test @ http://192.168.123.24:8080/plaintext
16 threads and 256 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 23.32ms 39.54ms 1.14s 97.56%
Req/Sec 190.20k 27.41k 276.36k 70.36%
1822305097 requests in 10.00m, 246.09GB read
Requests/sec: 3037256.01
Transfer/sec: 420.00MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment