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
4.9 KiB
4.9 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793324042 | idle | Client | ClientRead | 32 | 200 |
| 3 | 1793324043 | active | 1 | 200 | ||
| 4 | 1793324043 | active | IO | WalSync | 1 | 200 |
| 5 | 1793324043 | active | LWLock | WALWrite | 3 | 200 |
| 6 | 1793324043 | active | Lock | transactionid | 1 | 200 |
| 7 | 1793324043 | active | Lock | tuple | 1 | 200 |
| 8 | 1793324043 | idle | Client | ClientRead | 25 | 200 |
| 9 | 1793324044 | active | IO | WalSync | 1 | 200 |
| 10 | 1793324044 | active | LWLock | WALWrite | 2 | 200 |
| 11 | 1793324044 | idle | 2 | 200 | ||
| 12 | 1793324044 | idle | Client | ClientRead | 27 | 200 |
| 13 | 1793324045 | active | IO | WalSync | 1 | 200 |
| 14 | 1793324045 | idle | 1 | 200 | ||
| 15 | 1793324045 | idle | Client | ClientRead | 30 | 200 |
| 16 | 1793324046 | active | 2 | 200 | ||
| 17 | 1793324046 | active | IO | WalSync | 1 | 200 |
| 18 | 1793324046 | active | LWLock | WALWrite | 1 | 200 |
| 19 | 1793324046 | idle | Client | ClientRead | 28 | 200 |
| 20 | 1793324048 | active | IO | WalSync | 1 | 200 |
| 21 | 1793324048 | active | LWLock | WALWrite | 3 | 200 |
| 22 | 1793324048 | idle | Client | ClientRead | 28 | 200 |
| 23 | 1793324049 | active | 3 | 200 | ||
| 24 | 1793324049 | active | IO | WalSync | 1 | 200 |
| 25 | 1793324049 | active | LWLock | WALWrite | 4 | 200 |
| 26 | 1793324049 | active | Lock | transactionid | 4 | 200 |
| 27 | 1793324049 | idle | 1 | 200 | ||
| 28 | 1793324049 | idle | Client | ClientRead | 19 | 200 |
| 29 | 1793324050 | active | 2 | 200 | ||
| 30 | 1793324050 | active | IO | WalSync | 1 | 200 |
| 31 | 1793324050 | idle | Client | ClientRead | 29 | 200 |
| 32 | 1793324051 | active | 1 | 200 | ||
| 33 | 1793324051 | active | IO | WalSync | 1 | 200 |
| 34 | 1793324051 | active | LWLock | WALWrite | 3 | 200 |
| 35 | 1793324051 | idle | 1 | 200 | ||
| 36 | 1793324051 | idle | Client | ClientRead | 26 | 200 |
| 37 | 1793324052 | active | 1 | 200 | ||
| 38 | 1793324052 | active | IO | WalSync | 1 | 200 |
| 39 | 1793324052 | active | LWLock | WALWrite | 2 | 200 |
| 40 | 1793324052 | idle | 2 | 200 | ||
| 41 | 1793324052 | idle | Client | ClientRead | 26 | 200 |
| 42 | 1793324053 | idle | Client | ClientRead | 32 | 200 |
| 43 | 1793324054 | active | Client | ClientRead | 1 | 200 |
| 44 | 1793324054 | idle | Client | ClientRead | 31 | 200 |
| 45 | 1793324056 | active | 1 | 200 | ||
| 46 | 1793324056 | active | IO | WalSync | 1 | 200 |
| 47 | 1793324056 | active | LWLock | WALWrite | 3 | 200 |
| 48 | 1793324056 | idle | Client | ClientRead | 27 | 200 |
| 49 | 1793324057 | active | 3 | 200 | ||
| 50 | 1793324057 | active | IO | WalSync | 1 | 200 |
| 51 | 1793324057 | idle | Client | ClientRead | 28 | 200 |
| 52 | 1793324058 | idle | Client | ClientRead | 32 | 200 |
| 53 | 1793324059 | active | Client | ClientRead | 1 | 200 |
| 54 | 1793324059 | active | LWLock | WALWrite | 2 | 200 |
| 55 | 1793324059 | active | Lock | transactionid | 1 | 200 |
| 56 | 1793324059 | idle | Client | ClientRead | 28 | 200 |
| 57 | 1793324060 | active | IO | WalSync | 1 | 200 |
| 58 | 1793324060 | active | LWLock | WALWrite | 1 | 200 |
| 59 | 1793324060 | idle | Client | ClientRead | 30 | 200 |
| 60 | 1793324061 | active | Client | ClientRead | 1 | 200 |
| 61 | 1793324061 | active | IO | WalSync | 1 | 200 |
| 62 | 1793324061 | idle | 1 | 200 | ||
| 63 | 1793324061 | idle | Client | ClientRead | 29 | 200 |
| 64 | 1793324062 | active | 2 | 200 | ||
| 65 | 1793324062 | active | LWLock | WALWrite | 3 | 200 |
| 66 | 1793324062 | idle | Client | ClientRead | 27 | 200 |
| 67 | 1793324063 | active | 1 | 200 | ||
| 68 | 1793324063 | idle | Client | ClientRead | 31 | 200 |
| 69 | 1793324065 | active | 1 | 200 | ||
| 70 | 1793324065 | active | IO | WalSync | 1 | 200 |
| 71 | 1793324065 | active | LWLock | WALWrite | 7 | 200 |
| 72 | 1793324065 | active | Lock | transactionid | 8 | 200 |
| 73 | 1793324065 | active | Lock | tuple | 2 | 200 |
| 74 | 1793324065 | idle | Client | ClientRead | 13 | 200 |
| 75 | 1793324066 | active | LWLock | WALWrite | 2 | 200 |
| 76 | 1793324066 | idle | Client | ClientRead | 30 | 200 |
| 77 | 1793324067 | active | 1 | 200 | ||
| 78 | 1793324067 | active | Client | ClientRead | 1 | 200 |
| 79 | 1793324067 | active | LWLock | WALWrite | 1 | 200 |
| 80 | 1793324067 | idle | Client | ClientRead | 29 | 200 |
| 81 | 1793324068 | active | IO | WalSync | 1 | 200 |
| 82 | 1793324068 | active | LWLock | WALWrite | 1 | 200 |
| 83 | 1793324068 | idle | Client | ClientRead | 30 | 200 |
| 84 | 1793324069 | active | 1 | 200 | ||
| 85 | 1793324069 | active | IO | WalSync | 1 | 200 |
| 86 | 1793324069 | active | LWLock | WALWrite | 1 | 200 |
| 87 | 1793324069 | idle | Client | ClientRead | 29 | 200 |
| 88 | 1793324070 | active | 1 | 200 | ||
| 89 | 1793324070 | active | IO | WalSync | 1 | 200 |
| 90 | 1793324070 | idle | Client | ClientRead | 30 | 200 |
| 91 | 1793324071 | active | IO | WalSync | 1 | 200 |
| 92 | 1793324071 | active | LWLock | WALWrite | 2 | 200 |
| 93 | 1793324071 | idle | Client | ClientRead | 29 | 200 |
| 94 | 1793324072 | active | LWLock | WALWrite | 1 | 200 |
| 95 | 1793324072 | idle | Client | ClientRead | 31 | 200 |
| 96 | 1793324074 | active | IO | WalSync | 1 | 200 |
| 97 | 1793324074 | active | LWLock | WALWrite | 1 | 200 |
| 98 | 1793324074 | idle | 1 | 200 | ||
| 99 | 1793324074 | idle | Client | ClientRead | 29 | 200 |
| 100 | 1793324075 | active | 2 | 200 | ||
| 101 | 1793324075 | active | IO | WalSync | 1 | 200 |
| 102 | 1793324075 | active | LWLock | WALWrite | 3 | 200 |
| 103 | 1793324075 | active | Lock | transactionid | 2 | 200 |
| 104 | 1793324075 | idle | Client | ClientRead | 24 | 200 |
| 105 | 1793324076 | active | IO | WalSync | 1 | 200 |
| 106 | 1793324076 | active | LWLock | BufferContent | 2 | 200 |
| 107 | 1793324076 | active | LWLock | WALWrite | 9 | 200 |
| 108 | 1793324076 | active | Lock | transactionid | 12 | 200 |
| 109 | 1793324076 | active | Lock | tuple | 2 | 200 |
| 110 | 1793324076 | idle | 2 | 200 | ||
| 111 | 1793324076 | idle | Client | ClientRead | 4 | 200 |
| 112 | 1793324077 | active | IO | WalSync | 1 | 200 |
| 113 | 1793324077 | active | LWLock | WALWrite | 8 | 200 |
| 114 | 1793324077 | active | Lock | transactionid | 1 | 200 |
| 115 | 1793324077 | idle | Client | ClientRead | 21 | 200 |
| 116 | 1793324078 | active | IO | WalSync | 1 | 200 |
| 117 | 1793324078 | idle | 1 | 200 | ||
| 118 | 1793324078 | idle | Client | ClientRead | 29 | 200 |
| 119 | 1793324079 | active | 1 | 200 | ||
| 120 | 1793324079 | active | IO | WalSync | 1 | 200 |
| 121 | 1793324079 | active | LWLock | WALWrite | 7 | 200 |
| 122 | 1793324079 | active | Lock | transactionid | 4 | 200 |
| 123 | 1793324079 | active | Lock | tuple | 1 | 200 |
| 124 | 1793324079 | idle | Client | ClientRead | 17 | 200 |
| 125 | 1793324080 | active | 1 | 200 | ||
| 126 | 1793324080 | active | IO | WalSync | 1 | 200 |
| 127 | 1793324080 | active | LWLock | LockManager | 1 | 200 |
| 128 | 1793324080 | active | LWLock | WALWrite | 7 | 200 |
| 129 | 1793324080 | active | Lock | transactionid | 4 | 200 |
| 130 | 1793324080 | idle | 1 | 200 | ||
| 131 | 1793324080 | idle | Client | ClientRead | 17 | 200 |
| 132 | 1793324082 | active | IO | WalSync | 1 | 200 |
| 133 | 1793324082 | active | LWLock | WALWrite | 4 | 200 |
| 134 | 1793324082 | idle | 1 | 200 | ||
| 135 | 1793324082 | idle | Client | ClientRead | 26 | 200 |
| 136 | 1793324083 | idle | Client | ClientRead | 32 | 200 |