3proxy/bench/data/skylake-10m-connect.csv
Vladimir Dubrovin f834e0134b bench: kernel TLS, with and without splice(), and CONNECT at 10 Mbit/s
bench.py takes ktls among 3proxy's options (ssl_ktls before the TLS
services) and for nginx (nginx::ktls, nginx::halfclose+ktls: Options
KTLS on both sides).

On Intel, whose OpenSSL and nginx have kernel TLS: 3proxy splicing over
it moves bulk data 6-17% faster at 5-34% less CPU per gigabyte, with 1K
requests 0-11% slower; before splice() over kernel TLS, and for nginx,
which relays through user space either way, kernel TLS was slower.

CONNECT at 10 Mbit/s, 10 ms, 0.5% loss: -s takes about 9% off the CPU
per exchange, grace delay matched to the rate changes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 19:14:46 +03:00

3.2 KiB

1proxyscenariorepgbitratep50_msp90_msp99_mserrorstimeoutsretransprx_cpu_sprx_task_scpu_s_per_gbcpu_us_per_reqpeak_mbcli_utilprx_utilsrv_utilcli_threadsrv_threadbound
23proxy-devel-s0mix-connect-3k01.08330906722984.740.96126.976507.90400010.493.41342600000000037.746635059273138351.45910811806881356.386718750.70920159213298990.494811320754716950.245986779981114261.02284132184825820.29418743221806337client
33proxy-devel-smix-connect-3k01.0849964122984.540.96122.88507.9040009.643.033417.107857606445247323.002177919249451361.64843750.70526815377313710.45730550284629980.25416468348405521.03240297017445810.3039691427621107client
43proxy-devel-s0-g8000,2,5mix-connect-3k01.08450639362985.540.96126.976507.90400010.083.31303300000000037.435640810960729337.631887456037531358.566406250.7052706216024580.47637051039697540.24403056351480421.01903274820290510.29567378104061465client
53proxy-devel-s-g8000,2,5mix-connect-3k01.08270531520000012984.540.96126.976507.9040009.42.97798200000000046.945564868323277314.960629921259851369.75781250.70842230130486360.446555819477434670.234247234247234261.03090915105745370.2898800177422385client
63proxy-devel-smix-connect-3k11.07936601679999992983.640.96126.976507.9040009.972.9100277.389522993920518334.16007507708811364.750.71855421686746990.480713596914175530.24537487828627071.03417196108829760.3025844264339619client
73proxy-devel-s0-g8000,2,5mix-connect-3k11.086440422985.440.96126.976507.9040009.62.90697300000000037.068956436653931321.56494942051321358.707031250.71925980034088140.46806435884934180.230920728705071381.0290421646894880.2788424858854484client
83proxy-devel-s-g8000,2,5mix-connect-3k11.0797474282983.740.96126.976507.90400010.193.1195867.549913793357978341.52227100579821368.46093750.71617161716171620.483626008542952070.244624940277114181.0272948646365950.30028820246596594client
93proxy-devel-s0mix-connect-3k11.0821890424298440.96122.88507.9040009.843.1045137.274144989069611329.75871313672921350.86718750.7224480038250060.47330447330447330.251.04009365123040550.30273999837722054client
103proxy-devel-s0-g8000,2,5mix-connect-3k21.08546768559999982984.540.96126.976507.9040009.643.06252299999999977.104771613479343323.002177919249451355.96093750.71315600287562910.460582895365504060.239497827136648970.97937768904002690.28664305959265485client
113proxy-devel-s-g8000,2,5mix-connect-3k21.08461769122984.340.96126.976507.9040009.682.90118199999999957.139842972164863324.364172502764461369.3750.72326139088729010.46560846560846560.239593417231364961.04443791401900480.29042166740903086client
123proxy-devel-s0mix-connect-3k21.08192489359999992984.440.96122.88507.9040009.823.22344600000000057.261132493088244329.044364026269931350.8750.6918149466192170.463863958431743050.24605828953655041.02376871520337080.30372538157979995client
133proxy-devel-smix-connect-3k21.08255099682984.540.96126.976507.9040009.452.923316.983504723885724316.6359524208411362.324218750.69798816568047340.447867298578199070.23504068932503591.02609217134301330.2851011848282969client