Record the control runs of track 1

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
This commit is contained in:
Artyom
2026-10-30 04:45:55 +03:00
co-authored by Claude Opus 5.5
parent a67bc6526a
commit f4833c40c0
201 changed files with 29441 additions and 0 deletions
@@ -0,0 +1,252 @@
ts,state,wait_event_type,wait_event,backends,max_connections
1793321451,idle,Client,ClientRead,8,200
1793321452,active,,,2,200
1793321452,active,Client,ClientRead,1,200
1793321452,active,IO,WalSync,1,200
1793321452,active,LWLock,LockManager,1,200
1793321452,active,LWLock,WALWrite,6,200
1793321452,active,Lock,transactionid,30,200
1793321452,active,Lock,tuple,18,200
1793321452,idle,Client,ClientRead,5,200
1793321454,active,IO,WalSync,1,200
1793321454,active,LWLock,WALWrite,9,200
1793321454,active,Lock,transactionid,39,200
1793321454,active,Lock,tuple,11,200
1793321454,idle,Client,ClientRead,4,200
1793321455,active,,,4,200
1793321455,active,IO,WalSync,1,200
1793321455,active,LWLock,LockManager,2,200
1793321455,active,LWLock,WALWrite,3,200
1793321455,active,Lock,transactionid,31,200
1793321455,active,Lock,tuple,19,200
1793321455,idle,Client,ClientRead,4,200
1793321456,active,IO,WalSync,1,200
1793321456,active,LWLock,WALWrite,9,200
1793321456,active,Lock,transactionid,47,200
1793321456,active,Lock,tuple,4,200
1793321456,idle,Client,ClientRead,3,200
1793321457,active,,,1,200
1793321457,active,IO,WalSync,1,200
1793321457,active,LWLock,WALWrite,8,200
1793321457,active,Lock,transactionid,44,200
1793321457,active,Lock,tuple,4,200
1793321457,idle,Client,ClientRead,6,200
1793321458,active,IO,WalSync,1,200
1793321458,active,LWLock,WALWrite,9,200
1793321458,active,Lock,transactionid,43,200
1793321458,active,Lock,tuple,6,200
1793321458,idle,,,1,200
1793321458,idle,Client,ClientRead,4,200
1793321459,active,,,3,200
1793321459,active,Client,ClientRead,6,200
1793321459,active,IO,WalSync,1,200
1793321459,active,LWLock,LockManager,2,200
1793321459,active,LWLock,WALInsert,1,200
1793321459,active,LWLock,WALWrite,3,200
1793321459,active,Lock,transactionid,38,200
1793321459,active,Lock,tuple,5,200
1793321459,idle,,,1,200
1793321459,idle,Client,ClientRead,1,200
1793321459,idle,Lock,transactionid,3,200
1793321460,active,,,4,200
1793321460,active,IO,WalSync,1,200
1793321460,active,LWLock,LockManager,5,200
1793321460,active,LWLock,WALWrite,7,200
1793321460,active,Lock,transactionid,36,200
1793321460,active,Lock,tuple,8,200
1793321460,idle,Lock,tuple,3,200
1793321462,active,,,1,200
1793321462,active,Client,ClientRead,1,200
1793321462,active,IO,WalSync,1,200
1793321462,active,LWLock,WALWrite,8,200
1793321462,active,Lock,transactionid,31,200
1793321462,active,Lock,tuple,15,200
1793321462,idle,,,1,200
1793321462,idle,Client,ClientRead,5,200
1793321462,idle,Lock,transactionid,1,200
1793321463,active,,,8,200
1793321463,active,Client,ClientRead,1,200
1793321463,active,IO,WalSync,1,200
1793321463,active,LWLock,WALWrite,5,200
1793321463,active,Lock,transactionid,25,200
1793321463,active,Lock,tuple,18,200
1793321463,idle,,,1,200
1793321463,idle,Client,ClientRead,5,200
1793321464,active,,,3,200
1793321464,active,Client,ClientRead,1,200
1793321464,active,IO,WalSync,1,200
1793321464,active,LWLock,WALWrite,5,200
1793321464,active,Lock,transactionid,32,200
1793321464,active,Lock,tuple,18,200
1793321464,idle,,,2,200
1793321464,idle,Client,ClientRead,2,200
1793321465,active,,,3,200
1793321465,active,Client,ClientRead,3,200
1793321465,active,IO,WalSync,1,200
1793321465,active,LWLock,WALWrite,6,200
1793321465,active,Lock,transactionid,45,200
1793321465,active,Lock,tuple,2,200
1793321465,idle,Client,ClientRead,1,200
1793321465,idle,Lock,transactionid,1,200
1793321465,idle,Lock,tuple,2,200
1793321466,active,,,2,200
1793321466,active,IO,WalSync,1,200
1793321466,active,LWLock,WALWrite,4,200
1793321466,active,Lock,transactionid,39,200
1793321466,active,Lock,tuple,8,200
1793321466,idle,Client,ClientRead,10,200
1793321467,active,,,3,200
1793321467,active,LWLock,WALWrite,8,200
1793321467,active,Lock,transactionid,37,200
1793321467,active,Lock,tuple,14,200
1793321467,idle,Client,ClientRead,2,200
1793321469,active,Client,ClientRead,1,200
1793321469,active,IO,WalSync,1,200
1793321469,active,LWLock,LockManager,4,200
1793321469,active,LWLock,WALWrite,8,200
1793321469,active,Lock,transactionid,33,200
1793321469,active,Lock,tuple,7,200
1793321469,idle,Client,ClientRead,10,200
1793321470,active,,,1,200
1793321470,active,Client,ClientRead,6,200
1793321470,active,IO,WalSync,1,200
1793321470,active,LWLock,WALWrite,6,200
1793321470,active,Lock,transactionid,24,200
1793321470,active,Lock,tuple,19,200
1793321470,idle,,,2,200
1793321470,idle,Lock,transactionid,4,200
1793321470,idle,Lock,tuple,1,200
1793321471,active,,,1,200
1793321471,active,Client,ClientRead,2,200
1793321471,active,IO,WalSync,1,200
1793321471,active,LWLock,WALWrite,8,200
1793321471,active,Lock,transactionid,46,200
1793321471,active,Lock,tuple,1,200
1793321471,idle,Client,ClientRead,5,200
1793321472,active,,,3,200
1793321472,active,Client,ClientRead,2,200
1793321472,active,IO,WalSync,1,200
1793321472,active,LWLock,WALWrite,8,200
1793321472,active,Lock,transactionid,36,200
1793321472,active,Lock,tuple,9,200
1793321472,idle,Client,ClientRead,4,200
1793321472,idle,Lock,transactionid,1,200
1793321473,active,,,2,200
1793321473,active,IO,WalSync,1,200
1793321473,active,LWLock,WALWrite,7,200
1793321473,active,Lock,transactionid,37,200
1793321473,active,Lock,tuple,9,200
1793321473,idle,Client,ClientRead,8,200
1793321474,active,,,3,200
1793321474,active,IO,WalSync,1,200
1793321474,active,LWLock,WALWrite,5,200
1793321474,active,Lock,transactionid,19,200
1793321474,active,Lock,tuple,29,200
1793321474,idle,,,1,200
1793321474,idle,Client,ClientRead,6,200
1793321476,active,,,3,200
1793321476,active,Client,ClientRead,2,200
1793321476,active,IO,WalSync,1,200
1793321476,active,LWLock,LockManager,6,200
1793321476,active,LWLock,WALWrite,6,200
1793321476,active,Lock,transactionid,39,200
1793321476,active,Lock,tuple,6,200
1793321476,idle,Lock,tuple,1,200
1793321477,active,Client,ClientRead,2,200
1793321477,active,IO,WalSync,1,200
1793321477,active,LWLock,WALWrite,8,200
1793321477,active,Lock,transactionid,25,200
1793321477,active,Lock,tuple,19,200
1793321477,idle,,,2,200
1793321477,idle,Client,ClientRead,5,200
1793321477,idle,Lock,transactionid,1,200
1793321477,idle,Lock,tuple,1,200
1793321478,active,,,1,200
1793321478,active,IO,WalWrite,1,200
1793321478,active,LWLock,WALWrite,8,200
1793321478,active,Lock,transactionid,32,200
1793321478,active,Lock,tuple,9,200
1793321478,idle,,,2,200
1793321478,idle,Client,ClientRead,9,200
1793321478,idle,Lock,transactionid,2,200
1793321479,active,,,3,200
1793321479,active,Client,ClientRead,1,200
1793321479,active,LWLock,WALWrite,7,200
1793321479,active,Lock,transactionid,31,200
1793321479,active,Lock,tuple,13,200
1793321479,idle,,,2,200
1793321479,idle,Client,ClientRead,6,200
1793321479,idle,Lock,transactionid,1,200
1793321480,active,,,2,200
1793321480,active,IO,WalSync,1,200
1793321480,active,LWLock,WALWrite,6,200
1793321480,active,Lock,transactionid,48,200
1793321480,active,Lock,tuple,2,200
1793321480,idle,Client,ClientRead,5,200
1793321481,active,,,4,200
1793321481,active,Client,ClientRead,1,200
1793321481,active,LWLock,WALWrite,6,200
1793321481,active,Lock,transactionid,34,200
1793321481,active,Lock,tuple,16,200
1793321481,idle,Client,ClientRead,3,200
1793321482,active,,,2,200
1793321482,active,LWLock,LockManager,3,200
1793321482,active,LWLock,WALWrite,8,200
1793321482,active,Lock,transactionid,38,200
1793321482,active,Lock,tuple,11,200
1793321482,idle,Client,ClientRead,2,200
1793321484,active,,,1,200
1793321484,active,IO,WalSync,1,200
1793321484,active,LWLock,WALWrite,9,200
1793321484,active,Lock,transactionid,47,200
1793321484,active,Lock,tuple,5,200
1793321484,idle,Lock,tuple,1,200
1793321485,active,,,1,200
1793321485,active,IO,WalSync,1,200
1793321485,active,LWLock,WALWrite,8,200
1793321485,active,Lock,transactionid,37,200
1793321485,active,Lock,tuple,12,200
1793321485,idle,Client,ClientRead,5,200
1793321486,active,Client,ClientRead,1,200
1793321486,active,IO,WalSync,1,200
1793321486,active,LWLock,WALWrite,7,200
1793321486,active,Lock,transactionid,45,200
1793321486,active,Lock,tuple,6,200
1793321486,idle,,,1,200
1793321486,idle,Client,ClientRead,3,200
1793321487,active,,,2,200
1793321487,active,IO,WalSync,1,200
1793321487,active,LWLock,WALWrite,6,200
1793321487,active,Lock,transactionid,35,200
1793321487,active,Lock,tuple,13,200
1793321487,idle,Client,ClientRead,7,200
1793321488,active,,,4,200
1793321488,active,IO,WalSync,1,200
1793321488,active,LWLock,LockManager,2,200
1793321488,active,LWLock,WALWrite,4,200
1793321488,active,Lock,transactionid,38,200
1793321488,active,Lock,tuple,5,200
1793321488,idle,,,1,200
1793321488,idle,Client,ClientRead,9,200
1793321489,active,,,1,200
1793321489,active,IO,WalSync,1,200
1793321489,active,LWLock,LockManager,9,200
1793321489,active,LWLock,WALWrite,7,200
1793321489,active,Lock,transactionid,34,200
1793321489,active,Lock,tuple,8,200
1793321489,idle,Client,ClientRead,4,200
1793321491,active,,,1,200
1793321491,active,Client,ClientRead,4,200
1793321491,active,IO,WalSync,1,200
1793321491,active,LWLock,WALWrite,7,200
1793321491,active,Lock,transactionid,36,200
1793321491,active,Lock,tuple,13,200
1793321491,idle,Lock,transactionid,2,200
1793321492,active,,,3,200
1793321492,active,IO,WalSync,1,200
1793321492,active,LWLock,LockManager,4,200
1793321492,active,LWLock,WALWrite,6,200
1793321492,active,Lock,transactionid,34,200
1793321492,active,Lock,tuple,13,200
1793321492,idle,Client,ClientRead,3,200
1793321493,idle,Client,ClientRead,64,200
1 ts state wait_event_type wait_event backends max_connections
2 1793321451 idle Client ClientRead 8 200
3 1793321452 active 2 200
4 1793321452 active Client ClientRead 1 200
5 1793321452 active IO WalSync 1 200
6 1793321452 active LWLock LockManager 1 200
7 1793321452 active LWLock WALWrite 6 200
8 1793321452 active Lock transactionid 30 200
9 1793321452 active Lock tuple 18 200
10 1793321452 idle Client ClientRead 5 200
11 1793321454 active IO WalSync 1 200
12 1793321454 active LWLock WALWrite 9 200
13 1793321454 active Lock transactionid 39 200
14 1793321454 active Lock tuple 11 200
15 1793321454 idle Client ClientRead 4 200
16 1793321455 active 4 200
17 1793321455 active IO WalSync 1 200
18 1793321455 active LWLock LockManager 2 200
19 1793321455 active LWLock WALWrite 3 200
20 1793321455 active Lock transactionid 31 200
21 1793321455 active Lock tuple 19 200
22 1793321455 idle Client ClientRead 4 200
23 1793321456 active IO WalSync 1 200
24 1793321456 active LWLock WALWrite 9 200
25 1793321456 active Lock transactionid 47 200
26 1793321456 active Lock tuple 4 200
27 1793321456 idle Client ClientRead 3 200
28 1793321457 active 1 200
29 1793321457 active IO WalSync 1 200
30 1793321457 active LWLock WALWrite 8 200
31 1793321457 active Lock transactionid 44 200
32 1793321457 active Lock tuple 4 200
33 1793321457 idle Client ClientRead 6 200
34 1793321458 active IO WalSync 1 200
35 1793321458 active LWLock WALWrite 9 200
36 1793321458 active Lock transactionid 43 200
37 1793321458 active Lock tuple 6 200
38 1793321458 idle 1 200
39 1793321458 idle Client ClientRead 4 200
40 1793321459 active 3 200
41 1793321459 active Client ClientRead 6 200
42 1793321459 active IO WalSync 1 200
43 1793321459 active LWLock LockManager 2 200
44 1793321459 active LWLock WALInsert 1 200
45 1793321459 active LWLock WALWrite 3 200
46 1793321459 active Lock transactionid 38 200
47 1793321459 active Lock tuple 5 200
48 1793321459 idle 1 200
49 1793321459 idle Client ClientRead 1 200
50 1793321459 idle Lock transactionid 3 200
51 1793321460 active 4 200
52 1793321460 active IO WalSync 1 200
53 1793321460 active LWLock LockManager 5 200
54 1793321460 active LWLock WALWrite 7 200
55 1793321460 active Lock transactionid 36 200
56 1793321460 active Lock tuple 8 200
57 1793321460 idle Lock tuple 3 200
58 1793321462 active 1 200
59 1793321462 active Client ClientRead 1 200
60 1793321462 active IO WalSync 1 200
61 1793321462 active LWLock WALWrite 8 200
62 1793321462 active Lock transactionid 31 200
63 1793321462 active Lock tuple 15 200
64 1793321462 idle 1 200
65 1793321462 idle Client ClientRead 5 200
66 1793321462 idle Lock transactionid 1 200
67 1793321463 active 8 200
68 1793321463 active Client ClientRead 1 200
69 1793321463 active IO WalSync 1 200
70 1793321463 active LWLock WALWrite 5 200
71 1793321463 active Lock transactionid 25 200
72 1793321463 active Lock tuple 18 200
73 1793321463 idle 1 200
74 1793321463 idle Client ClientRead 5 200
75 1793321464 active 3 200
76 1793321464 active Client ClientRead 1 200
77 1793321464 active IO WalSync 1 200
78 1793321464 active LWLock WALWrite 5 200
79 1793321464 active Lock transactionid 32 200
80 1793321464 active Lock tuple 18 200
81 1793321464 idle 2 200
82 1793321464 idle Client ClientRead 2 200
83 1793321465 active 3 200
84 1793321465 active Client ClientRead 3 200
85 1793321465 active IO WalSync 1 200
86 1793321465 active LWLock WALWrite 6 200
87 1793321465 active Lock transactionid 45 200
88 1793321465 active Lock tuple 2 200
89 1793321465 idle Client ClientRead 1 200
90 1793321465 idle Lock transactionid 1 200
91 1793321465 idle Lock tuple 2 200
92 1793321466 active 2 200
93 1793321466 active IO WalSync 1 200
94 1793321466 active LWLock WALWrite 4 200
95 1793321466 active Lock transactionid 39 200
96 1793321466 active Lock tuple 8 200
97 1793321466 idle Client ClientRead 10 200
98 1793321467 active 3 200
99 1793321467 active LWLock WALWrite 8 200
100 1793321467 active Lock transactionid 37 200
101 1793321467 active Lock tuple 14 200
102 1793321467 idle Client ClientRead 2 200
103 1793321469 active Client ClientRead 1 200
104 1793321469 active IO WalSync 1 200
105 1793321469 active LWLock LockManager 4 200
106 1793321469 active LWLock WALWrite 8 200
107 1793321469 active Lock transactionid 33 200
108 1793321469 active Lock tuple 7 200
109 1793321469 idle Client ClientRead 10 200
110 1793321470 active 1 200
111 1793321470 active Client ClientRead 6 200
112 1793321470 active IO WalSync 1 200
113 1793321470 active LWLock WALWrite 6 200
114 1793321470 active Lock transactionid 24 200
115 1793321470 active Lock tuple 19 200
116 1793321470 idle 2 200
117 1793321470 idle Lock transactionid 4 200
118 1793321470 idle Lock tuple 1 200
119 1793321471 active 1 200
120 1793321471 active Client ClientRead 2 200
121 1793321471 active IO WalSync 1 200
122 1793321471 active LWLock WALWrite 8 200
123 1793321471 active Lock transactionid 46 200
124 1793321471 active Lock tuple 1 200
125 1793321471 idle Client ClientRead 5 200
126 1793321472 active 3 200
127 1793321472 active Client ClientRead 2 200
128 1793321472 active IO WalSync 1 200
129 1793321472 active LWLock WALWrite 8 200
130 1793321472 active Lock transactionid 36 200
131 1793321472 active Lock tuple 9 200
132 1793321472 idle Client ClientRead 4 200
133 1793321472 idle Lock transactionid 1 200
134 1793321473 active 2 200
135 1793321473 active IO WalSync 1 200
136 1793321473 active LWLock WALWrite 7 200
137 1793321473 active Lock transactionid 37 200
138 1793321473 active Lock tuple 9 200
139 1793321473 idle Client ClientRead 8 200
140 1793321474 active 3 200
141 1793321474 active IO WalSync 1 200
142 1793321474 active LWLock WALWrite 5 200
143 1793321474 active Lock transactionid 19 200
144 1793321474 active Lock tuple 29 200
145 1793321474 idle 1 200
146 1793321474 idle Client ClientRead 6 200
147 1793321476 active 3 200
148 1793321476 active Client ClientRead 2 200
149 1793321476 active IO WalSync 1 200
150 1793321476 active LWLock LockManager 6 200
151 1793321476 active LWLock WALWrite 6 200
152 1793321476 active Lock transactionid 39 200
153 1793321476 active Lock tuple 6 200
154 1793321476 idle Lock tuple 1 200
155 1793321477 active Client ClientRead 2 200
156 1793321477 active IO WalSync 1 200
157 1793321477 active LWLock WALWrite 8 200
158 1793321477 active Lock transactionid 25 200
159 1793321477 active Lock tuple 19 200
160 1793321477 idle 2 200
161 1793321477 idle Client ClientRead 5 200
162 1793321477 idle Lock transactionid 1 200
163 1793321477 idle Lock tuple 1 200
164 1793321478 active 1 200
165 1793321478 active IO WalWrite 1 200
166 1793321478 active LWLock WALWrite 8 200
167 1793321478 active Lock transactionid 32 200
168 1793321478 active Lock tuple 9 200
169 1793321478 idle 2 200
170 1793321478 idle Client ClientRead 9 200
171 1793321478 idle Lock transactionid 2 200
172 1793321479 active 3 200
173 1793321479 active Client ClientRead 1 200
174 1793321479 active LWLock WALWrite 7 200
175 1793321479 active Lock transactionid 31 200
176 1793321479 active Lock tuple 13 200
177 1793321479 idle 2 200
178 1793321479 idle Client ClientRead 6 200
179 1793321479 idle Lock transactionid 1 200
180 1793321480 active 2 200
181 1793321480 active IO WalSync 1 200
182 1793321480 active LWLock WALWrite 6 200
183 1793321480 active Lock transactionid 48 200
184 1793321480 active Lock tuple 2 200
185 1793321480 idle Client ClientRead 5 200
186 1793321481 active 4 200
187 1793321481 active Client ClientRead 1 200
188 1793321481 active LWLock WALWrite 6 200
189 1793321481 active Lock transactionid 34 200
190 1793321481 active Lock tuple 16 200
191 1793321481 idle Client ClientRead 3 200
192 1793321482 active 2 200
193 1793321482 active LWLock LockManager 3 200
194 1793321482 active LWLock WALWrite 8 200
195 1793321482 active Lock transactionid 38 200
196 1793321482 active Lock tuple 11 200
197 1793321482 idle Client ClientRead 2 200
198 1793321484 active 1 200
199 1793321484 active IO WalSync 1 200
200 1793321484 active LWLock WALWrite 9 200
201 1793321484 active Lock transactionid 47 200
202 1793321484 active Lock tuple 5 200
203 1793321484 idle Lock tuple 1 200
204 1793321485 active 1 200
205 1793321485 active IO WalSync 1 200
206 1793321485 active LWLock WALWrite 8 200
207 1793321485 active Lock transactionid 37 200
208 1793321485 active Lock tuple 12 200
209 1793321485 idle Client ClientRead 5 200
210 1793321486 active Client ClientRead 1 200
211 1793321486 active IO WalSync 1 200
212 1793321486 active LWLock WALWrite 7 200
213 1793321486 active Lock transactionid 45 200
214 1793321486 active Lock tuple 6 200
215 1793321486 idle 1 200
216 1793321486 idle Client ClientRead 3 200
217 1793321487 active 2 200
218 1793321487 active IO WalSync 1 200
219 1793321487 active LWLock WALWrite 6 200
220 1793321487 active Lock transactionid 35 200
221 1793321487 active Lock tuple 13 200
222 1793321487 idle Client ClientRead 7 200
223 1793321488 active 4 200
224 1793321488 active IO WalSync 1 200
225 1793321488 active LWLock LockManager 2 200
226 1793321488 active LWLock WALWrite 4 200
227 1793321488 active Lock transactionid 38 200
228 1793321488 active Lock tuple 5 200
229 1793321488 idle 1 200
230 1793321488 idle Client ClientRead 9 200
231 1793321489 active 1 200
232 1793321489 active IO WalSync 1 200
233 1793321489 active LWLock LockManager 9 200
234 1793321489 active LWLock WALWrite 7 200
235 1793321489 active Lock transactionid 34 200
236 1793321489 active Lock tuple 8 200
237 1793321489 idle Client ClientRead 4 200
238 1793321491 active 1 200
239 1793321491 active Client ClientRead 4 200
240 1793321491 active IO WalSync 1 200
241 1793321491 active LWLock WALWrite 7 200
242 1793321491 active Lock transactionid 36 200
243 1793321491 active Lock tuple 13 200
244 1793321491 idle Lock transactionid 2 200
245 1793321492 active 3 200
246 1793321492 active IO WalSync 1 200
247 1793321492 active LWLock LockManager 4 200
248 1793321492 active LWLock WALWrite 6 200
249 1793321492 active Lock transactionid 34 200
250 1793321492 active Lock tuple 13 200
251 1793321492 idle Client ClientRead 3 200
252 1793321493 idle Client ClientRead 64 200