diff --git a/frameworks/varnish/entrypoint.sh b/frameworks/varnish/entrypoint.sh index 8e672c6b7..e34d58f89 100755 --- a/frameworks/varnish/entrypoint.sh +++ b/frameworks/varnish/entrypoint.sh @@ -6,7 +6,8 @@ exec varnishd -F \ -A /etc/varnish/tls.conf \ -f /etc/varnish/default.vcl \ -p feature=+http2 \ - -p thread_pool_max=10000 \ - -p thread_pool_min=5000 \ - -p vsl_mask=none + -p thread_pools=8 \ + -p thread_pool_max=2000 \ + -p thread_pool_min=1000 \ + -p vsl_mask=none \ -s malloc,256m diff --git a/site/data/results/varnish.json b/site/data/results/varnish.json index c267258e4..f0f6fd4f7 100644 --- a/site/data/results/varnish.json +++ b/site/data/results/varnish.json @@ -4,19 +4,19 @@ "baseline-4096": { "framework": "varnish", "language": "C", - "rps": 204732, - "avg_latency": "15.45ms", - "p99_latency": "71.40ms", - "cpu": "6403.0%", - "memory": "845MiB", + "rps": 182392, + "avg_latency": "16.66ms", + "p99_latency": "69.70ms", + "cpu": "6393.3%", + "memory": "792MiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "32.17MB/s", - "input_bw": "15.82MB/s", - "reconnects": 3, - "status_2xx": 1023661, + "bandwidth": "28.65MB/s", + "input_bw": "14.09MB/s", + "reconnects": 1, + "status_2xx": 911962, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -24,18 +24,18 @@ "baseline-h2-1024": { "framework": "varnish", "language": "C", - "rps": 206181, - "avg_latency": "85.58ms", - "p99_latency": "1.05s", - "cpu": "6470.8%", - "memory": "4.8GiB", + "rps": 204833, + "avg_latency": "64.74ms", + "p99_latency": "1.10s", + "cpu": "6418.6%", + "memory": "3.6GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "19.86MB/s", + "bandwidth": "19.69MB/s", "reconnects": 0, - "status_2xx": 1043277, + "status_2xx": 1032362, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -43,18 +43,18 @@ "baseline-h2-256": { "framework": "varnish", "language": "C", - "rps": 213803, - "avg_latency": "85.82ms", - "p99_latency": "245.62ms", - "cpu": "6478.3%", - "memory": "4.5GiB", + "rps": 214862, + "avg_latency": "62.79ms", + "p99_latency": "1.50s", + "cpu": "6340.3%", + "memory": "3.4GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "20.27MB/s", + "bandwidth": "20.19MB/s", "reconnects": 0, - "status_2xx": 1077568, + "status_2xx": 1080757, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -62,19 +62,19 @@ "limited-conn-4096": { "framework": "varnish", "language": "C", - "rps": 189574, - "avg_latency": "9.24ms", - "p99_latency": "57.80ms", - "cpu": "6523.0%", - "memory": "785MiB", + "rps": 158846, + "avg_latency": "21.43ms", + "p99_latency": "74.40ms", + "cpu": "6254.2%", + "memory": "1.4GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "29.78MB/s", - "input_bw": "14.64MB/s", - "reconnects": 94887, - "status_2xx": 947873, + "bandwidth": "24.99MB/s", + "input_bw": "12.27MB/s", + "reconnects": 77639, + "status_2xx": 794231, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -82,18 +82,18 @@ "pipelined-4096": { "framework": "varnish", "language": "C", - "rps": 283650, - "avg_latency": "194.87ms", - "p99_latency": "458.80ms", - "cpu": "6509.3%", - "memory": "1.3GiB", + "rps": 282924, + "avg_latency": "202.55ms", + "p99_latency": "351.40ms", + "cpu": "6534.3%", + "memory": "1.1GiB", "connections": 4096, "threads": 64, "duration": "5s", "pipeline": 16, - "bandwidth": "44.70MB/s", - "reconnects": 1, - "status_2xx": 1418251, + "bandwidth": "44.59MB/s", + "reconnects": 2, + "status_2xx": 1414623, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -101,18 +101,18 @@ "static-h2-1024": { "framework": "varnish", "language": "C", - "rps": 140630, - "avg_latency": "126.80ms", - "p99_latency": "2.05s", - "cpu": "6525.2%", - "memory": "4.7GiB", + "rps": 147407, + "avg_latency": "102.12ms", + "p99_latency": "1.28s", + "cpu": "6595.6%", + "memory": "3.8GiB", "connections": 1024, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "8.28GB/s", + "bandwidth": "8.66GB/s", "reconnects": 0, - "status_2xx": 711588, + "status_2xx": 742932, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 @@ -120,18 +120,18 @@ "static-h2-256": { "framework": "varnish", "language": "C", - "rps": 151545, - "avg_latency": "53.37ms", - "p99_latency": "161.06ms", - "cpu": "6523.4%", - "memory": "2.2GiB", + "rps": 155275, + "avg_latency": "52.20ms", + "p99_latency": "140.19ms", + "cpu": "6538.3%", + "memory": "2.4GiB", "connections": 256, "threads": 64, "duration": "5s", "pipeline": 1, - "bandwidth": "9.02GB/s", + "bandwidth": "9.22GB/s", "reconnects": 0, - "status_2xx": 762276, + "status_2xx": 779483, "status_3xx": 0, "status_4xx": 0, "status_5xx": 0 diff --git a/site/static/logs/baseline-h2/1024/varnish.log b/site/static/logs/baseline-h2/1024/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/baseline-h2/1024/varnish.log +++ b/site/static/logs/baseline-h2/1024/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/baseline-h2/256/varnish.log b/site/static/logs/baseline-h2/256/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/baseline-h2/256/varnish.log +++ b/site/static/logs/baseline-h2/256/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/baseline/4096/varnish.log b/site/static/logs/baseline/4096/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/baseline/4096/varnish.log +++ b/site/static/logs/baseline/4096/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/baseline/512/varnish.log b/site/static/logs/baseline/512/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/baseline/512/varnish.log +++ b/site/static/logs/baseline/512/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/limited-conn/4096/varnish.log b/site/static/logs/limited-conn/4096/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/limited-conn/4096/varnish.log +++ b/site/static/logs/limited-conn/4096/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/limited-conn/512/varnish.log b/site/static/logs/limited-conn/512/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/limited-conn/512/varnish.log +++ b/site/static/logs/limited-conn/512/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/pipelined/4096/varnish.log b/site/static/logs/pipelined/4096/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/pipelined/4096/varnish.log +++ b/site/static/logs/pipelined/4096/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/pipelined/512/varnish.log b/site/static/logs/pipelined/512/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/pipelined/512/varnish.log +++ b/site/static/logs/pipelined/512/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/static-h2/1024/varnish.log b/site/static/logs/static-h2/1024/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/static-h2/1024/varnish.log +++ b/site/static/logs/static-h2/1024/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts diff --git a/site/static/logs/static-h2/256/varnish.log b/site/static/logs/static-h2/256/varnish.log index 1914a9f67..ecf8b4421 100644 --- a/site/static/logs/static-h2/256/varnish.log +++ b/site/static/logs/static-h2/256/varnish.log @@ -1,5 +1,5 @@ Debug: Version: varnish-9.0.3 revision 0a625649cd40af4b6c10be5e58a2e89a5e275baa -Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-sdefault,-sdefault,-hcritbit +Debug: Platform: Linux,6.17.0-22-generic,x86_64,-jnone,-smalloc,-sdefault,-hcritbit Debug: Child (20) Started Child launched OK Info: Child (20) said Child starts