Performance benchmark: nuster vs nginx vs varnish

This is a simple benchmark comparing the cache performance of nuster, nginx and varnish.

I tested the RPS(Request per second) of three cache servers by wrk.

The test shown that nuster is almost three times faster than nginx when both using single core,

and nearly two times faster than nginx and three times faster than varnish when using all cores.

Here is the result when request /helloworld URL containing hello world data.

data sizeCONNnuster, 1corenuster, 12coresnginx, 1corenginx, 12coresvarnishsquid
12(hello world)1000953593570133345421421713309480010

For those super impatient, you can see the full results here

squid test is here

Any parameter tuning suggestions are welcomed!

Testing environment

Server

Two linux servers are used, an origin web server on server129,and cache servers nuster/nginx/varnish on server130.

Serverportapp
10.0.0.129wrk
10.0.0.1298080nginx, origin web server
10.0.0.130wrk
10.0.0.1308080nuster, 1 core
10.0.0.1308081nuster, all cores
10.0.0.1308082nginx, 1 core
10.0.0.1308083nginx, all cores
10.0.0.1308084varnish, all cores

origin web server: set server_tokens off; to make http header server same.

Hardware

  • Intel(R) Xeon(R) CPU X5650 @ 2.67GHz(12 cores)
  • RAM 32GB
  • 1Gbps ethernet card

Software

  • CentOS: 7.4.1708 (Core)
  • wrk: 4.0.2-2-g91655b5
  • varnish: (varnish-4.1.8 revision d266ac5c6)
  • nginx: nginx/1.12.2
  • nuster: nuster/1.7.9.1

System settings

/etc/sysctl.conf

  1. fs.file-max = 9999999
  2. fs.nr_open = 9999999
  3. net.core.netdev_max_backlog = 4096
  4. net.core.rmem_max = 16777216
  5. net.core.somaxconn = 65535
  6. net.core.wmem_max = 16777216
  7. net.ipv4.ip_forward = 0
  8. net.ipv4.ip_local_port_range = 1025 65535
  9. net.ipv4.tcp_fin_timeout = 30
  10. net.ipv4.tcp_keepalive_time = 30
  11. net.ipv4.tcp_max_syn_backlog = 20480
  12. net.ipv4.tcp_max_tw_buckets = 400000
  13. net.ipv4.tcp_no_metrics_save = 1
  14. net.ipv4.tcp_syn_retries = 2
  15. net.ipv4.tcp_synack_retries = 2
  16. net.ipv4.tcp_tw_recycle = 1
  17. net.ipv4.tcp_tw_reuse = 1
  18. net.ipv4.tcp_timestamps = 1
  19. vm.min_free_kbytes = 65536
  20. vm.overcommit_memory = 1

/etc/security/limits.conf

  1. * soft nofile 1000000
  2. * hard nofile 1000000
  3. * soft nproc 1000000
  4. * hard nproc 1000000

Config files

nuster, 1 core

  1. global
  2. maxconn 1000000
  3. # use `nuster cache on data-size 1g` if you are using a newer version
  4. cache on data-size 1g
  5. daemon
  6. tune.maxaccept -1
  7. defaults
  8. retries 3
  9. maxconn 1000000
  10. option redispatch
  11. option dontlognull
  12. timeout client 300s
  13. timeout connect 300s
  14. timeout server 300s
  15. http-reuse always
  16. frontend web1
  17. bind *:8080
  18. mode http
  19. # haproxy removes connection header in HTTP/1.1 while nginx/varnish dont
  20. # add this to make headers same size
  21. http-response add-header Connectio1 keep-aliv1
  22. default_backend app1
  23. backend app1
  24. balance roundrobin
  25. mode http
  26. # if you are using a newer version, use:
  27. # `nuster cache on'
  28. # `nuster rule all ttl 0`
  29. filter cache on
  30. cache-rule all ttl 0
  31. server a2 10.0.0.129:8080

nuster, all cores

  1. global
  2. maxconn 1000000
  3. # use `nuster cache on data-size 1g` if you are using a newer version
  4. cache on data-size 1g
  5. daemon
  6. nbproc 12
  7. tune.maxaccept -1
  8. defaults
  9. retries 3
  10. maxconn 1000000
  11. option redispatch
  12. option dontlognull
  13. timeout client 300s
  14. timeout connect 300s
  15. timeout server 300s
  16. http-reuse always
  17. frontend web1
  18. bind *:8081
  19. mode http
  20. http-response add-header Connectio1 keep-aliv1
  21. default_backend app1
  22. backend app1
  23. balance roundrobin
  24. mode http
  25. # if you are using a newer version, use:
  26. # `nuster cache on'
  27. # `nuster rule all ttl 0`
  28. filter cache on
  29. cache-rule all ttl 0
  30. server a2 10.0.0.129:8080

nginx, 1 core

  1. user nginx;
  2. worker_processes 1;
  3. worker_rlimit_nofile 1000000;
  4. error_log /var/log/nginx/error1.log warn;
  5. pid /var/run/nginx1.pid;
  6. events {
  7. worker_connections 1000000;
  8. use epoll;
  9. multi_accept on;
  10. }
  11. http {
  12. include /etc/nginx/mime.types;
  13. default_type application/octet-stream;
  14. access_log off;
  15. sendfile on;
  16. server_tokens off;
  17. keepalive_timeout 300;
  18. keepalive_requests 100000;
  19. tcp_nopush on;
  20. tcp_nodelay on;
  21. client_body_buffer_size 128k;
  22. client_header_buffer_size 1m;
  23. large_client_header_buffers 4 4k;
  24. output_buffers 1 32k;
  25. postpone_output 1460;
  26. open_file_cache max=200000 inactive=20s;
  27. open_file_cache_valid 30s;
  28. open_file_cache_min_uses 2;
  29. open_file_cache_errors on;
  30. proxy_cache_path /tmp/cache levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;
  31. server {
  32. listen 8082;
  33. location / {
  34. proxy_pass http://10.0.0.129:8080/;
  35. proxy_cache STATIC;
  36. proxy_cache_valid any 1d;
  37. }
  38. }
  39. }

