Bench: the four versions against every proxy, 30 October results

3proxy 0.9.9.2, 1.0.2, devel (c3702866) and the experimental head (5de7ae2)
against nginx (with and without proxy_half_close), haproxy (plain and
splice-auto), envoy, squid, tinyproxy and dante on the M4 and the Skylake
host: the plain suite and the mix over a shaped link (20 Mbit/s, 5 ms,
0.5% loss), three runs a cell, proxy memory capped at 6 GB (--prx-mem-mb,
new). dante re-measured on the SOCKS scenarios only; its mix behaviour
stays in its own smaller-pool table. RESULTS.md rebuilt around six uniform
tables: throughput, memory and errors, p75/p90/p99.
This commit is contained in:
Vladimir Dubrovin committed 2026-10-30 12:21:40 +03:00
1 parent 5de7ae2dac
commit bb52a5fb0e
16 files changed
+2172 -1195

No files matched your search

+3
View File
@@ -909,6 +909,8 @@ class Proxy:
def start(self, args, work):
cg_remove("prx")
cg_make("prx", args.cpus["prx"])
if args.prx_mem_mb:
cg_write(f"{CG}/prx/memory.max", str(args.prx_mem_mb * 2**20))
if self.kind == "none":
return None
argv = [self.binary] + proxy_conf(self.kind, work, len(cpulist(args.cpus["prx"])),
@@ -1244,6 +1246,7 @@ def main():
ap.add_argument("--mix-active", type=int, default=2000,
help="exchanges going at once at most (%(default)s)")
ap.add_argument("--seed", type=int, default=1, help="what the mix-* scenarios draw from (%(default)s)")
ap.add_argument("--prx-mem-mb", type=int, help="memory.max of the proxy cgroup, MB")
args = ap.parse_args()
if os.geteuid():
sys.exit("needs root")