forked from mtusi2026/mtusi2026lab3
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.7 KiB
5.7 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793324242 | idle | Client | ClientRead | 8 | 200 |
| 3 | 1793324243 | active | 1 | 200 | ||
| 4 | 1793324243 | active | Client | ClientRead | 5 | 200 |
| 5 | 1793324243 | active | IO | WalSync | 1 | 200 |
| 6 | 1793324243 | active | LWLock | WALWrite | 7 | 200 |
| 7 | 1793324243 | active | Lock | transactionid | 34 | 200 |
| 8 | 1793324243 | active | Lock | tuple | 1 | 200 |
| 9 | 1793324243 | idle | Client | ClientRead | 15 | 200 |
| 10 | 1793324245 | active | 1 | 200 | ||
| 11 | 1793324245 | idle | Client | ClientRead | 63 | 200 |
| 12 | 1793324246 | active | 1 | 200 | ||
| 13 | 1793324246 | idle | Client | ClientRead | 63 | 200 |
| 14 | 1793324247 | active | IO | WalSync | 1 | 200 |
| 15 | 1793324247 | active | LWLock | WALWrite | 8 | 200 |
| 16 | 1793324247 | active | Lock | transactionid | 4 | 200 |
| 17 | 1793324247 | active | Lock | tuple | 1 | 200 |
| 18 | 1793324247 | idle | 1 | 200 | ||
| 19 | 1793324247 | idle | Client | ClientRead | 49 | 200 |
| 20 | 1793324248 | active | IO | WalSync | 1 | 200 |
| 21 | 1793324248 | active | LWLock | WALWrite | 1 | 200 |
| 22 | 1793324248 | active | Lock | transactionid | 1 | 200 |
| 23 | 1793324248 | idle | 1 | 200 | ||
| 24 | 1793324248 | idle | Client | ClientRead | 60 | 200 |
| 25 | 1793324249 | idle | Client | ClientRead | 64 | 200 |
| 26 | 1793324250 | active | 2 | 200 | ||
| 27 | 1793324250 | active | IO | WalSync | 1 | 200 |
| 28 | 1793324250 | active | LWLock | WALWrite | 2 | 200 |
| 29 | 1793324250 | idle | Client | ClientRead | 59 | 200 |
| 30 | 1793324251 | active | 2 | 200 | ||
| 31 | 1793324251 | active | LWLock | WALWrite | 1 | 200 |
| 32 | 1793324251 | idle | 1 | 200 | ||
| 33 | 1793324251 | idle | Client | ClientRead | 60 | 200 |
| 34 | 1793324253 | active | Client | ClientRead | 1 | 200 |
| 35 | 1793324253 | active | IO | WalSync | 1 | 200 |
| 36 | 1793324253 | active | LWLock | BufferContent | 2 | 200 |
| 37 | 1793324253 | active | LWLock | WALWrite | 4 | 200 |
| 38 | 1793324253 | idle | Client | ClientRead | 56 | 200 |
| 39 | 1793324254 | active | 1 | 200 | ||
| 40 | 1793324254 | active | Client | ClientRead | 1 | 200 |
| 41 | 1793324254 | idle | Client | ClientRead | 62 | 200 |
| 42 | 1793324255 | active | Client | ClientRead | 1 | 200 |
| 43 | 1793324255 | active | IO | WalSync | 1 | 200 |
| 44 | 1793324255 | active | LWLock | WALWrite | 2 | 200 |
| 45 | 1793324255 | active | Lock | transactionid | 2 | 200 |
| 46 | 1793324255 | idle | 2 | 200 | ||
| 47 | 1793324255 | idle | Client | ClientRead | 56 | 200 |
| 48 | 1793324256 | active | 1 | 200 | ||
| 49 | 1793324256 | idle | Client | ClientRead | 63 | 200 |
| 50 | 1793324257 | active | Client | ClientRead | 1 | 200 |
| 51 | 1793324257 | active | IO | WalSync | 1 | 200 |
| 52 | 1793324257 | active | LWLock | WALWrite | 1 | 200 |
| 53 | 1793324257 | idle | Client | ClientRead | 61 | 200 |
| 54 | 1793324258 | active | 1 | 200 | ||
| 55 | 1793324258 | idle | Client | ClientRead | 63 | 200 |
| 56 | 1793324259 | active | 1 | 200 | ||
| 57 | 1793324259 | active | IO | WalSync | 1 | 200 |
| 58 | 1793324259 | active | LWLock | WALWrite | 5 | 200 |
| 59 | 1793324259 | active | Lock | transactionid | 6 | 200 |
| 60 | 1793324259 | idle | 1 | 200 | ||
| 61 | 1793324259 | idle | Client | ClientRead | 50 | 200 |
| 62 | 1793324260 | active | IO | WalSync | 1 | 200 |
| 63 | 1793324260 | active | LWLock | WALWrite | 3 | 200 |
| 64 | 1793324260 | active | Lock | transactionid | 2 | 200 |
| 65 | 1793324260 | idle | 1 | 200 | ||
| 66 | 1793324260 | idle | Client | ClientRead | 57 | 200 |
| 67 | 1793324262 | active | IO | WalSync | 1 | 200 |
| 68 | 1793324262 | active | LWLock | WALWrite | 7 | 200 |
| 69 | 1793324262 | active | Lock | transactionid | 9 | 200 |
| 70 | 1793324262 | active | Lock | tuple | 3 | 200 |
| 71 | 1793324262 | idle | 1 | 200 | ||
| 72 | 1793324262 | idle | Client | ClientRead | 43 | 200 |
| 73 | 1793324263 | active | 2 | 200 | ||
| 74 | 1793324263 | active | LWLock | WALWrite | 1 | 200 |
| 75 | 1793324263 | active | Lock | transactionid | 1 | 200 |
| 76 | 1793324263 | idle | Client | ClientRead | 60 | 200 |
| 77 | 1793324264 | active | 1 | 200 | ||
| 78 | 1793324264 | active | IO | WalSync | 1 | 200 |
| 79 | 1793324264 | active | LWLock | WALWrite | 2 | 200 |
| 80 | 1793324264 | active | Lock | transactionid | 1 | 200 |
| 81 | 1793324264 | idle | Client | ClientRead | 59 | 200 |
| 82 | 1793324265 | active | Client | ClientRead | 1 | 200 |
| 83 | 1793324265 | idle | 1 | 200 | ||
| 84 | 1793324265 | idle | Client | ClientRead | 62 | 200 |
| 85 | 1793324266 | active | 1 | 200 | ||
| 86 | 1793324266 | active | Lock | transactionid | 3 | 200 |
| 87 | 1793324266 | active | Lock | tuple | 1 | 200 |
| 88 | 1793324266 | idle | Client | ClientRead | 59 | 200 |
| 89 | 1793324267 | active | 2 | 200 | ||
| 90 | 1793324267 | active | IO | WalSync | 1 | 200 |
| 91 | 1793324267 | active | LWLock | WALWrite | 4 | 200 |
| 92 | 1793324267 | idle | Client | ClientRead | 57 | 200 |
| 93 | 1793324268 | active | 1 | 200 | ||
| 94 | 1793324268 | active | Client | ClientRead | 1 | 200 |
| 95 | 1793324268 | active | IO | WalSync | 1 | 200 |
| 96 | 1793324268 | active | LWLock | WALWrite | 5 | 200 |
| 97 | 1793324268 | active | Lock | transactionid | 8 | 200 |
| 98 | 1793324268 | active | Lock | tuple | 2 | 200 |
| 99 | 1793324268 | idle | 1 | 200 | ||
| 100 | 1793324268 | idle | Client | ClientRead | 45 | 200 |
| 101 | 1793324270 | active | 2 | 200 | ||
| 102 | 1793324270 | active | IO | WalSync | 1 | 200 |
| 103 | 1793324270 | active | LWLock | WALWrite | 5 | 200 |
| 104 | 1793324270 | idle | Client | ClientRead | 56 | 200 |
| 105 | 1793324271 | active | Client | ClientRead | 1 | 200 |
| 106 | 1793324271 | active | IO | WalSync | 1 | 200 |
| 107 | 1793324271 | active | LWLock | WALWrite | 1 | 200 |
| 108 | 1793324271 | idle | Client | ClientRead | 61 | 200 |
| 109 | 1793324272 | active | Client | ClientRead | 2 | 200 |
| 110 | 1793324272 | active | IO | WalSync | 1 | 200 |
| 111 | 1793324272 | idle | Client | ClientRead | 60 | 200 |
| 112 | 1793324272 | idle | LWLock | WALWrite | 1 | 200 |
| 113 | 1793324273 | active | Client | ClientRead | 1 | 200 |
| 114 | 1793324273 | idle | 2 | 200 | ||
| 115 | 1793324273 | idle | Client | ClientRead | 61 | 200 |
| 116 | 1793324274 | active | IO | WalSync | 1 | 200 |
| 117 | 1793324274 | active | LWLock | WALWrite | 1 | 200 |
| 118 | 1793324274 | idle | 1 | 200 | ||
| 119 | 1793324274 | idle | Client | ClientRead | 61 | 200 |
| 120 | 1793324275 | active | 2 | 200 | ||
| 121 | 1793324275 | active | IO | WalSync | 1 | 200 |
| 122 | 1793324275 | active | LWLock | WALWrite | 6 | 200 |
| 123 | 1793324275 | active | Lock | transactionid | 32 | 200 |
| 124 | 1793324275 | active | Lock | tuple | 14 | 200 |
| 125 | 1793324275 | idle | Client | ClientRead | 9 | 200 |
| 126 | 1793324276 | active | 2 | 200 | ||
| 127 | 1793324276 | active | Client | ClientRead | 2 | 200 |
| 128 | 1793324276 | active | LWLock | WALWrite | 4 | 200 |
| 129 | 1793324276 | idle | Client | ClientRead | 56 | 200 |
| 130 | 1793324277 | active | 3 | 200 | ||
| 131 | 1793324277 | active | IO | WalSync | 1 | 200 |
| 132 | 1793324277 | active | LWLock | WALWrite | 7 | 200 |
| 133 | 1793324277 | active | Lock | transactionid | 4 | 200 |
| 134 | 1793324277 | active | Lock | tuple | 2 | 200 |
| 135 | 1793324277 | idle | Client | ClientRead | 47 | 200 |
| 136 | 1793324279 | active | IO | WalSync | 1 | 200 |
| 137 | 1793324279 | active | LWLock | WALWrite | 2 | 200 |
| 138 | 1793324279 | idle | Client | ClientRead | 61 | 200 |
| 139 | 1793324280 | active | 1 | 200 | ||
| 140 | 1793324280 | active | LWLock | WALWrite | 2 | 200 |
| 141 | 1793324280 | idle | Client | ClientRead | 61 | 200 |
| 142 | 1793324281 | active | Client | ClientRead | 1 | 200 |
| 143 | 1793324281 | active | IO | WalSync | 1 | 200 |
| 144 | 1793324281 | active | LWLock | WALWrite | 2 | 200 |
| 145 | 1793324281 | idle | 1 | 200 | ||
| 146 | 1793324281 | idle | Client | ClientRead | 59 | 200 |
| 147 | 1793324282 | active | 1 | 200 | ||
| 148 | 1793324282 | active | Client | ClientRead | 1 | 200 |
| 149 | 1793324282 | active | IO | WalSync | 1 | 200 |
| 150 | 1793324282 | active | LWLock | WALWrite | 5 | 200 |
| 151 | 1793324282 | active | Lock | transactionid | 1 | 200 |
| 152 | 1793324282 | idle | 1 | 200 | ||
| 153 | 1793324282 | idle | Client | ClientRead | 53 | 200 |
| 154 | 1793324282 | idle | Lock | transactionid | 1 | 200 |
| 155 | 1793324283 | active | 1 | 200 | ||
| 156 | 1793324283 | active | IO | WalSync | 1 | 200 |
| 157 | 1793324283 | active | LWLock | WALWrite | 1 | 200 |
| 158 | 1793324283 | active | Lock | transactionid | 1 | 200 |
| 159 | 1793324283 | idle | 1 | 200 | ||
| 160 | 1793324283 | idle | Client | ClientRead | 59 | 200 |