make track1-control on b1c80ee: 8x1 at 5400 rps with a pool of 4, 8 and
16 connections per worker and an LB maxconn of 16, 32 and 64 per
replica, then 4x1 against 8x0.5 on the same CPUs 7-10, three repeats
with the variants interleaved.
The first placement attempt is kept in aborted/ only as a summary: four
4x1 runs had the write command at 7-34 ms instead of 0.2-0.6 ms, waiting
on WalSync, which the CPU based rejection does not see. The rerun right
after it is the one in control-cpus. The full output of the two failed
compose up attempts names the cause of the flaky switch: all replicas
are recreated at once and lb turns unhealthy without a ready server.
Plots and capacity.md now include both control series.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
5.4 KiB
5.4 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793324337 | idle | Client | ClientRead | 64 | 200 |
| 3 | 1793324338 | active | IO | WalSync | 1 | 200 |
| 4 | 1793324338 | idle | 1 | 200 | ||
| 5 | 1793324338 | idle | Client | ClientRead | 62 | 200 |
| 6 | 1793324339 | active | 1 | 200 | ||
| 7 | 1793324339 | active | Client | ClientRead | 1 | 200 |
| 8 | 1793324339 | active | IO | WalSync | 1 | 200 |
| 9 | 1793324339 | active | LWLock | WALWrite | 7 | 200 |
| 10 | 1793324339 | active | Lock | transactionid | 14 | 200 |
| 11 | 1793324339 | active | Lock | tuple | 1 | 200 |
| 12 | 1793324339 | idle | Client | ClientRead | 38 | 200 |
| 13 | 1793324339 | idle | Lock | tuple | 1 | 200 |
| 14 | 1793324340 | active | 1 | 200 | ||
| 15 | 1793324340 | idle | 1 | 200 | ||
| 16 | 1793324340 | idle | Client | ClientRead | 62 | 200 |
| 17 | 1793324341 | active | 1 | 200 | ||
| 18 | 1793324341 | active | Client | ClientRead | 3 | 200 |
| 19 | 1793324341 | idle | Client | ClientRead | 60 | 200 |
| 20 | 1793324342 | active | 1 | 200 | ||
| 21 | 1793324342 | active | LWLock | WALWrite | 6 | 200 |
| 22 | 1793324342 | active | Lock | transactionid | 7 | 200 |
| 23 | 1793324342 | active | Lock | tuple | 1 | 200 |
| 24 | 1793324342 | idle | Client | ClientRead | 49 | 200 |
| 25 | 1793324343 | active | Client | ClientRead | 1 | 200 |
| 26 | 1793324343 | active | IO | WalSync | 2 | 200 |
| 27 | 1793324343 | active | LWLock | WALWrite | 2 | 200 |
| 28 | 1793324343 | active | Lock | transactionid | 1 | 200 |
| 29 | 1793324343 | idle | Client | ClientRead | 58 | 200 |
| 30 | 1793324345 | idle | Client | ClientRead | 64 | 200 |
| 31 | 1793324346 | active | IO | WalSync | 1 | 200 |
| 32 | 1793324346 | active | LWLock | WALWrite | 3 | 200 |
| 33 | 1793324346 | idle | 1 | 200 | ||
| 34 | 1793324346 | idle | Client | ClientRead | 59 | 200 |
| 35 | 1793324347 | active | IO | WalSync | 1 | 200 |
| 36 | 1793324347 | active | LWLock | WALWrite | 3 | 200 |
| 37 | 1793324347 | idle | Client | ClientRead | 60 | 200 |
| 38 | 1793324348 | active | 1 | 200 | ||
| 39 | 1793324348 | active | IO | WalSync | 1 | 200 |
| 40 | 1793324348 | idle | 1 | 200 | ||
| 41 | 1793324348 | idle | Client | ClientRead | 61 | 200 |
| 42 | 1793324349 | idle | Client | ClientRead | 64 | 200 |
| 43 | 1793324350 | active | IO | WalSync | 1 | 200 |
| 44 | 1793324350 | active | LWLock | WALWrite | 4 | 200 |
| 45 | 1793324350 | active | Lock | transactionid | 1 | 200 |
| 46 | 1793324350 | idle | 1 | 200 | ||
| 47 | 1793324350 | idle | Client | ClientRead | 57 | 200 |
| 48 | 1793324351 | active | IO | WalSync | 1 | 200 |
| 49 | 1793324351 | active | LWLock | WALWrite | 5 | 200 |
| 50 | 1793324351 | idle | Client | ClientRead | 58 | 200 |
| 51 | 1793324352 | active | Client | ClientRead | 1 | 200 |
| 52 | 1793324352 | active | IO | WalSync | 1 | 200 |
| 53 | 1793324352 | active | LWLock | WALWrite | 2 | 200 |
| 54 | 1793324352 | idle | Client | ClientRead | 60 | 200 |
| 55 | 1793324354 | active | IO | WalSync | 1 | 200 |
| 56 | 1793324354 | active | LWLock | WALWrite | 2 | 200 |
| 57 | 1793324354 | idle | 1 | 200 | ||
| 58 | 1793324354 | idle | Client | ClientRead | 60 | 200 |
| 59 | 1793324355 | active | 1 | 200 | ||
| 60 | 1793324355 | active | LWLock | WALWrite | 7 | 200 |
| 61 | 1793324355 | active | Lock | transactionid | 5 | 200 |
| 62 | 1793324355 | idle | 1 | 200 | ||
| 63 | 1793324355 | idle | Client | ClientRead | 50 | 200 |
| 64 | 1793324356 | active | IO | WalSync | 1 | 200 |
| 65 | 1793324356 | active | LWLock | WALWrite | 3 | 200 |
| 66 | 1793324356 | idle | 1 | 200 | ||
| 67 | 1793324356 | idle | Client | ClientRead | 59 | 200 |
| 68 | 1793324357 | active | IO | WalSync | 1 | 200 |
| 69 | 1793324357 | active | LWLock | WALWrite | 3 | 200 |
| 70 | 1793324357 | idle | Client | ClientRead | 60 | 200 |
| 71 | 1793324358 | active | IO | WalSync | 1 | 200 |
| 72 | 1793324358 | active | LWLock | WALWrite | 4 | 200 |
| 73 | 1793324358 | active | Lock | transactionid | 1 | 200 |
| 74 | 1793324358 | idle | 1 | 200 | ||
| 75 | 1793324358 | idle | Client | ClientRead | 57 | 200 |
| 76 | 1793324359 | active | 2 | 200 | ||
| 77 | 1793324359 | active | IO | WalSync | 1 | 200 |
| 78 | 1793324359 | active | LWLock | WALWrite | 1 | 200 |
| 79 | 1793324359 | idle | Client | ClientRead | 60 | 200 |
| 80 | 1793324360 | active | Client | ClientRead | 7 | 200 |
| 81 | 1793324360 | active | LWLock | WALWrite | 2 | 200 |
| 82 | 1793324360 | active | Lock | transactionid | 1 | 200 |
| 83 | 1793324360 | idle | Client | ClientRead | 53 | 200 |
| 84 | 1793324360 | idle | IO | WalSync | 1 | 200 |
| 85 | 1793324362 | active | 1 | 200 | ||
| 86 | 1793324362 | active | Client | ClientRead | 1 | 200 |
| 87 | 1793324362 | idle | 1 | 200 | ||
| 88 | 1793324362 | idle | Client | ClientRead | 61 | 200 |
| 89 | 1793324363 | active | 3 | 200 | ||
| 90 | 1793324363 | active | IO | WalSync | 1 | 200 |
| 91 | 1793324363 | active | LWLock | WALWrite | 5 | 200 |
| 92 | 1793324363 | active | Lock | transactionid | 28 | 200 |
| 93 | 1793324363 | active | Lock | tuple | 13 | 200 |
| 94 | 1793324363 | idle | Client | ClientRead | 14 | 200 |
| 95 | 1793324364 | active | 1 | 200 | ||
| 96 | 1793324364 | active | Client | ClientRead | 1 | 200 |
| 97 | 1793324364 | active | LWLock | WALWrite | 5 | 200 |
| 98 | 1793324364 | idle | Client | ClientRead | 57 | 200 |
| 99 | 1793324365 | active | Client | ClientRead | 1 | 200 |
| 100 | 1793324365 | idle | Client | ClientRead | 63 | 200 |
| 101 | 1793324366 | active | 1 | 200 | ||
| 102 | 1793324366 | active | Timeout | SpinDelay | 1 | 200 |
| 103 | 1793324366 | idle | Client | ClientRead | 62 | 200 |
| 104 | 1793324367 | active | IO | WalSync | 1 | 200 |
| 105 | 1793324367 | active | LWLock | LockManager | 3 | 200 |
| 106 | 1793324367 | active | LWLock | WALWrite | 8 | 200 |
| 107 | 1793324367 | active | Lock | transactionid | 31 | 200 |
| 108 | 1793324367 | active | Lock | tuple | 8 | 200 |
| 109 | 1793324367 | idle | 1 | 200 | ||
| 110 | 1793324367 | idle | Client | ClientRead | 12 | 200 |
| 111 | 1793324368 | active | IO | WalSync | 1 | 200 |
| 112 | 1793324368 | active | LWLock | WALWrite | 2 | 200 |
| 113 | 1793324368 | idle | 1 | 200 | ||
| 114 | 1793324368 | idle | Client | ClientRead | 60 | 200 |
| 115 | 1793324370 | active | 1 | 200 | ||
| 116 | 1793324370 | active | Client | ClientRead | 1 | 200 |
| 117 | 1793324370 | active | IO | WalSync | 1 | 200 |
| 118 | 1793324370 | active | LWLock | BufferContent | 1 | 200 |
| 119 | 1793324370 | active | LWLock | WALWrite | 3 | 200 |
| 120 | 1793324370 | idle | 1 | 200 | ||
| 121 | 1793324370 | idle | Client | ClientRead | 56 | 200 |
| 122 | 1793324371 | idle | Client | ClientRead | 64 | 200 |
| 123 | 1793324372 | active | IO | WalSync | 1 | 200 |
| 124 | 1793324372 | active | LWLock | WALWrite | 9 | 200 |
| 125 | 1793324372 | active | Lock | transactionid | 8 | 200 |
| 126 | 1793324372 | active | Lock | tuple | 4 | 200 |
| 127 | 1793324372 | idle | Client | ClientRead | 42 | 200 |
| 128 | 1793324373 | active | 2 | 200 | ||
| 129 | 1793324373 | active | LWLock | WALWrite | 1 | 200 |
| 130 | 1793324373 | idle | 1 | 200 | ||
| 131 | 1793324373 | idle | Client | ClientRead | 60 | 200 |
| 132 | 1793324374 | active | 2 | 200 | ||
| 133 | 1793324374 | active | Client | ClientRead | 1 | 200 |
| 134 | 1793324374 | active | IO | WalSync | 1 | 200 |
| 135 | 1793324374 | active | LWLock | WALWrite | 4 | 200 |
| 136 | 1793324374 | active | Lock | transactionid | 2 | 200 |
| 137 | 1793324374 | idle | Client | ClientRead | 54 | 200 |
| 138 | 1793324375 | active | 1 | 200 | ||
| 139 | 1793324375 | active | LWLock | WALWrite | 3 | 200 |
| 140 | 1793324375 | active | Lock | transactionid | 2 | 200 |
| 141 | 1793324375 | idle | Client | ClientRead | 58 | 200 |
| 142 | 1793324376 | active | IO | WalSync | 1 | 200 |
| 143 | 1793324376 | active | LWLock | WALWrite | 1 | 200 |
| 144 | 1793324376 | idle | Client | ClientRead | 62 | 200 |
| 145 | 1793324378 | active | 1 | 200 | ||
| 146 | 1793324378 | active | IO | WalSync | 1 | 200 |
| 147 | 1793324378 | active | LWLock | WALWrite | 4 | 200 |
| 148 | 1793324378 | active | Lock | transactionid | 4 | 200 |
| 149 | 1793324378 | idle | Client | ClientRead | 54 | 200 |