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
7.6 KiB
7.6 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793324136 | idle | Client | ClientRead | 32 | 200 |
| 3 | 1793324137 | active | 1 | 200 | ||
| 4 | 1793324137 | active | IO | WalSync | 1 | 200 |
| 5 | 1793324137 | active | LWLock | WALWrite | 5 | 200 |
| 6 | 1793324137 | active | Lock | transactionid | 14 | 200 |
| 7 | 1793324137 | active | Lock | tuple | 2 | 200 |
| 8 | 1793324137 | idle | Client | ClientRead | 9 | 200 |
| 9 | 1793324138 | active | Client | ClientRead | 1 | 200 |
| 10 | 1793324138 | active | LWLock | WALWrite | 3 | 200 |
| 11 | 1793324138 | active | Lock | transactionid | 2 | 200 |
| 12 | 1793324138 | active | Lock | tuple | 1 | 200 |
| 13 | 1793324138 | idle | Client | ClientRead | 25 | 200 |
| 14 | 1793324139 | active | 2 | 200 | ||
| 15 | 1793324139 | active | IO | WalSync | 1 | 200 |
| 16 | 1793324139 | active | LWLock | WALWrite | 6 | 200 |
| 17 | 1793324139 | active | Lock | transactionid | 6 | 200 |
| 18 | 1793324139 | active | Lock | tuple | 3 | 200 |
| 19 | 1793324139 | idle | Client | ClientRead | 14 | 200 |
| 20 | 1793324141 | active | 1 | 200 | ||
| 21 | 1793324141 | active | IO | WalSync | 1 | 200 |
| 22 | 1793324141 | active | LWLock | WALWrite | 4 | 200 |
| 23 | 1793324141 | active | Lock | transactionid | 5 | 200 |
| 24 | 1793324141 | active | Lock | tuple | 2 | 200 |
| 25 | 1793324141 | idle | Client | ClientRead | 19 | 200 |
| 26 | 1793324142 | active | 1 | 200 | ||
| 27 | 1793324142 | active | IO | WalSync | 1 | 200 |
| 28 | 1793324142 | active | LWLock | WALWrite | 6 | 200 |
| 29 | 1793324142 | active | Lock | transactionid | 8 | 200 |
| 30 | 1793324142 | active | Lock | tuple | 3 | 200 |
| 31 | 1793324142 | idle | Client | ClientRead | 13 | 200 |
| 32 | 1793324143 | active | 1 | 200 | ||
| 33 | 1793324143 | active | IO | WalSync | 1 | 200 |
| 34 | 1793324143 | active | LWLock | WALWrite | 1 | 200 |
| 35 | 1793324143 | idle | Client | ClientRead | 29 | 200 |
| 36 | 1793324144 | active | 2 | 200 | ||
| 37 | 1793324144 | active | LWLock | WALWrite | 2 | 200 |
| 38 | 1793324144 | idle | Client | ClientRead | 28 | 200 |
| 39 | 1793324145 | active | 3 | 200 | ||
| 40 | 1793324145 | active | IO | WalSync | 1 | 200 |
| 41 | 1793324145 | active | LWLock | WALWrite | 4 | 200 |
| 42 | 1793324145 | active | Lock | transactionid | 6 | 200 |
| 43 | 1793324145 | active | Lock | tuple | 3 | 200 |
| 44 | 1793324145 | idle | Client | ClientRead | 15 | 200 |
| 45 | 1793324146 | active | 1 | 200 | ||
| 46 | 1793324146 | active | IO | WalSync | 1 | 200 |
| 47 | 1793324146 | active | LWLock | WALWrite | 7 | 200 |
| 48 | 1793324146 | active | Lock | transactionid | 15 | 200 |
| 49 | 1793324146 | active | Lock | tuple | 2 | 200 |
| 50 | 1793324146 | idle | Client | ClientRead | 6 | 200 |
| 51 | 1793324147 | active | 1 | 200 | ||
| 52 | 1793324147 | active | Client | ClientRead | 13 | 200 |
| 53 | 1793324147 | active | LWLock | WALWrite | 2 | 200 |
| 54 | 1793324147 | active | Lock | transactionid | 3 | 200 |
| 55 | 1793324147 | idle | 1 | 200 | ||
| 56 | 1793324147 | idle | Client | ClientRead | 10 | 200 |
| 57 | 1793324147 | idle | LWLock | LockManager | 1 | 200 |
| 58 | 1793324147 | idle | Lock | tuple | 1 | 200 |
| 59 | 1793324149 | active | 1 | 200 | ||
| 60 | 1793324149 | active | Client | ClientRead | 1 | 200 |
| 61 | 1793324149 | active | IO | WalSync | 1 | 200 |
| 62 | 1793324149 | active | LWLock | WALWrite | 2 | 200 |
| 63 | 1793324149 | idle | Client | ClientRead | 27 | 200 |
| 64 | 1793324150 | active | 1 | 200 | ||
| 65 | 1793324150 | active | IO | WalSync | 1 | 200 |
| 66 | 1793324150 | active | LWLock | WALWrite | 9 | 200 |
| 67 | 1793324150 | active | Lock | transactionid | 14 | 200 |
| 68 | 1793324150 | active | Lock | tuple | 3 | 200 |
| 69 | 1793324150 | idle | Client | ClientRead | 4 | 200 |
| 70 | 1793324151 | active | 2 | 200 | ||
| 71 | 1793324151 | active | IO | WalSync | 1 | 200 |
| 72 | 1793324151 | active | LWLock | WALWrite | 6 | 200 |
| 73 | 1793324151 | active | Lock | transactionid | 16 | 200 |
| 74 | 1793324151 | active | Lock | tuple | 3 | 200 |
| 75 | 1793324151 | idle | Client | ClientRead | 4 | 200 |
| 76 | 1793324152 | active | IO | WalSync | 1 | 200 |
| 77 | 1793324152 | active | LWLock | WALWrite | 8 | 200 |
| 78 | 1793324152 | active | Lock | transactionid | 15 | 200 |
| 79 | 1793324152 | active | Lock | tuple | 7 | 200 |
| 80 | 1793324152 | idle | Client | ClientRead | 1 | 200 |
| 81 | 1793324153 | active | 4 | 200 | ||
| 82 | 1793324153 | active | IO | WalSync | 1 | 200 |
| 83 | 1793324153 | active | LWLock | WALWrite | 3 | 200 |
| 84 | 1793324153 | active | Lock | transactionid | 6 | 200 |
| 85 | 1793324153 | active | Lock | tuple | 3 | 200 |
| 86 | 1793324153 | idle | Client | ClientRead | 15 | 200 |
| 87 | 1793324154 | active | 1 | 200 | ||
| 88 | 1793324154 | active | IO | WalSync | 1 | 200 |
| 89 | 1793324154 | active | LWLock | WALWrite | 2 | 200 |
| 90 | 1793324154 | idle | 1 | 200 | ||
| 91 | 1793324154 | idle | Client | ClientRead | 27 | 200 |
| 92 | 1793324155 | active | 1 | 200 | ||
| 93 | 1793324155 | active | IO | WalSync | 1 | 200 |
| 94 | 1793324155 | active | LWLock | WALWrite | 6 | 200 |
| 95 | 1793324155 | active | Lock | transactionid | 3 | 200 |
| 96 | 1793324155 | idle | Client | ClientRead | 21 | 200 |
| 97 | 1793324157 | active | 2 | 200 | ||
| 98 | 1793324157 | active | Client | ClientRead | 2 | 200 |
| 99 | 1793324157 | active | IO | WalSync | 1 | 200 |
| 100 | 1793324157 | active | LWLock | WALWrite | 3 | 200 |
| 101 | 1793324157 | active | Lock | transactionid | 8 | 200 |
| 102 | 1793324157 | active | Lock | tuple | 2 | 200 |
| 103 | 1793324157 | idle | Client | ClientRead | 14 | 200 |
| 104 | 1793324158 | active | Client | ClientRead | 1 | 200 |
| 105 | 1793324158 | active | IO | WalSync | 1 | 200 |
| 106 | 1793324158 | active | LWLock | WALWrite | 9 | 200 |
| 107 | 1793324158 | active | Lock | transactionid | 10 | 200 |
| 108 | 1793324158 | active | Lock | tuple | 2 | 200 |
| 109 | 1793324158 | idle | Client | ClientRead | 9 | 200 |
| 110 | 1793324159 | active | 1 | 200 | ||
| 111 | 1793324159 | active | IO | WalSync | 1 | 200 |
| 112 | 1793324159 | active | LWLock | WALWrite | 8 | 200 |
| 113 | 1793324159 | active | Lock | transactionid | 12 | 200 |
| 114 | 1793324159 | active | Lock | tuple | 1 | 200 |
| 115 | 1793324159 | idle | Client | ClientRead | 6 | 200 |
| 116 | 1793324159 | idle | Lock | transactionid | 2 | 200 |
| 117 | 1793324159 | idle | Lock | tuple | 1 | 200 |
| 118 | 1793324160 | active | 2 | 200 | ||
| 119 | 1793324160 | active | IO | WalSync | 1 | 200 |
| 120 | 1793324160 | active | LWLock | LockManager | 1 | 200 |
| 121 | 1793324160 | idle | Client | ClientRead | 28 | 200 |
| 122 | 1793324161 | active | 1 | 200 | ||
| 123 | 1793324161 | active | Client | ClientRead | 5 | 200 |
| 124 | 1793324161 | active | LWLock | WALWrite | 6 | 200 |
| 125 | 1793324161 | active | Lock | transactionid | 9 | 200 |
| 126 | 1793324161 | active | Lock | tuple | 2 | 200 |
| 127 | 1793324161 | idle | 1 | 200 | ||
| 128 | 1793324161 | idle | Client | ClientRead | 7 | 200 |
| 129 | 1793324161 | idle | Lock | transactionid | 1 | 200 |
| 130 | 1793324162 | active | Client | ClientRead | 2 | 200 |
| 131 | 1793324162 | active | IO | WalSync | 1 | 200 |
| 132 | 1793324162 | active | LWLock | WALWrite | 7 | 200 |
| 133 | 1793324162 | active | Lock | transactionid | 2 | 200 |
| 134 | 1793324162 | idle | 2 | 200 | ||
| 135 | 1793324162 | idle | Client | ClientRead | 17 | 200 |
| 136 | 1793324162 | idle | LWLock | WALWrite | 1 | 200 |
| 137 | 1793324163 | active | 2 | 200 | ||
| 138 | 1793324163 | active | LWLock | WALWrite | 6 | 200 |
| 139 | 1793324163 | active | Lock | transactionid | 9 | 200 |
| 140 | 1793324163 | active | Lock | tuple | 2 | 200 |
| 141 | 1793324163 | idle | 1 | 200 | ||
| 142 | 1793324163 | idle | Client | ClientRead | 11 | 200 |
| 143 | 1793324163 | idle | Lock | transactionid | 1 | 200 |
| 144 | 1793324165 | active | 2 | 200 | ||
| 145 | 1793324165 | active | Client | ClientRead | 1 | 200 |
| 146 | 1793324165 | active | IO | WalSync | 1 | 200 |
| 147 | 1793324165 | active | LWLock | WALWrite | 6 | 200 |
| 148 | 1793324165 | active | Lock | transactionid | 6 | 200 |
| 149 | 1793324165 | idle | Client | ClientRead | 16 | 200 |
| 150 | 1793324166 | active | IO | WalSync | 1 | 200 |
| 151 | 1793324166 | active | LWLock | WALWrite | 8 | 200 |
| 152 | 1793324166 | active | Lock | transactionid | 14 | 200 |
| 153 | 1793324166 | active | Lock | tuple | 3 | 200 |
| 154 | 1793324166 | idle | 1 | 200 | ||
| 155 | 1793324166 | idle | Client | ClientRead | 5 | 200 |
| 156 | 1793324167 | active | 1 | 200 | ||
| 157 | 1793324167 | active | IO | WalSync | 1 | 200 |
| 158 | 1793324167 | active | LWLock | WALWrite | 7 | 200 |
| 159 | 1793324167 | active | Lock | transactionid | 15 | 200 |
| 160 | 1793324167 | active | Lock | tuple | 1 | 200 |
| 161 | 1793324167 | idle | Client | ClientRead | 7 | 200 |
| 162 | 1793324168 | active | Client | ClientRead | 2 | 200 |
| 163 | 1793324168 | active | IO | WalSync | 1 | 200 |
| 164 | 1793324168 | active | LWLock | WALWrite | 1 | 200 |
| 165 | 1793324168 | active | Lock | transactionid | 3 | 200 |
| 166 | 1793324168 | idle | 2 | 200 | ||
| 167 | 1793324168 | idle | Client | ClientRead | 22 | 200 |
| 168 | 1793324168 | idle | LWLock | WALWrite | 1 | 200 |
| 169 | 1793324169 | active | 1 | 200 | ||
| 170 | 1793324169 | active | Client | ClientRead | 3 | 200 |
| 171 | 1793324169 | active | IO | WalSync | 1 | 200 |
| 172 | 1793324169 | active | LWLock | WALWrite | 3 | 200 |
| 173 | 1793324169 | active | Lock | transactionid | 7 | 200 |
| 174 | 1793324169 | active | Lock | tuple | 4 | 200 |
| 175 | 1793324169 | idle | Client | ClientRead | 12 | 200 |
| 176 | 1793324169 | idle | Lock | transactionid | 1 | 200 |
| 177 | 1793324170 | active | IO | WalSync | 1 | 200 |
| 178 | 1793324170 | active | LWLock | WALWrite | 1 | 200 |
| 179 | 1793324170 | idle | 1 | 200 | ||
| 180 | 1793324170 | idle | Client | ClientRead | 29 | 200 |
| 181 | 1793324171 | active | 1 | 200 | ||
| 182 | 1793324171 | active | IO | WalSync | 1 | 200 |
| 183 | 1793324171 | active | LWLock | WALWrite | 7 | 200 |
| 184 | 1793324171 | active | Lock | transactionid | 14 | 200 |
| 185 | 1793324171 | active | Lock | tuple | 2 | 200 |
| 186 | 1793324171 | idle | 1 | 200 | ||
| 187 | 1793324171 | idle | Client | ClientRead | 6 | 200 |
| 188 | 1793324173 | active | IO | WalSync | 1 | 200 |
| 189 | 1793324173 | active | LWLock | WALWrite | 7 | 200 |
| 190 | 1793324173 | active | Lock | transactionid | 11 | 200 |
| 191 | 1793324173 | active | Lock | tuple | 2 | 200 |
| 192 | 1793324173 | idle | Client | ClientRead | 10 | 200 |
| 193 | 1793324173 | idle | Lock | transactionid | 1 | 200 |
| 194 | 1793324174 | active | IO | WalSync | 1 | 200 |
| 195 | 1793324174 | active | LWLock | WALWrite | 7 | 200 |
| 196 | 1793324174 | active | Lock | transactionid | 6 | 200 |
| 197 | 1793324174 | active | Lock | tuple | 5 | 200 |
| 198 | 1793324174 | idle | 1 | 200 | ||
| 199 | 1793324174 | idle | Client | ClientRead | 12 | 200 |
| 200 | 1793324175 | active | 2 | 200 | ||
| 201 | 1793324175 | active | IO | WalSync | 1 | 200 |
| 202 | 1793324175 | active | LWLock | WALWrite | 3 | 200 |
| 203 | 1793324175 | active | Lock | transactionid | 4 | 200 |
| 204 | 1793324175 | idle | 1 | 200 | ||
| 205 | 1793324175 | idle | Client | ClientRead | 21 | 200 |
| 206 | 1793324176 | active | 1 | 200 | ||
| 207 | 1793324176 | active | LWLock | WALWrite | 4 | 200 |
| 208 | 1793324176 | active | Lock | transactionid | 3 | 200 |
| 209 | 1793324176 | idle | Client | ClientRead | 24 | 200 |
| 210 | 1793324177 | idle | Client | ClientRead | 32 | 200 |