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.1 KiB
5.1 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793323948 | idle | Client | ClientRead | 4 | 200 |
| 3 | 1793323949 | active | 2 | 200 | ||
| 4 | 1793323949 | active | IO | WalSync | 1 | 200 |
| 5 | 1793323949 | active | LWLock | WALWrite | 7 | 200 |
| 6 | 1793323949 | active | Lock | transactionid | 9 | 200 |
| 7 | 1793323949 | active | Lock | tuple | 5 | 200 |
| 8 | 1793323949 | idle | 1 | 200 | ||
| 9 | 1793323949 | idle | Client | ClientRead | 7 | 200 |
| 10 | 1793323950 | active | 3 | 200 | ||
| 11 | 1793323950 | active | Client | ClientRead | 1 | 200 |
| 12 | 1793323950 | active | LWLock | WALWrite | 1 | 200 |
| 13 | 1793323950 | active | Lock | transactionid | 1 | 200 |
| 14 | 1793323950 | idle | 1 | 200 | ||
| 15 | 1793323950 | idle | Client | ClientRead | 25 | 200 |
| 16 | 1793323951 | active | 3 | 200 | ||
| 17 | 1793323951 | idle | 1 | 200 | ||
| 18 | 1793323951 | idle | Client | ClientRead | 28 | 200 |
| 19 | 1793323952 | active | 1 | 200 | ||
| 20 | 1793323952 | active | IO | WalSync | 1 | 200 |
| 21 | 1793323952 | active | LWLock | WALWrite | 2 | 200 |
| 22 | 1793323952 | idle | Client | ClientRead | 28 | 200 |
| 23 | 1793323954 | active | Client | ClientRead | 1 | 200 |
| 24 | 1793323954 | active | LWLock | WALWrite | 2 | 200 |
| 25 | 1793323954 | idle | Client | ClientRead | 29 | 200 |
| 26 | 1793323955 | active | IO | WalSync | 1 | 200 |
| 27 | 1793323955 | active | LWLock | WALWrite | 3 | 200 |
| 28 | 1793323955 | idle | Client | ClientRead | 28 | 200 |
| 29 | 1793323956 | active | 1 | 200 | ||
| 30 | 1793323956 | active | IO | WalSync | 1 | 200 |
| 31 | 1793323956 | active | LWLock | WALWrite | 9 | 200 |
| 32 | 1793323956 | active | Lock | transactionid | 4 | 200 |
| 33 | 1793323956 | idle | Client | ClientRead | 17 | 200 |
| 34 | 1793323957 | active | 3 | 200 | ||
| 35 | 1793323957 | idle | Client | ClientRead | 29 | 200 |
| 36 | 1793323958 | active | 1 | 200 | ||
| 37 | 1793323958 | active | IO | WalSync | 1 | 200 |
| 38 | 1793323958 | active | LWLock | WALWrite | 1 | 200 |
| 39 | 1793323958 | idle | Client | ClientRead | 29 | 200 |
| 40 | 1793323959 | active | IO | WalSync | 1 | 200 |
| 41 | 1793323959 | active | LWLock | WALWrite | 3 | 200 |
| 42 | 1793323959 | idle | Client | ClientRead | 28 | 200 |
| 43 | 1793323960 | active | 1 | 200 | ||
| 44 | 1793323960 | active | IO | WalSync | 1 | 200 |
| 45 | 1793323960 | active | LWLock | WALWrite | 4 | 200 |
| 46 | 1793323960 | idle | Client | ClientRead | 26 | 200 |
| 47 | 1793323961 | active | 2 | 200 | ||
| 48 | 1793323961 | active | IO | WalSync | 1 | 200 |
| 49 | 1793323961 | active | LWLock | WALWrite | 5 | 200 |
| 50 | 1793323961 | active | Lock | transactionid | 1 | 200 |
| 51 | 1793323961 | idle | Client | ClientRead | 23 | 200 |
| 52 | 1793323963 | active | IO | WalSync | 1 | 200 |
| 53 | 1793323963 | active | LWLock | WALWrite | 3 | 200 |
| 54 | 1793323963 | idle | 1 | 200 | ||
| 55 | 1793323963 | idle | Client | ClientRead | 27 | 200 |
| 56 | 1793323964 | idle | Client | ClientRead | 32 | 200 |
| 57 | 1793323965 | active | 2 | 200 | ||
| 58 | 1793323965 | active | IO | WalSync | 1 | 200 |
| 59 | 1793323965 | active | LWLock | WALWrite | 2 | 200 |
| 60 | 1793323965 | idle | 1 | 200 | ||
| 61 | 1793323965 | idle | Client | ClientRead | 26 | 200 |
| 62 | 1793323966 | active | IO | WalSync | 1 | 200 |
| 63 | 1793323966 | active | LWLock | WALWrite | 1 | 200 |
| 64 | 1793323966 | idle | Client | ClientRead | 30 | 200 |
| 65 | 1793323967 | active | 1 | 200 | ||
| 66 | 1793323967 | active | IO | WalSync | 1 | 200 |
| 67 | 1793323967 | active | LWLock | WALWrite | 7 | 200 |
| 68 | 1793323967 | active | Lock | transactionid | 2 | 200 |
| 69 | 1793323967 | idle | 1 | 200 | ||
| 70 | 1793323967 | idle | Client | ClientRead | 20 | 200 |
| 71 | 1793323968 | active | 1 | 200 | ||
| 72 | 1793323968 | active | IO | WalSync | 1 | 200 |
| 73 | 1793323968 | active | LWLock | WALWrite | 6 | 200 |
| 74 | 1793323968 | idle | Client | ClientRead | 24 | 200 |
| 75 | 1793323969 | active | IO | WalSync | 1 | 200 |
| 76 | 1793323969 | idle | Client | ClientRead | 31 | 200 |
| 77 | 1793323971 | active | IO | WalSync | 1 | 200 |
| 78 | 1793323971 | active | LWLock | WALWrite | 8 | 200 |
| 79 | 1793323971 | active | Lock | transactionid | 3 | 200 |
| 80 | 1793323971 | idle | Client | ClientRead | 20 | 200 |
| 81 | 1793323972 | active | 2 | 200 | ||
| 82 | 1793323972 | active | IO | WalSync | 1 | 200 |
| 83 | 1793323972 | idle | Client | ClientRead | 29 | 200 |
| 84 | 1793323973 | active | IO | WalSync | 1 | 200 |
| 85 | 1793323973 | active | LWLock | WALWrite | 4 | 200 |
| 86 | 1793323973 | idle | 1 | 200 | ||
| 87 | 1793323973 | idle | Client | ClientRead | 26 | 200 |
| 88 | 1793323974 | active | Client | ClientRead | 1 | 200 |
| 89 | 1793323974 | active | IO | WalSync | 1 | 200 |
| 90 | 1793323974 | active | LWLock | WALWrite | 3 | 200 |
| 91 | 1793323974 | idle | Client | ClientRead | 27 | 200 |
| 92 | 1793323975 | active | IO | WalSync | 1 | 200 |
| 93 | 1793323975 | active | LWLock | WALWrite | 1 | 200 |
| 94 | 1793323975 | idle | 1 | 200 | ||
| 95 | 1793323975 | idle | Client | ClientRead | 29 | 200 |
| 96 | 1793323976 | active | IO | WalSync | 1 | 200 |
| 97 | 1793323976 | active | LWLock | WALWrite | 6 | 200 |
| 98 | 1793323976 | active | Lock | transactionid | 10 | 200 |
| 99 | 1793323976 | active | Lock | tuple | 3 | 200 |
| 100 | 1793323976 | idle | Client | ClientRead | 12 | 200 |
| 101 | 1793323977 | active | 2 | 200 | ||
| 102 | 1793323977 | active | Client | ClientRead | 1 | 200 |
| 103 | 1793323977 | idle | 1 | 200 | ||
| 104 | 1793323977 | idle | Client | ClientRead | 28 | 200 |
| 105 | 1793323978 | active | 1 | 200 | ||
| 106 | 1793323978 | active | LWLock | WALWrite | 4 | 200 |
| 107 | 1793323978 | idle | 1 | 200 | ||
| 108 | 1793323978 | idle | Client | ClientRead | 26 | 200 |
| 109 | 1793323980 | active | Client | ClientRead | 3 | 200 |
| 110 | 1793323980 | active | IO | WalWrite | 1 | 200 |
| 111 | 1793323980 | active | LWLock | WALWrite | 3 | 200 |
| 112 | 1793323980 | active | Lock | transactionid | 2 | 200 |
| 113 | 1793323980 | idle | Client | ClientRead | 23 | 200 |
| 114 | 1793323981 | active | 3 | 200 | ||
| 115 | 1793323981 | active | IO | WalSync | 1 | 200 |
| 116 | 1793323981 | active | LWLock | WALWrite | 2 | 200 |
| 117 | 1793323981 | active | Lock | transactionid | 3 | 200 |
| 118 | 1793323981 | idle | Client | ClientRead | 23 | 200 |
| 119 | 1793323982 | active | 1 | 200 | ||
| 120 | 1793323982 | active | IO | WalSync | 1 | 200 |
| 121 | 1793323982 | active | LWLock | WALWrite | 2 | 200 |
| 122 | 1793323982 | idle | Client | ClientRead | 28 | 200 |
| 123 | 1793323983 | idle | 2 | 200 | ||
| 124 | 1793323983 | idle | Client | ClientRead | 30 | 200 |
| 125 | 1793323984 | active | 1 | 200 | ||
| 126 | 1793323984 | active | IO | WalSync | 1 | 200 |
| 127 | 1793323984 | active | LWLock | WALWrite | 4 | 200 |
| 128 | 1793323984 | active | Lock | transactionid | 1 | 200 |
| 129 | 1793323984 | idle | 1 | 200 | ||
| 130 | 1793323984 | idle | Client | ClientRead | 24 | 200 |
| 131 | 1793323985 | active | 1 | 200 | ||
| 132 | 1793323985 | active | IO | WalSync | 1 | 200 |
| 133 | 1793323985 | active | LWLock | WALWrite | 3 | 200 |
| 134 | 1793323985 | idle | Client | ClientRead | 27 | 200 |
| 135 | 1793323986 | active | 2 | 200 | ||
| 136 | 1793323986 | active | IO | WalSync | 1 | 200 |
| 137 | 1793323986 | idle | Client | ClientRead | 29 | 200 |
| 138 | 1793323988 | active | Client | ClientRead | 1 | 200 |
| 139 | 1793323988 | idle | Client | ClientRead | 31 | 200 |
| 140 | 1793323989 | active | IO | WalSync | 1 | 200 |
| 141 | 1793323989 | active | LWLock | WALWrite | 1 | 200 |
| 142 | 1793323989 | idle | Client | ClientRead | 25 | 200 |
| 143 | 1793323989 | idle | IO | WalSync | 1 | 200 |
| 144 | 1793323989 | idle | LWLock | WALWrite | 4 | 200 |