bench: the TLS splice() threshold, 4K against 8K and 16K

New TLS scenarios with 2000 clients, a 2K POST and a 50K answer each.
Over 20, 10 and 5 Mbit/s links the default 4K is as good as 8K and 16K,
a little better at 5 Mbit/s: it stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vladimir DubrovinandClaude Opus 5.5 committed 2026-10-14 20:49:57 +03:00
1 parent cf3c491eec
commit 06ba6570f8
5 files changed
+82

No files matched your search

+2
View File
@@ -106,6 +106,8 @@ SCENARIOS = {
# TLS ended or begun by the proxy, relaying to or from the origin: one
# handshake for each connection, so the close-1k ones measure handshakes
"tls-term-ka-1k": ("http", {"file": "1k", "conns": 64, "via": "tls-term"}),
"tls-term-ka-2k-50k-2000": ("http", {"file": "50k", "conns": 2000, "body": 2048, "via": "tls-term"}),
"tls-init-ka-2k-50k-2000": ("http", {"file": "50k", "conns": 2000, "body": 2048, "via": "tls-init"}),
"tls-term-ka-1m": ("http", {"file": "1m", "conns": 16, "via": "tls-term"}),
"tls-term-close-1k": ("http", {"file": "1k", "conns": 64, "close": True, "via": "tls-term"}),
"tls-init-ka-1k": ("http", {"file": "1k", "conns": 64, "via": "tls-init"}),