nginx, all cores

  1. user nginx;
  2. worker_processes auto;
  3. worker_rlimit_nofile 1000000;
  4. error_log /var/log/nginx/errorall.log warn;
  5. pid /var/run/nginxall.pid;
  6. events {
  7. worker_connections 1000000;
  8. use epoll;
  9. multi_accept on;
  10. }
  11. http {
  12. include /etc/nginx/mime.types;
  13. default_type application/octet-stream;
  14. access_log off;
  15. sendfile on;
  16. server_tokens off;
  17. keepalive_timeout 300;
  18. keepalive_requests 100000;
  19. tcp_nopush on;
  20. tcp_nodelay on;
  21. client_body_buffer_size 128k;
  22. client_header_buffer_size 1m;
  23. large_client_header_buffers 4 4k;
  24. output_buffers 1 32k;
  25. postpone_output 1460;
  26. open_file_cache max=200000 inactive=20s;
  27. open_file_cache_valid 30s;
  28. open_file_cache_min_uses 2;
  29. open_file_cache_errors on;
  30. proxy_cache_path /tmp/cache_all levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;
  31. server {
  32. listen 8083;
  33. location / {
  34. proxy_pass http://10.0.0.129:8080/;
  35. proxy_cache STATIC;
  36. proxy_cache_valid any 1d;
  37. }
  38. }
  39. }

varnish

/etc/varnish/default.vcl

  1. vcl 4.0;
  2. backend default {
  3. .host = "10.0.0.129";
  4. .port = "8080";
  5. }
  6. sub vcl_recv {
  7. }
  8. sub vcl_backend_response {
  9. set beresp.ttl = 1d;
  10. }
  11. sub vcl_deliver {
  12. # remove these headers to make headers same
  13. unset resp.http.Via;
  14. unset resp.http.Age;
  15. unset resp.http.X-Varnish;
  16. }

/etc/varnish/varnish.params

  1. RELOAD_VCL=1
  2. VARNISH_VCL_CONF=/etc/varnish/default.vcl
  3. VARNISH_LISTEN_PORT=8084
  4. VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
  5. VARNISH_ADMIN_LISTEN_PORT=6082
  6. VARNISH_SECRET_FILE=/etc/varnish/secret
  7. VARNISH_STORAGE="malloc,1024M"
  8. VARNISH_USER=varnish
  9. VARNISH_GROUP=varnish

Check HTTP response header and data size

Make sure the header size is same.

Note that HAProxy removes Connection: Keep-Alive header when its HTTP/1.1while nginx/varnish do not, so I added Connectio1: keep-aliv1 to make the size same.

See nuster config file above

  1. # curl -is http://10.0.0.130:8080/helloworld
  2. HTTP/1.1 200 OK
  3. Server: nginx
  4. Date: Sun, 05 Nov 2017 07:58:02 GMT
  5. Content-Type: application/octet-stream
  6. Content-Length: 12
  7. Last-Modified: Thu, 26 Oct 2017 08:56:57 GMT
  8. ETag: "59f1a359-c"
  9. Accept-Ranges: bytes
  10. Connectio1: keep-aliv1
  11. Hello World
  12. # curl -is http://10.0.0.130:8080/helloworld | wc -c
  13. 255
  14. # curl -is http://10.0.0.130:8081/helloworld
  15. HTTP/1.1 200 OK
  16. Server: nginx
  17. Date: Sun, 05 Nov 2017 07:58:48 GMT
  18. Content-Type: application/octet-stream
  19. Content-Length: 12
  20. Last-Modified: Thu, 26 Oct 2017 08:56:57 GMT
  21. ETag: "59f1a359-c"
  22. Accept-Ranges: bytes
  23. Connectio1: keep-aliv1
  24. Hello World
  25. # curl -is http://10.0.0.130:8081/helloworld | wc -c
  26. 255
  27. # curl -is http://10.0.0.130:8082/helloworld
  28. HTTP/1.1 200 OK
  29. Server: nginx
  30. Date: Sun, 05 Nov 2017 07:59:24 GMT
  31. Content-Type: application/octet-stream
  32. Content-Length: 12
  33. Connection: keep-alive
  34. Last-Modified: Thu, 26 Oct 2017 08:56:57 GMT
  35. ETag: "59f1a359-c"
  36. Accept-Ranges: bytes
  37. Hello World
  38. # curl -is http://10.0.0.130:8082/helloworld | wc -c
  39. 255
  40. # curl -is http://10.0.0.130:8083/helloworld
  41. HTTP/1.1 200 OK
  42. Server: nginx
  43. Date: Sun, 05 Nov 2017 07:59:31 GMT
  44. Content-Type: application/octet-stream
  45. Content-Length: 12
  46. Connection: keep-alive
  47. Last-Modified: Thu, 26 Oct 2017 08:56:57 GMT
  48. ETag: "59f1a359-c"
  49. Accept-Ranges: bytes
  50. Hello World
  51. # curl -is http://10.0.0.130:8083/helloworld | wc -c
  52. 255
  53. # curl -is http://10.0.0.130:8084/helloworld
  54. HTTP/1.1 200 OK
  55. Server: nginx
  56. Date: Sun, 05 Nov 2017 08:00:05 GMT
  57. Content-Type: application/octet-stream
  58. Content-Length: 12
  59. Last-Modified: Thu, 26 Oct 2017 08:56:57 GMT
  60. ETag: "59f1a359-c"
  61. Accept-Ranges: bytes
  62. Connection: keep-alive
  63. Hello World
  64. # curl -is http://10.0.0.130:8084/helloworld | wc -c
  65. 255

Benchmark

  1. wrk -c CONN -d 30 -t 100 http://HOST:PORT/FILE

Results

RPS

wrk on server129, cache servers on server130, 1Gbps bandwidth

