aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sample.c
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 19:57:27 +0100
committereunhhu <[email protected]>2026-09-28 19:57:27 +0100
commit5f8c14f774b81bd6d65d531035eae61b79b1d12c (patch)
tree230b95b30326b4077732d44858bea4eac4204820 /benchmarks/sample.c
parent354a73d82a3f16d7fdc215c2c63d8fe9afd5ef00 (diff)
downloadpure-5f8c14f774b81bd6d65d531035eae61b79b1d12c.tar.gz
pure-5f8c14f774b81bd6d65d531035eae61b79b1d12c.zip
Measure a restart under load and a first contact (095)
M2 and M4 of design 011. Ten thousand devices send an order every five seconds (2,000 a second); the receiver is killed (-9) at about 21 s and started again at once. With its secrets remembered the node shows no 100 ms step without an order stored, catches up in 0.2 s, spends no more CPU than before and makes no X25519; 34 orders were sent again, and every order made was applied once (three rounds; on the SD card the same, with 0.2 s silent). Without the memo it makes 10,000 X25519, 1.6 s of CPU. quinn under the same load stops for 1.0 s and catches up after 10.9 s: 10,115 new connections, about 7 s more of the service's CPU and 8 s of the clients'. A first contact takes Pure one round trip and QUIC two, at 10, 50 and 100 ms of RTT. run.py --restart and --first-contact make them; the quinn harness gains a fixed port with a reset key from its key, clients that connect again, and a drain for M5.
Diffstat (limited to 'benchmarks/sample.c')
0 files changed, 0 insertions, 0 deletions