Skip to content
Performance

Azure: 23 hours of load and 80 faults on a three-node cluster

One run of tests/soak with plans/azure-24h.json on Azure. It did not pass: 13 of the 19 criteria passed, five failed and one was not measured. This record lists what passed, what failed and what is still unknown. The run’s own report is the source of every number below.

  • Cluster: three data and coordinator hosts, Standard_D4ads_v6 (4 vCPU, 16 GiB), each with one 1,024 GiB Premium SSD (Premium_LRS) data disk; a controller and load machine, Standard_D8as_v6; region uksouth; Ubuntu 24.04. The same layout as the earlier Azure runs, with a larger data disk: three tries with 128 GiB disks did not pass the disk check (the same check, at a target of 500 writes per second) before the run, so this run used 1,024 GiB disks and a check target of 400.
  • Build: dev at 8bd7bbac, release-fast profile.
  • Load: 82,802 s (23.0 hours) of load: counters, lists and registers in three modes (default, durable with CLIENT DURABILITY REPLICAS 2, and the official Python client), LEASE, SEMAPHORE, TRANSFER and IDEM, and a background load of six processes over a million keys. 55,878,385 recorded operations were acknowledged, 766 failed and 29,807 ended with an unknown outcome.
  • Faults: 80 injected, none skipped, every one healed. Primary killed (5), replica killed (10), replica frozen (11), coordinator leader killed (7), whole host killed (7), host cut off with nftables (9), network delay and loss (5), coordinator leader partitioned (7), slots migrated (6), slot churn (5), rebalance (5), every data process killed and restarted (3).
  • Disk check before the run (run.py preflight, 60 s, target 400 synced 8 KiB writes per second, pass at 80 %): 376, 460 and 403 per second. During the run the report counts 10 host disk stalls (85.8 s in total, longest 14.9 s) and no CPU steal; the environment is valid.
  • Not measured: a second run, Linux kernels other than the Azure image’s, production hardware.
# Criterion Value
1 durable: no anomaly of any kind 0
2 default and client: losses and stale reads only inside primary faults or failovers none outside
3 After a full restart no acknowledged write lost on the always group 0 (3 full restarts)
5 Every fault recovers (max 15 s, median 5 s; slot move 60 s) max 7.24 s, median 2.71 s, slot move 33.91 s, none not healed
6 No unexpected exit, no panic 0 and 0
9 p99 in the last quiet window within 50 % of the first p99 40.96 ms first, 43.01 ms last
11 Background throughput steady (±8 %) in quiet windows half spread 4.3 %, 2 dips
12 Replica lag p99 below 1 s in quiet windows 0.53 s (max 0.76 s)
14 Open descriptors and threads do not grow none grew
15 WAL bounded, checkpoint in step with the data, free disk at least 20 % none grew, free disk never below 94.7 %
16 Coordinator Raft data bounded 40 to 46 MiB (limit 64 MiB)
17 Measurement complete no metric gaps beyond 0.03 %, clock offset 0.16 ms, controller CPU p95 12.8 %, no upload errors
19 After each host disk stall, p99 and throughput back 10 stalls, 4 judged, none slow

Criterion 18 (LEASE, SEMAPHORE, TRANSFER and IDEM rules): the run’s own check did not finish its linearizability half (see below). The rule half was run again offline on the downloaded history (2.3 GB of the lock and TRANSFER operations, 283 s) with the checker as it is after the double-holder check was made faster: no violation of any rule (fencing tokens, double holder, TRANSFER sum, one IDEM effect per request).

# Criterion Value What is known
4 Slot moves: no anomaly during a move 8 anomalies (limit 0); no client failed 5 s after a move All eight are in one slot-churn at 06:09, within 6 s of a failover of the second group and a 13.8 s disk stall on one host. They are lost writes and stale or backwards reads of the default and client modes, around that failover and counted against the move. The other slot moves had no anomaly.
7 No failed or unknown operation outside fault windows and host stalls 549 (limit 486.4) Of 545 operations placed in the history, 458 are inside a host disk stall (30 s margin) or within a minute of a failover the test did not cause. 81 are at 04:31, when a coordinator’s replication to one host timed out and that host’s primary refused writes for 0.1 s.
8 Failovers only from injected faults 17 failovers; five outside any fault window Two are on a host with a recorded disk stall. Two (04:00:31 and 14:30:36) happened with no stall in the 10 s samples: see below. One (13:49:24) happened 88 s after a stall.
10 p99 back to the quiet baseline within 60 s after each fault one case: after a coordinator leader kill at 07:31 p99 was 102 to 164 ms for three minutes (limit 65.7 ms) Cause not found. No failover and no host stall in those minutes.
13 No memory growth: data nodes three of six data nodes failed the ratio rule After the last fault healed at 16:44 and with no fault, every data node’s anonymous memory kept growing, 9 to 21 MiB per hour over the last four hours (about 390 to 510 MiB at the end, from about 140 MiB at the start), while the write-ahead log (35 to 68 MiB) and checkpoint (618 to 699 MiB) stayed flat. The cause is not known.

At 04:00:31 and 14:30:36 the leader coordinator’s write of the committed sequences to its Raft log took longer than the 1 s call limit. The leader then reported that it could not reach a majority, reached one again 0.2 to 1.7 s later, and promoted a replica of the first group: the primary’s 2 s lease had run out in the meantime and it refused writes. Clients saw up to 6.5 s (04:00) and 8.9 s (14:30) of added latency and 74 and 86 failed operations. The same pattern, with a host disk stall behind it, produced the failovers at 05:02 and 06:02. What stalled for those one or two seconds at 04:00 and 14:30 was not measured: the host samples are 10 s apart and show no spike.

  • Criterion 18, linearizability of every lock key: the checker’s go run call timed out after 240 s on the controller; the same call on the 2.3 GB extract on a Mac was killed after 15 minutes. The result is unknown, not clean.
  • The cause of the two failovers at 04:00 and 14:30, of the slow p99 after 07:31, and of the memory growth.

The run does not show that a 24-hour soak with bounded memory passes. It shows durable writes intact for 23 hours and 80 faults, and it found two things to fix: a failover after a one to two second hiccup, and slow growth of memory with no load change.