data sizeCONNnuster, 1corenuster, 12coresnginx, 1corenginx, 12coresvarnish
12(hello world)10009535935701333454214217133094
64bytes10009366730510333383215343124683
128bytes10008430426500436143215078128820
256bytes10009312320620735372209608132182
512bytes10008850514604236898146537129780
1k bytes10008932890866360349149787772
  • 1 core
    • did not reach the max bandwdith throughput
    • nuster is almost 3 times faster than nginx
  • 12 cores
    • reached the max throughput when requesting files bigger than 256bytes(see Raw output)
    • not reached: nuster is nearly 2 times faster than nginx and 3 times faster than varnish
    • reached: almost sameI did the test again with wrk on server130 using 127.0.0.1 since I do not have a 10Gbps network

wrk and cache servers on same host, server130, use 127.0.0.1

data sizeCONNnuster, 1corenuster, 12coresnginx, 1corenginx, 12coresvarnish
12(hello world)10007565521276930996136844115928
64bytes10007642520601630724136409108380
128bytes10007638920510930931135853107382
256bytes10007353919826430797135899107158
512bytes10007427920255430839135819107200
1k bytes10007050717476930823134808109379
12(hello world)500051561185230ERROR125309111711
64bytes500049981180164ERROR125238108115
128bytes500050603178029ERROR125181107825
256bytes500049655172111ERROR125268106837
512bytes500050629176659ERROR125118108167
1k bytes500051007150375ERROR125323107596
  • nuster is almost 2 times faster than nginx and varnish
  • error occurs with nginx-1core when the connections is 5000

Raw output

wrk on server129, helloworld

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/helloworld
  2. Running 30s test @ http://10.0.0.130:8080/helloworld
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 10.45ms 635.29us 35.45ms 93.73%
  6. Req/Sec 0.96k 89.66 3.75k 98.40%
  7. 2870302 requests in 30.10s, 698.02MB read
  8. Requests/sec: 95359.08
  9. Transfer/sec: 23.19MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/helloworld
  11. Running 30s test @ http://10.0.0.130:8081/helloworld
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 2.82ms 1.62ms 205.57ms 99.22%
  15. Req/Sec 3.59k 203.46 6.96k 73.75%
  16. 10745921 requests in 30.10s, 2.55GB read
  17. Requests/sec: 357013.95
  18. Transfer/sec: 86.82MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/helloworld
  20. Running 30s test @ http://10.0.0.130:8082/helloworld
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 29.83ms 1.11ms 40.37ms 92.38%
  24. Req/Sec 336.63 42.34 777.00 73.55%
  25. 1007003 requests in 30.10s, 244.89MB read
  26. Requests/sec: 33454.56
  27. Transfer/sec: 8.14MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/helloworld
  29. Running 30s test @ http://10.0.0.130:8083/helloworld
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 4.68ms 2.07ms 208.37ms 92.89%
  33. Req/Sec 2.15k 338.86 4.46k 75.22%
  34. 6447791 requests in 30.10s, 1.53GB read
  35. Requests/sec: 214217.54
  36. Transfer/sec: 52.09MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/helloworld
  38. Running 30s test @ http://10.0.0.130:8084/helloworld
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 1.40ms 0.93ms 244.42ms 92.23%
  42. Req/Sec 6.37k 1.72k 8.86k 80.98%
  43. 4004063 requests in 30.08s, 0.95GB read
  44. Requests/sec: 133094.01
  45. Transfer/sec: 32.37MB

wrk on server129, 64b

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/64b
  2. Running 30s test @ http://10.0.0.130:8080/64b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 10.63ms 776.50us 18.63ms 91.56%
  6. Req/Sec 0.94k 90.94 2.91k 90.92%
  7. 2819397 requests in 30.10s, 828.15MB read
  8. Requests/sec: 93667.14
  9. Transfer/sec: 27.51MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/64b
  11. Running 30s test @ http://10.0.0.130:8081/64b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 3.30ms 1.94ms 207.73ms 94.80%
  15. Req/Sec 3.07k 188.18 6.68k 71.76%
  16. 9183666 requests in 30.10s, 2.63GB read
  17. Requests/sec: 305103.34
  18. Transfer/sec: 89.62MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/64b
  20. Running 30s test @ http://10.0.0.130:8082/64b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 29.89ms 1.40ms 47.71ms 90.73%
  24. Req/Sec 336.04 46.16 808.00 71.42%
  25. 1004857 requests in 30.10s, 295.16MB read
  26. Requests/sec: 33383.63
  27. Transfer/sec: 9.81MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/64b
  29. Running 30s test @ http://10.0.0.130:8083/64b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 4.66ms 2.13ms 207.94ms 99.65%
  33. Req/Sec 2.16k 185.74 3.93k 71.71%
  34. 6481797 requests in 30.10s, 1.86GB read
  35. Requests/sec: 215343.12
  36. Transfer/sec: 63.25MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/64b
  38. Running 30s test @ http://10.0.0.130:8084/64b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 22.08ms 113.76ms 1.99s 98.06%
  42. Req/Sec 1.29k 276.86 10.05k 92.41%
  43. 3752974 requests in 30.10s, 1.08GB read
  44. Requests/sec: 124683.73
  45. Transfer/sec: 36.62MB

