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.8 KiB
4.8 KiB
| 1 | ts | state | wait_event_type | wait_event | backends | max_connections |
|---|---|---|---|---|---|---|
| 2 | 1793323995 | idle | Client | ClientRead | 32 | 200 |
| 3 | 1793323996 | idle | Client | ClientRead | 32 | 200 |
| 4 | 1793323997 | idle | Client | ClientRead | 32 | 200 |
| 5 | 1793323998 | active | IO | WalSync | 1 | 200 |
| 6 | 1793323998 | active | LWLock | WALWrite | 2 | 200 |
| 7 | 1793323998 | idle | Client | ClientRead | 29 | 200 |
| 8 | 1793323999 | active | 2 | 200 | ||
| 9 | 1793323999 | active | IO | WalSync | 1 | 200 |
| 10 | 1793323999 | active | LWLock | WALWrite | 1 | 200 |
| 11 | 1793323999 | idle | Client | ClientRead | 28 | 200 |
| 12 | 1793324001 | active | 1 | 200 | ||
| 13 | 1793324001 | active | Client | ClientRead | 1 | 200 |
| 14 | 1793324001 | active | IO | WalSync | 1 | 200 |
| 15 | 1793324001 | active | LWLock | WALWrite | 7 | 200 |
| 16 | 1793324001 | active | Lock | transactionid | 5 | 200 |
| 17 | 1793324001 | idle | Client | ClientRead | 17 | 200 |
| 18 | 1793324002 | active | 3 | 200 | ||
| 19 | 1793324002 | active | IO | WalSync | 1 | 200 |
| 20 | 1793324002 | active | LWLock | WALWrite | 2 | 200 |
| 21 | 1793324002 | idle | Client | ClientRead | 26 | 200 |
| 22 | 1793324003 | active | IO | WalSync | 1 | 200 |
| 23 | 1793324003 | active | LWLock | WALWrite | 3 | 200 |
| 24 | 1793324003 | idle | Client | ClientRead | 28 | 200 |
| 25 | 1793324004 | active | 2 | 200 | ||
| 26 | 1793324004 | idle | Client | ClientRead | 30 | 200 |
| 27 | 1793324005 | active | 2 | 200 | ||
| 28 | 1793324005 | active | IO | WalSync | 1 | 200 |
| 29 | 1793324005 | active | Lock | transactionid | 1 | 200 |
| 30 | 1793324005 | idle | Client | ClientRead | 28 | 200 |
| 31 | 1793324006 | active | Client | ClientRead | 1 | 200 |
| 32 | 1793324006 | active | IO | WalSync | 1 | 200 |
| 33 | 1793324006 | active | LWLock | WALWrite | 4 | 200 |
| 34 | 1793324006 | active | Lock | transactionid | 1 | 200 |
| 35 | 1793324006 | idle | Client | ClientRead | 25 | 200 |
| 36 | 1793324007 | active | 2 | 200 | ||
| 37 | 1793324007 | active | IO | WalSync | 1 | 200 |
| 38 | 1793324007 | active | LWLock | WALWrite | 1 | 200 |
| 39 | 1793324007 | idle | Client | ClientRead | 28 | 200 |
| 40 | 1793324009 | active | IO | WalSync | 1 | 200 |
| 41 | 1793324009 | active | LWLock | WALWrite | 5 | 200 |
| 42 | 1793324009 | idle | Client | ClientRead | 26 | 200 |
| 43 | 1793324010 | active | 1 | 200 | ||
| 44 | 1793324010 | active | LWLock | WALWrite | 3 | 200 |
| 45 | 1793324010 | active | Lock | transactionid | 1 | 200 |
| 46 | 1793324010 | idle | Client | ClientRead | 27 | 200 |
| 47 | 1793324011 | active | 1 | 200 | ||
| 48 | 1793324011 | idle | Client | ClientRead | 31 | 200 |
| 49 | 1793324012 | active | Client | ClientRead | 6 | 200 |
| 50 | 1793324012 | active | IO | WalSync | 1 | 200 |
| 51 | 1793324012 | idle | Client | ClientRead | 25 | 200 |
| 52 | 1793324013 | active | IO | WalWrite | 1 | 200 |
| 53 | 1793324013 | idle | Client | ClientRead | 31 | 200 |
| 54 | 1793324014 | active | IO | WalSync | 1 | 200 |
| 55 | 1793324014 | active | LWLock | WALWrite | 1 | 200 |
| 56 | 1793324014 | idle | Client | ClientRead | 30 | 200 |
| 57 | 1793324015 | active | 2 | 200 | ||
| 58 | 1793324015 | active | IO | WalSync | 1 | 200 |
| 59 | 1793324015 | active | LWLock | WALWrite | 4 | 200 |
| 60 | 1793324015 | active | Timeout | SpinDelay | 2 | 200 |
| 61 | 1793324015 | idle | Client | ClientRead | 23 | 200 |
| 62 | 1793324017 | active | 1 | 200 | ||
| 63 | 1793324017 | active | IO | WalSync | 1 | 200 |
| 64 | 1793324017 | active | LWLock | WALWrite | 8 | 200 |
| 65 | 1793324017 | active | Lock | transactionid | 2 | 200 |
| 66 | 1793324017 | idle | Client | ClientRead | 20 | 200 |
| 67 | 1793324018 | active | 1 | 200 | ||
| 68 | 1793324018 | active | LWLock | BufferContent | 4 | 200 |
| 69 | 1793324018 | idle | 1 | 200 | ||
| 70 | 1793324018 | idle | Client | ClientRead | 26 | 200 |
| 71 | 1793324019 | active | IO | WalSync | 1 | 200 |
| 72 | 1793324019 | active | LWLock | WALWrite | 5 | 200 |
| 73 | 1793324019 | idle | Client | ClientRead | 26 | 200 |
| 74 | 1793324020 | active | 1 | 200 | ||
| 75 | 1793324020 | active | LWLock | WALWrite | 4 | 200 |
| 76 | 1793324020 | active | Lock | transactionid | 5 | 200 |
| 77 | 1793324020 | idle | 1 | 200 | ||
| 78 | 1793324020 | idle | Client | ClientRead | 21 | 200 |
| 79 | 1793324021 | active | 2 | 200 | ||
| 80 | 1793324021 | active | LWLock | WALWrite | 1 | 200 |
| 81 | 1793324021 | idle | Client | ClientRead | 29 | 200 |
| 82 | 1793324022 | active | 2 | 200 | ||
| 83 | 1793324022 | active | IO | WalSync | 1 | 200 |
| 84 | 1793324022 | active | Lock | transactionid | 2 | 200 |
| 85 | 1793324022 | idle | Client | ClientRead | 27 | 200 |
| 86 | 1793324023 | active | 1 | 200 | ||
| 87 | 1793324023 | active | IO | WalSync | 1 | 200 |
| 88 | 1793324023 | active | LWLock | WALWrite | 5 | 200 |
| 89 | 1793324023 | active | Lock | transactionid | 10 | 200 |
| 90 | 1793324023 | active | Lock | tuple | 7 | 200 |
| 91 | 1793324023 | idle | Client | ClientRead | 8 | 200 |
| 92 | 1793324024 | active | Client | ClientRead | 1 | 200 |
| 93 | 1793324024 | active | IO | WalSync | 1 | 200 |
| 94 | 1793324024 | active | LWLock | WALWrite | 6 | 200 |
| 95 | 1793324024 | active | Lock | transactionid | 15 | 200 |
| 96 | 1793324024 | active | Lock | tuple | 2 | 200 |
| 97 | 1793324024 | idle | 1 | 200 | ||
| 98 | 1793324024 | idle | Client | ClientRead | 6 | 200 |
| 99 | 1793324026 | active | IO | WalSync | 1 | 200 |
| 100 | 1793324026 | active | LWLock | WALWrite | 5 | 200 |
| 101 | 1793324026 | active | Lock | transactionid | 3 | 200 |
| 102 | 1793324026 | idle | 1 | 200 | ||
| 103 | 1793324026 | idle | Client | ClientRead | 22 | 200 |
| 104 | 1793324027 | active | 1 | 200 | ||
| 105 | 1793324027 | active | IO | WalSync | 1 | 200 |
| 106 | 1793324027 | active | LWLock | WALWrite | 3 | 200 |
| 107 | 1793324027 | idle | 1 | 200 | ||
| 108 | 1793324027 | idle | Client | ClientRead | 26 | 200 |
| 109 | 1793324028 | active | 2 | 200 | ||
| 110 | 1793324028 | active | IO | WalSync | 1 | 200 |
| 111 | 1793324028 | active | LWLock | WALWrite | 7 | 200 |
| 112 | 1793324028 | active | Lock | transactionid | 6 | 200 |
| 113 | 1793324028 | active | Lock | tuple | 3 | 200 |
| 114 | 1793324028 | idle | 1 | 200 | ||
| 115 | 1793324028 | idle | Client | ClientRead | 12 | 200 |
| 116 | 1793324029 | active | IO | WalSync | 1 | 200 |
| 117 | 1793324029 | active | LWLock | WALWrite | 4 | 200 |
| 118 | 1793324029 | idle | Client | ClientRead | 27 | 200 |
| 119 | 1793324030 | active | 1 | 200 | ||
| 120 | 1793324030 | active | IO | WalSync | 1 | 200 |
| 121 | 1793324030 | active | LWLock | WALWrite | 3 | 200 |
| 122 | 1793324030 | idle | Client | ClientRead | 27 | 200 |
| 123 | 1793324031 | active | 2 | 200 | ||
| 124 | 1793324031 | idle | Client | ClientRead | 30 | 200 |
| 125 | 1793324032 | active | 1 | 200 | ||
| 126 | 1793324032 | idle | Client | ClientRead | 31 | 200 |
| 127 | 1793324034 | active | 1 | 200 | ||
| 128 | 1793324034 | active | Client | ClientRead | 1 | 200 |
| 129 | 1793324034 | active | IO | WalSync | 1 | 200 |
| 130 | 1793324034 | idle | 1 | 200 | ||
| 131 | 1793324034 | idle | Client | ClientRead | 28 | 200 |
| 132 | 1793324035 | active | 3 | 200 | ||
| 133 | 1793324035 | active | IO | WalSync | 1 | 200 |
| 134 | 1793324035 | idle | Client | ClientRead | 28 | 200 |
| 135 | 1793324036 | idle | Client | ClientRead | 32 | 200 |