wrk on server129, 128b

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/128b
  2. Running 30s test @ http://10.0.0.130:8080/128b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 11.82ms 754.99us 19.68ms 89.25%
  6. Req/Sec 848.49 72.79 2.77k 95.76%
  7. 2537610 requests in 30.10s, 0.88GB read
  8. Requests/sec: 84304.97
  9. Transfer/sec: 29.99MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/128b
  11. Running 30s test @ http://10.0.0.130:8081/128b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 3.79ms 1.52ms 206.79ms 95.03%
  15. Req/Sec 2.66k 125.59 5.07k 72.31%
  16. 7976479 requests in 30.10s, 2.77GB read
  17. Requests/sec: 265004.46
  18. Transfer/sec: 94.27MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/128b
  20. Running 30s test @ http://10.0.0.130:8082/128b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 27.62ms 0.97ms 47.32ms 93.04%
  24. Req/Sec 363.76 44.41 690.00 71.64%
  25. 1087929 requests in 30.10s, 387.00MB read
  26. Requests/sec: 36143.90
  27. Transfer/sec: 12.86MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/128b
  29. Running 30s test @ http://10.0.0.130:8083/128b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 4.66ms 1.75ms 208.18ms 93.02%
  33. Req/Sec 2.16k 173.45 4.10k 68.28%
  34. 6473793 requests in 30.10s, 2.25GB read
  35. Requests/sec: 215078.69
  36. Transfer/sec: 76.51MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/128b
  38. Running 30s test @ http://10.0.0.130:8084/128b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 45.79ms 897.57ms 29.07s 99.72%
  42. Req/Sec 2.26k 761.86 7.94k 79.96%
  43. 3877405 requests in 30.10s, 1.35GB read
  44. Requests/sec: 128820.22
  45. Transfer/sec: 45.82MB

wrk on server129, 256b

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/256b
  2. Running 30s test @ http://10.0.0.130:8080/256b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 10.70ms 656.15us 24.10ms 90.77%
  6. Req/Sec 0.94k 98.06 4.29k 95.57%
  7. 2803012 requests in 30.10s, 1.31GB read
  8. Requests/sec: 93123.91
  9. Transfer/sec: 44.58MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/256b
  11. Running 30s test @ http://10.0.0.130:8081/256b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 4.87ms 1.83ms 209.39ms 86.08%
  15. Req/Sec 2.07k 177.87 6.00k 71.50%
  16. 6206761 requests in 30.10s, 2.90GB read
  17. Requests/sec: 206207.86
  18. Transfer/sec: 98.72MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/256b
  20. Running 30s test @ http://10.0.0.130:8082/256b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 28.21ms 1.35ms 259.75ms 93.45%
  24. Req/Sec 355.92 46.61 707.00 54.75%
  25. 1064712 requests in 30.10s, 509.73MB read
  26. Requests/sec: 35372.03
  27. Transfer/sec: 16.93MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/256b
  29. Running 30s test @ http://10.0.0.130:8083/256b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 4.79ms 2.21ms 208.01ms 96.04%
  33. Req/Sec 2.11k 249.18 4.33k 73.11%
  34. 6309154 requests in 30.10s, 2.95GB read
  35. Requests/sec: 209608.77
  36. Transfer/sec: 100.35MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/256b
  38. Running 30s test @ http://10.0.0.130:8084/256b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 1.43ms 1.21ms 239.27ms 96.83%
  42. Req/Sec 6.64k 1.14k 8.44k 84.66%
  43. 3975962 requests in 30.08s, 1.86GB read
  44. Requests/sec: 132182.92
  45. Transfer/sec: 63.28MB

wrk on server129, 512b

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/512b
  2. Running 30s test @ http://10.0.0.130:8080/512b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 11.27ms 716.99us 18.46ms 88.62%
  6. Req/Sec 0.89k 66.55 2.53k 84.66%
  7. 2663970 requests in 30.10s, 1.88GB read
  8. Requests/sec: 88505.68
  9. Transfer/sec: 63.98MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/512b
  11. Running 30s test @ http://10.0.0.130:8081/512b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 6.87ms 2.00ms 224.86ms 87.43%
  15. Req/Sec 1.47k 110.48 2.71k 72.79%
  16. 4395845 requests in 30.10s, 3.10GB read
  17. Requests/sec: 146042.73
  18. Transfer/sec: 105.57MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/512b
  20. Running 30s test @ http://10.0.0.130:8082/512b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 27.05ms 0.99ms 59.23ms 93.14%
  24. Req/Sec 371.30 42.48 700.00 75.83%
  25. 1110683 requests in 30.10s, 802.90MB read
  26. Requests/sec: 36898.79
  27. Transfer/sec: 26.67MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/512b
  29. Running 30s test @ http://10.0.0.130:8083/512b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 8.36ms 32.51ms 1.04s 99.68%
  33. Req/Sec 1.47k 78.34 3.22k 94.62%
  34. 4410778 requests in 30.10s, 3.11GB read
  35. Requests/sec: 146537.84
  36. Transfer/sec: 105.93MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/512b
  38. Running 30s test @ http://10.0.0.130:8084/512b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 3.48ms 2.69ms 136.19ms 93.69%
  42. Req/Sec 2.90k 448.61 5.71k 94.44%
  43. 3906041 requests in 30.10s, 2.76GB read
  44. Requests/sec: 129780.54
  45. Transfer/sec: 93.82MB

wrk on server129, 1k

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8080/1k
  2. Running 30s test @ http://10.0.0.130:8080/1k
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 11.18ms 1.71ms 25.56ms 81.47%
  6. Req/Sec 0.90k 62.44 1.84k 79.37%
  7. 2688770 requests in 30.10s, 3.18GB read
  8. Requests/sec: 89328.88
  9. Transfer/sec: 108.28MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8081/1k
  11. Running 30s test @ http://10.0.0.130:8081/1k
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 11.02ms 3.37ms 231.72ms 84.13%
  15. Req/Sec 0.91k 68.32 1.66k 73.12%
  16. 2735063 requests in 30.10s, 3.24GB read
  17. Requests/sec: 90866.76
  18. Transfer/sec: 110.14MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8082/1k
  20. Running 30s test @ http://10.0.0.130:8082/1k
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 27.70ms 1.04ms 42.43ms 93.16%
  24. Req/Sec 362.75 46.28 690.00 69.09%
  25. 1084674 requests in 30.10s, 1.28GB read
  26. Requests/sec: 36034.71
  27. Transfer/sec: 43.68MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8083/1k
  29. Running 30s test @ http://10.0.0.130:8083/1k
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 10.93ms 2.15ms 213.03ms 91.34%
  33. Req/Sec 0.92k 42.99 2.22k 87.90%
  34. 2754065 requests in 30.10s, 3.26GB read
  35. Requests/sec: 91497.37
  36. Transfer/sec: 110.91MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.130:8084/1k
  38. Running 30s test @ http://10.0.0.130:8084/1k
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 15.23ms 35.11ms 393.24ms 96.81%
  42. Req/Sec 0.92k 302.64 3.45k 83.29%
  43. 2641941 requests in 30.10s, 3.13GB read
  44. Socket errors: connect 0, read 0, write 0, timeout 17
  45. Requests/sec: 87772.69
  46. Transfer/sec: 106.39MB

wrk on server130, helloworld, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/helloworld
  2. Running 30s test @ http://127.0.0.1:8080/helloworld
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 13.19ms 734.83us 27.58ms 92.94%
  6. Req/Sec 761.29 56.64 2.08k 83.45%
  7. 2277112 requests in 30.10s, 553.76MB read
  8. Requests/sec: 75655.34
  9. Transfer/sec: 18.40MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/helloworld
  11. Running 30s test @ http://127.0.0.1:8081/helloworld
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 4.78ms 2.58ms 165.64ms 98.74%
  15. Req/Sec 2.14k 244.71 14.76k 94.91%
  16. 6404220 requests in 30.10s, 1.52GB read
  17. Requests/sec: 212769.32
  18. Transfer/sec: 51.74MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/helloworld
  20. Running 30s test @ http://127.0.0.1:8082/helloworld
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.19ms 1.21ms 54.12ms 92.52%
  24. Req/Sec 311.90 31.45 606.00 87.67%
  25. 933010 requests in 30.10s, 226.90MB read
  26. Requests/sec: 30996.36
  27. Transfer/sec: 7.54MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/helloworld
  29. Running 30s test @ http://127.0.0.1:8083/helloworld
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.32ms 2.30ms 50.20ms 80.21%
  33. Req/Sec 1.37k 288.80 10.73k 81.14%
  34. 4118949 requests in 30.10s, 0.98GB read
  35. Requests/sec: 136844.37
  36. Transfer/sec: 33.28MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/helloworld
  38. Running 30s test @ http://127.0.0.1:8084/helloworld
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 1.01ms 0.89ms 59.07ms 89.09%
  42. Req/Sec 5.79k 2.42k 18.48k 78.33%
  43. 3489430 requests in 30.10s, 848.58MB read
  44. Socket errors: connect 0, read 0, write 0, timeout 118
  45. Requests/sec: 115928.18
  46. Transfer/sec: 28.19MB

wrk on server130, 64b, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/64b
  2. Running 30s test @ http://127.0.0.1:8080/64b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 13.05ms 668.57us 23.22ms 86.40%
  6. Req/Sec 768.90 59.46 2.10k 75.76%
  7. 2300422 requests in 30.10s, 675.71MB read
  8. Requests/sec: 76425.18
  9. Transfer/sec: 22.45MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/64b
  11. Running 30s test @ http://127.0.0.1:8081/64b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 4.92ms 2.62ms 213.57ms 93.59%
  15. Req/Sec 2.07k 274.98 18.74k 95.68%
  16. 6200962 requests in 30.10s, 1.78GB read
  17. Requests/sec: 206016.30
  18. Transfer/sec: 60.51MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/64b
  20. Running 30s test @ http://127.0.0.1:8082/64b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.48ms 1.15ms 45.95ms 92.73%
  24. Req/Sec 309.18 28.26 606.00 89.99%
  25. 924823 requests in 30.10s, 271.65MB read
  26. Requests/sec: 30724.40
  27. Transfer/sec: 9.02MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/64b
  29. Running 30s test @ http://127.0.0.1:8083/64b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.34ms 1.96ms 216.33ms 79.76%
  33. Req/Sec 1.37k 254.28 7.71k 74.06%
  34. 4105897 requests in 30.10s, 1.18GB read
  35. Requests/sec: 136409.30
  36. Transfer/sec: 40.07MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/64b
  38. Running 30s test @ http://127.0.0.1:8084/64b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 28.49ms 49.03ms 528.68ms 83.16%
  42. Req/Sec 1.13k 402.00 8.28k 83.06%
  43. 3262210 requests in 30.10s, 0.94GB read
  44. Requests/sec: 108380.03
  45. Transfer/sec: 31.83MB

wrk on server130, 128b, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/128b
  2. Running 30s test @ http://127.0.0.1:8080/128b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 13.06ms 702.10us 21.96ms 84.79%
  6. Req/Sec 768.77 55.08 1.70k 74.34%
  7. 2299283 requests in 30.10s, 817.90MB read
  8. Requests/sec: 76389.32
  9. Transfer/sec: 27.17MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/128b
  11. Running 30s test @ http://127.0.0.1:8081/128b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 5.00ms 3.00ms 210.05ms 94.55%
  15. Req/Sec 2.06k 249.21 17.74k 91.53%
  16. 6173692 requests in 30.10s, 2.14GB read
  17. Requests/sec: 205109.75
  18. Transfer/sec: 72.96MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/128b
  20. Running 30s test @ http://127.0.0.1:8082/128b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.27ms 1.03ms 56.76ms 92.57%
  24. Req/Sec 311.26 29.73 585.00 88.49%
  25. 931035 requests in 30.10s, 331.19MB read
  26. Requests/sec: 30931.52
  27. Transfer/sec: 11.00MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/128b
  29. Running 30s test @ http://127.0.0.1:8083/128b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.37ms 2.08ms 31.42ms 76.11%
  33. Req/Sec 1.36k 258.27 6.53k 73.77%
  34. 4089136 requests in 30.10s, 1.42GB read
  35. Requests/sec: 135853.37
  36. Transfer/sec: 48.33MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/128b
  38. Running 30s test @ http://127.0.0.1:8084/128b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 27.60ms 48.36ms 510.02ms 84.60%
  42. Req/Sec 1.14k 572.43 11.31k 78.01%
  43. 3232190 requests in 30.10s, 1.12GB read
  44. Requests/sec: 107382.58
  45. Transfer/sec: 38.20MB

wrk on server130, 256b, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/256b
  2. Running 30s test @ http://127.0.0.1:8080/256b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 13.57ms 0.86ms 25.20ms 97.15%
  6. Req/Sec 739.53 62.13 2.05k 84.78%
  7. 2213529 requests in 30.10s, 1.03GB read
  8. Requests/sec: 73539.94
  9. Transfer/sec: 35.21MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/256b
  11. Running 30s test @ http://127.0.0.1:8081/256b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 5.13ms 2.51ms 126.07ms 97.37%
  15. Req/Sec 1.99k 190.06 11.79k 88.94%
  16. 5967699 requests in 30.10s, 2.79GB read
  17. Requests/sec: 198264.72
  18. Transfer/sec: 94.92MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/256b
  20. Running 30s test @ http://127.0.0.1:8082/256b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.40ms 1.25ms 42.30ms 91.93%
  24. Req/Sec 309.97 29.81 646.00 88.59%
  25. 927032 requests in 30.10s, 443.81MB read
  26. Requests/sec: 30797.46
  27. Transfer/sec: 14.74MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/256b
  29. Running 30s test @ http://127.0.0.1:8083/256b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.36ms 2.08ms 31.14ms 66.01%
  33. Req/Sec 1.37k 280.81 9.39k 69.97%
  34. 4090474 requests in 30.10s, 1.91GB read
  35. Requests/sec: 135899.01
  36. Transfer/sec: 65.06MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/256b
  38. Running 30s test @ http://127.0.0.1:8084/256b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 28.62ms 49.89ms 469.84ms 83.84%
  42. Req/Sec 1.14k 466.19 6.47k 78.85%
  43. 3225455 requests in 30.10s, 1.51GB read
  44. Requests/sec: 107158.35
  45. Transfer/sec: 51.30MB

wrk on server130, 512b, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/512b
  2. Running 30s test @ http://127.0.0.1:8080/512b
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 13.43ms 736.68us 27.49ms 87.98%
  6. Req/Sec 747.08 60.93 1.76k 97.30%
  7. 2235750 requests in 30.10s, 1.58GB read
  8. Requests/sec: 74279.72
  9. Transfer/sec: 53.70MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/512b
  11. Running 30s test @ http://127.0.0.1:8081/512b
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 4.99ms 2.64ms 227.44ms 88.99%
  15. Req/Sec 2.03k 248.28 15.42k 90.71%
  16. 6096342 requests in 30.10s, 4.30GB read
  17. Requests/sec: 202554.75
  18. Transfer/sec: 146.42MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/512b
  20. Running 30s test @ http://127.0.0.1:8082/512b
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.36ms 1.15ms 45.16ms 93.00%
  24. Req/Sec 310.49 29.41 630.00 88.84%
  25. 928292 requests in 30.10s, 671.05MB read
  26. Requests/sec: 30839.39
  27. Transfer/sec: 22.29MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/512b
  29. Running 30s test @ http://127.0.0.1:8083/512b
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.38ms 2.46ms 44.67ms 81.04%
  33. Req/Sec 1.36k 336.02 9.62k 77.31%
  34. 4088030 requests in 30.10s, 2.89GB read
  35. Requests/sec: 135819.13
  36. Transfer/sec: 98.18MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/512b
  38. Running 30s test @ http://127.0.0.1:8084/512b
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 27.67ms 48.41ms 628.24ms 84.10%
  42. Req/Sec 1.13k 497.02 9.57k 79.17%
  43. 3226694 requests in 30.10s, 2.28GB read
  44. Requests/sec: 107200.41
  45. Transfer/sec: 77.49MB

wrk on server130, 1k, 1000 connections

  1. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8080/1k
  2. Running 30s test @ http://127.0.0.1:8080/1k
  3. 100 threads and 1000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 14.15ms 790.27us 22.54ms 94.76%
  6. Req/Sec 709.70 54.99 1.72k 79.03%
  7. 2122288 requests in 30.10s, 2.51GB read
  8. Requests/sec: 70507.29
  9. Transfer/sec: 85.46MB
  10. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8081/1k
  11. Running 30s test @ http://127.0.0.1:8081/1k
  12. 100 threads and 1000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 5.77ms 2.39ms 223.64ms 91.11%
  15. Req/Sec 1.76k 205.22 12.70k 90.98%
  16. 5260373 requests in 30.10s, 6.23GB read
  17. Requests/sec: 174769.39
  18. Transfer/sec: 211.84MB
  19. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8082/1k
  20. Running 30s test @ http://127.0.0.1:8082/1k
  21. 100 threads and 1000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 32.38ms 1.15ms 44.57ms 92.99%
  24. Req/Sec 310.16 28.45 690.00 89.53%
  25. 927805 requests in 30.10s, 1.10GB read
  26. Requests/sec: 30823.63
  27. Transfer/sec: 37.36MB
  28. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8083/1k
  29. Running 30s test @ http://127.0.0.1:8083/1k
  30. 100 threads and 1000 connections
  31. Thread Stats Avg Stdev Max +/- Stdev
  32. Latency 7.48ms 3.19ms 67.33ms 77.79%
  33. Req/Sec 1.35k 434.05 16.14k 66.37%
  34. 4057738 requests in 30.10s, 4.80GB read
  35. Requests/sec: 134808.76
  36. Transfer/sec: 163.40MB
  37. # wrk --timeout 300 -c 1000 -d 30 -t 100 http://127.0.0.1:8084/1k
  38. Running 30s test @ http://127.0.0.1:8084/1k
  39. 100 threads and 1000 connections
  40. Thread Stats Avg Stdev Max +/- Stdev
  41. Latency 27.50ms 48.42ms 623.79ms 84.59%
  42. Req/Sec 1.15k 564.66 9.41k 77.01%
  43. 3292286 requests in 30.10s, 3.90GB read
  44. Requests/sec: 109379.12
  45. Transfer/sec: 132.58MB

wrk on server130, helloworld, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/helloworld
  2. Running 30s test @ http://127.0.0.1:8080/helloworld
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 96.57ms 4.26ms 225.34ms 93.85%
  6. Req/Sec 519.20 69.46 1.01k 90.28%
  7. 1551936 requests in 30.10s, 377.41MB read
  8. Requests/sec: 51561.52
  9. Transfer/sec: 12.54MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/helloworld
  11. Running 30s test @ http://127.0.0.1:8081/helloworld
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 31.35ms 52.92ms 1.28s 98.91%
  15. Req/Sec 1.87k 429.97 23.95k 97.67%
  16. 5573984 requests in 30.09s, 1.32GB read
  17. Requests/sec: 185230.25
  18. Transfer/sec: 45.05MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/helloworld
  20. Running 30s test @ http://127.0.0.1:8082/helloworld
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 154.87ms 18.83ms 602.46ms 90.02%
  24. Req/Sec 314.26 144.94 505.00 53.97%
  25. 933234 requests in 30.10s, 226.95MB read
  26. Socket errors: connect 0, read 0, write 417, timeout 0
  27. Requests/sec: 31004.16
  28. Transfer/sec: 7.54MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/helloworld
  30. Running 30s test @ http://127.0.0.1:8083/helloworld
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.41ms 11.44ms 256.07ms 72.34%
  34. Req/Sec 1.26k 126.59 3.25k 76.29%
  35. 3771836 requests in 30.10s, 0.90GB read
  36. Requests/sec: 125309.78
  37. Transfer/sec: 30.47MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/helloworld
  39. Running 30s test @ http://127.0.0.1:8084/helloworld
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 249.53ms 343.85ms 2.23s 81.37%
  43. Req/Sec 1.12k 754.10 9.34k 74.09%
  44. 3362407 requests in 30.10s, 817.69MB read
  45. Requests/sec: 111711.42
  46. Transfer/sec: 27.17MB

wrk on server130, 64b, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/64b
  2. Running 30s test @ http://127.0.0.1:8080/64b
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 99.46ms 4.90ms 286.04ms 80.63%
  6. Req/Sec 503.82 63.37 1.01k 91.47%
  7. 1504356 requests in 30.10s, 441.88MB read
  8. Requests/sec: 49981.81
  9. Transfer/sec: 14.68MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/64b
  11. Running 30s test @ http://127.0.0.1:8081/64b
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 30.84ms 41.78ms 1.23s 99.05%
  15. Req/Sec 1.82k 284.14 12.02k 97.47%
  16. 5422881 requests in 30.10s, 1.56GB read
  17. Requests/sec: 180164.79
  18. Transfer/sec: 52.92MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/64b
  20. Running 30s test @ http://127.0.0.1:8082/64b
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 155.76ms 25.68ms 1.01s 89.62%
  24. Req/Sec 302.49 133.54 1.01k 62.22%
  25. 902730 requests in 30.10s, 265.16MB read
  26. Socket errors: connect 0, read 0, write 956, timeout 0
  27. Requests/sec: 29991.64
  28. Transfer/sec: 8.81MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/64b
  30. Running 30s test @ http://127.0.0.1:8083/64b
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.49ms 10.49ms 262.93ms 78.42%
  34. Req/Sec 1.26k 116.04 2.88k 75.51%
  35. 3769646 requests in 30.10s, 1.08GB read
  36. Requests/sec: 125238.51
  37. Transfer/sec: 36.79MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/64b
  39. Running 30s test @ http://127.0.0.1:8084/64b
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 237.37ms 321.51ms 1.60s 80.45%
  43. Req/Sec 1.09k 710.12 7.02k 72.07%
  44. 3255057 requests in 30.11s, 0.93GB read
  45. Requests/sec: 108115.79
  46. Transfer/sec: 31.76MB

wrk on server130, 128b, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/128b
  2. Running 30s test @ http://127.0.0.1:8080/128b
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 98.35ms 3.89ms 283.24ms 87.46%
  6. Req/Sec 508.62 52.82 1.00k 90.72%
  7. 1523179 requests in 30.10s, 541.83MB read
  8. Requests/sec: 50603.62
  9. Transfer/sec: 18.00MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/128b
  11. Running 30s test @ http://127.0.0.1:8081/128b
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 31.93ms 48.39ms 1.31s 98.96%
  15. Req/Sec 1.80k 361.08 19.10k 97.69%
  16. 5358241 requests in 30.10s, 1.86GB read
  17. Requests/sec: 178029.30
  18. Transfer/sec: 63.33MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/128b
  20. Running 30s test @ http://127.0.0.1:8082/128b
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 158.70ms 19.23ms 611.15ms 89.65%
  24. Req/Sec 305.13 131.15 666.00 60.93%
  25. 904684 requests in 30.10s, 321.81MB read
  26. Socket errors: connect 0, read 0, write 596, timeout 0
  27. Requests/sec: 30055.54
  28. Transfer/sec: 10.69MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/128b
  30. Running 30s test @ http://127.0.0.1:8083/128b
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.48ms 9.67ms 261.23ms 82.29%
  34. Req/Sec 1.26k 126.88 3.12k 76.40%
  35. 3767905 requests in 30.10s, 1.31GB read
  36. Requests/sec: 125181.59
  37. Transfer/sec: 44.53MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/128b
  39. Running 30s test @ http://127.0.0.1:8084/128b
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 245.42ms 330.87ms 1.57s 79.97%
  43. Req/Sec 1.12k 744.79 7.90k 73.45%
  44. 3245574 requests in 30.10s, 1.13GB read
  45. Requests/sec: 107825.54
  46. Transfer/sec: 38.36MB

wrk on server130, 256b, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/256b
  2. Running 30s test @ http://127.0.0.1:8080/256b
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 100.32ms 3.69ms 289.76ms 87.29%
  6. Req/Sec 499.58 41.38 1.01k 92.74%
  7. 1494636 requests in 30.10s, 715.55MB read
  8. Requests/sec: 49655.72
  9. Transfer/sec: 23.77MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/256b
  11. Running 30s test @ http://127.0.0.1:8081/256b
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 33.49ms 53.31ms 1.27s 98.85%
  15. Req/Sec 1.74k 288.10 9.04k 97.40%
  16. 5180310 requests in 30.10s, 2.42GB read
  17. Requests/sec: 172111.53
  18. Transfer/sec: 82.40MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/256b
  20. Running 30s test @ http://127.0.0.1:8082/256b
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 156.15ms 23.82ms 998.80ms 89.57%
  24. Req/Sec 303.24 128.94 1.01k 61.00%
  25. 906641 requests in 30.10s, 434.05MB read
  26. Socket errors: connect 0, read 0, write 839, timeout 0
  27. Requests/sec: 30122.07
  28. Transfer/sec: 14.42MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/256b
  30. Running 30s test @ http://127.0.0.1:8083/256b
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.54ms 10.45ms 262.51ms 84.85%
  34. Req/Sec 1.26k 128.12 2.79k 76.73%
  35. 3770563 requests in 30.10s, 1.76GB read
  36. Requests/sec: 125268.97
  37. Transfer/sec: 59.97MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/256b
  39. Running 30s test @ http://127.0.0.1:8084/256b
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 239.40ms 322.76ms 1.51s 79.78%
  43. Req/Sec 1.14k 738.92 7.39k 73.91%
  44. 3215812 requests in 30.10s, 1.50GB read
  45. Requests/sec: 106837.46
  46. Transfer/sec: 51.15MB

wrk on server130, 512b, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/512b
  2. Running 30s test @ http://127.0.0.1:8080/512b
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 98.39ms 4.11ms 196.74ms 87.17%
  6. Req/Sec 510.47 60.77 1.01k 91.51%
  7. 1524004 requests in 30.10s, 1.08GB read
  8. Requests/sec: 50629.70
  9. Transfer/sec: 36.60MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/512b
  11. Running 30s test @ http://127.0.0.1:8081/512b
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 31.09ms 38.60ms 1.06s 99.04%
  15. Req/Sec 1.78k 341.45 18.61k 97.50%
  16. 5317507 requests in 30.10s, 3.75GB read
  17. Requests/sec: 176659.41
  18. Transfer/sec: 127.71MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/512b
  20. Running 30s test @ http://127.0.0.1:8082/512b
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 157.95ms 26.85ms 1.02s 92.05%
  24. Req/Sec 303.43 128.91 1.01k 64.07%
  25. 904974 requests in 30.10s, 654.19MB read
  26. Socket errors: connect 0, read 0, write 718, timeout 0
  27. Requests/sec: 30065.36
  28. Transfer/sec: 21.73MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/512b
  30. Running 30s test @ http://127.0.0.1:8083/512b
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.65ms 11.06ms 265.36ms 81.64%
  34. Req/Sec 1.26k 145.33 4.39k 74.26%
  35. 3765982 requests in 30.10s, 2.66GB read
  36. Requests/sec: 125118.40
  37. Transfer/sec: 90.45MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/512b
  39. Running 30s test @ http://127.0.0.1:8084/512b
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 239.98ms 321.89ms 1.44s 79.79%
  43. Req/Sec 1.12k 726.46 8.87k 73.57%
  44. 3256202 requests in 30.10s, 2.30GB read
  45. Requests/sec: 108167.78
  46. Transfer/sec: 78.19MB

wrk on server130, 1k, 5000 connections

  1. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8080/1k
  2. Running 30s test @ http://127.0.0.1:8080/1k
  3. 100 threads and 5000 connections
  4. Thread Stats Avg Stdev Max +/- Stdev
  5. Latency 97.67ms 3.53ms 205.18ms 93.96%
  6. Req/Sec 513.16 59.78 1.01k 91.24%
  7. 1535325 requests in 30.10s, 1.82GB read
  8. Requests/sec: 51007.16
  9. Transfer/sec: 61.83MB
  10. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8081/1k
  11. Running 30s test @ http://127.0.0.1:8081/1k
  12. 100 threads and 5000 connections
  13. Thread Stats Avg Stdev Max +/- Stdev
  14. Latency 37.43ms 51.20ms 1.32s 98.85%
  15. Req/Sec 1.52k 255.70 6.59k 96.65%
  16. 4526361 requests in 30.10s, 5.36GB read
  17. Requests/sec: 150375.52
  18. Transfer/sec: 182.28MB
  19. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8082/1k
  20. Running 30s test @ http://127.0.0.1:8082/1k
  21. 100 threads and 5000 connections
  22. Thread Stats Avg Stdev Max +/- Stdev
  23. Latency 154.69ms 21.90ms 582.71ms 88.36%
  24. Req/Sec 306.47 137.88 820.00 62.76%
  25. 913009 requests in 30.10s, 1.08GB read
  26. Socket errors: connect 0, read 0, write 895, timeout 0
  27. Requests/sec: 30332.79
  28. Transfer/sec: 36.77MB
  29. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8083/1k
  30. Running 30s test @ http://127.0.0.1:8083/1k
  31. 100 threads and 5000 connections
  32. Thread Stats Avg Stdev Max +/- Stdev
  33. Latency 39.42ms 14.20ms 440.42ms 82.08%
  34. Req/Sec 1.26k 177.75 2.91k 70.74%
  35. 3772111 requests in 30.10s, 4.47GB read
  36. Requests/sec: 125323.95
  37. Transfer/sec: 151.91MB
  38. # wrk --timeout 300 -c 5000 -d 30 -t 100 http://127.0.0.1:8084/1k
  39. Running 30s test @ http://127.0.0.1:8084/1k
  40. 100 threads and 5000 connections
  41. Thread Stats Avg Stdev Max +/- Stdev
  42. Latency 235.72ms 316.57ms 1.41s 79.77%
  43. Req/Sec 1.11k 715.26 7.68k 74.03%
  44. 3238678 requests in 30.10s, 3.83GB read
  45. Requests/sec: 107596.34
  46. Transfer/sec: 130.42MB