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,242 @@
ts,state,wait_event_type,wait_event,backends,max_connections
1793323086,idle,Client,ClientRead,9,200
1793323087,active,Client,ClientRead,14,200
1793323087,active,IO,WalSync,1,200
1793323087,active,LWLock,WALWrite,9,200
1793323087,active,Lock,transactionid,14,200
1793323087,active,Lock,tuple,24,200
1793323087,idle,Client,ClientRead,40,200
1793323088,active,,,2,200
1793323088,active,IO,WalSync,1,200
1793323088,active,LWLock,WALWrite,8,200
1793323088,active,Lock,transactionid,86,200
1793323088,active,Lock,tuple,22,200
1793323088,idle,Client,ClientRead,9,200
1793323089,active,IO,WalSync,1,200
1793323089,active,LWLock,WALWrite,9,200
1793323089,active,Lock,transactionid,109,200
1793323089,active,Lock,tuple,1,200
1793323089,idle,,,4,200
1793323089,idle,Client,ClientRead,4,200
1793323090,active,Client,ClientRead,4,200
1793323090,active,IO,WalSync,1,200
1793323090,active,LWLock,LockManager,1,200
1793323090,active,LWLock,WALWrite,6,200
1793323090,active,Lock,transactionid,97,200
1793323090,active,Lock,tuple,16,200
1793323090,idle,Client,ClientRead,3,200
1793323091,active,,,1,200
1793323091,active,Client,ClientRead,1,200
1793323091,active,IO,WalSync,1,200
1793323091,active,LWLock,WALWrite,8,200
1793323091,active,Lock,transactionid,78,200
1793323091,active,Lock,tuple,29,200
1793323091,idle,Client,ClientRead,10,200
1793323092,active,,,2,200
1793323092,active,Client,ClientRead,1,200
1793323092,active,IO,WalSync,1,200
1793323092,active,LWLock,LockManager,1,200
1793323092,active,LWLock,WALWrite,7,200
1793323092,active,Lock,transactionid,106,200
1793323092,active,Lock,tuple,9,200
1793323092,idle,Client,ClientRead,1,200
1793323094,active,IO,WalSync,1,200
1793323094,active,LWLock,WALWrite,9,200
1793323094,active,Lock,transactionid,95,200
1793323094,active,Lock,tuple,20,200
1793323094,idle,,,1,200
1793323094,idle,Client,ClientRead,2,200
1793323095,active,IO,WalSync,1,200
1793323095,active,LWLock,WALWrite,9,200
1793323095,active,Lock,transactionid,76,200
1793323095,active,Lock,tuple,40,200
1793323095,idle,Client,ClientRead,1,200
1793323095,idle,Lock,transactionid,1,200
1793323096,active,Client,ClientRead,1,200
1793323096,active,IO,WalSync,1,200
1793323096,active,LWLock,LockManager,51,200
1793323096,active,LWLock,WALWrite,8,200
1793323096,active,Lock,transactionid,49,200
1793323096,active,Lock,tuple,13,200
1793323096,idle,Client,ClientRead,4,200
1793323096,idle,Lock,tuple,1,200
1793323097,active,,,2,200
1793323097,active,Client,ClientRead,1,200
1793323097,active,IO,WalSync,1,200
1793323097,active,LWLock,LockManager,14,200
1793323097,active,LWLock,WALWrite,6,200
1793323097,active,Lock,transactionid,41,200
1793323097,active,Lock,tuple,60,200
1793323097,idle,,,1,200
1793323097,idle,Client,ClientRead,2,200
1793323099,active,,,2,200
1793323099,active,IO,WalSync,1,200
1793323099,active,LWLock,WALWrite,8,200
1793323099,active,Lock,transactionid,110,200
1793323099,active,Lock,tuple,5,200
1793323099,idle,Client,ClientRead,2,200
1793323100,active,,,1,200
1793323100,active,Client,ClientRead,2,200
1793323100,active,IO,WalSync,1,200
1793323100,active,LWLock,WALWrite,7,200
1793323100,active,Lock,transactionid,101,200
1793323100,active,Lock,tuple,11,200
1793323100,idle,Client,ClientRead,2,200
1793323100,idle,Lock,tuple,3,200
1793323101,active,,,2,200
1793323101,active,IO,WalSync,1,200
1793323101,active,LWLock,WALWrite,6,200
1793323101,active,Lock,transactionid,30,200
1793323101,active,Lock,tuple,80,200
1793323101,idle,Client,ClientRead,9,200
1793323102,active,,,2,200
1793323102,active,Client,ClientRead,1,200
1793323102,active,IO,WalSync,1,200
1793323102,active,LWLock,LockManager,39,200
1793323102,active,LWLock,WALWrite,8,200
1793323102,active,Lock,transactionid,67,200
1793323102,active,Lock,tuple,4,200
1793323102,idle,Client,ClientRead,5,200
1793323102,idle,Lock,tuple,1,200
1793323103,active,,,1,200
1793323103,active,IO,WalSync,1,200
1793323103,active,LWLock,WALWrite,8,200
1793323103,active,Lock,transactionid,106,200
1793323103,active,Lock,tuple,8,200
1793323103,idle,Client,ClientRead,4,200
1793323104,active,,,1,200
1793323104,active,IO,WalSync,1,200
1793323104,active,LWLock,LockManager,28,200
1793323104,active,LWLock,WALWrite,7,200
1793323104,active,Lock,transactionid,78,200
1793323104,active,Lock,tuple,6,200
1793323104,idle,Client,ClientRead,7,200
1793323105,active,,,1,200
1793323105,active,Client,ClientRead,2,200
1793323105,active,IO,WalSync,1,200
1793323105,active,LWLock,WALWrite,6,200
1793323105,active,Lock,transactionid,35,200
1793323105,active,Lock,tuple,81,200
1793323105,idle,Client,ClientRead,2,200
1793323107,active,,,1,200
1793323107,active,Client,ClientRead,2,200
1793323107,active,IO,WalSync,1,200
1793323107,active,LWLock,LockManager,5,200
1793323107,active,LWLock,WALWrite,5,200
1793323107,active,Lock,transactionid,92,200
1793323107,active,Lock,tuple,6,200
1793323107,idle,,,2,200
1793323107,idle,Client,ClientRead,10,200
1793323107,idle,Lock,transactionid,2,200
1793323107,idle,Lock,tuple,2,200
1793323108,active,IO,WalSync,1,200
1793323108,active,LWLock,LockManager,1,200
1793323108,active,LWLock,WALWrite,8,200
1793323108,active,Lock,transactionid,43,200
1793323108,active,Lock,tuple,62,200
1793323108,idle,,,1,200
1793323108,idle,Client,ClientRead,12,200
1793323109,active,IO,WalSync,1,200
1793323109,active,LWLock,WALWrite,8,200
1793323109,active,Lock,transactionid,110,200
1793323109,active,Lock,tuple,2,200
1793323109,idle,,,2,200
1793323109,idle,Client,ClientRead,5,200
1793323110,active,LWLock,WALWrite,9,200
1793323110,active,Lock,transactionid,86,200
1793323110,active,Lock,tuple,27,200
1793323110,idle,,,1,200
1793323110,idle,Client,ClientRead,5,200
1793323111,active,,,1,200
1793323111,active,IO,WalSync,1,200
1793323111,active,LWLock,WALWrite,7,200
1793323111,active,Lock,transactionid,109,200
1793323111,active,Lock,tuple,4,200
1793323111,idle,,,1,200
1793323111,idle,Client,ClientRead,5,200
1793323112,active,IO,WalSync,1,200
1793323112,active,LWLock,WALWrite,9,200
1793323112,active,Lock,transactionid,102,200
1793323112,active,Lock,tuple,13,200
1793323112,idle,Client,ClientRead,2,200
1793323112,idle,Lock,transactionid,1,200
1793323113,active,,,1,200
1793323113,active,IO,WalSync,1,200
1793323113,active,LWLock,WALWrite,8,200
1793323113,active,Lock,transactionid,105,200
1793323113,active,Lock,tuple,9,200
1793323113,idle,Client,ClientRead,3,200
1793323113,idle,Lock,tuple,1,200
1793323115,active,,,3,200
1793323115,active,Client,ClientRead,2,200
1793323115,active,IO,WalSync,1,200
1793323115,active,LWLock,LockManager,25,200
1793323115,active,LWLock,WALWrite,6,200
1793323115,active,Lock,transactionid,59,200
1793323115,active,Lock,tuple,26,200
1793323115,idle,Client,ClientRead,6,200
1793323116,active,IO,WalSync,1,200
1793323116,active,LWLock,LockManager,5,200
1793323116,active,LWLock,WALWrite,9,200
1793323116,active,Lock,transactionid,60,200
1793323116,active,Lock,tuple,50,200
1793323116,idle,,,1,200
1793323116,idle,Client,ClientRead,2,200
1793323116,idle,Lock,tuple,1,200
1793323117,active,IO,WalSync,1,200
1793323117,active,LWLock,WALWrite,9,200
1793323117,active,Lock,transactionid,105,200
1793323117,active,Lock,tuple,7,200
1793323117,idle,Client,ClientRead,6,200
1793323118,active,,,1,200
1793323118,active,Client,ClientRead,1,200
1793323118,active,IO,WalSync,1,200
1793323118,active,LWLock,LockManager,3,200
1793323118,active,LWLock,WALWrite,7,200
1793323118,active,Lock,transactionid,98,200
1793323118,active,Lock,tuple,14,200
1793323118,idle,Client,ClientRead,2,200
1793323118,idle,Lock,transactionid,1,200
1793323119,active,,,2,200
1793323119,active,Client,ClientRead,3,200
1793323119,active,IO,WalSync,2,200
1793323119,active,LWLock,BufferContent,24,200
1793323119,active,LWLock,LockManager,8,200
1793323119,active,LWLock,WALWrite,5,200
1793323119,active,Lock,transactionid,63,200
1793323119,active,Lock,tuple,17,200
1793323119,idle,Client,ClientRead,3,200
1793323119,idle,LWLock,LockManager,1,200
1793323120,active,,,2,200
1793323120,active,IO,WalSync,1,200
1793323120,active,LWLock,LockManager,23,200
1793323120,active,LWLock,WALWrite,6,200
1793323120,active,Lock,transactionid,48,200
1793323120,active,Lock,tuple,44,200
1793323120,idle,Client,ClientRead,4,200
1793323121,active,,,2,200
1793323121,active,LWLock,WALWrite,9,200
1793323121,active,Lock,transactionid,85,200
1793323121,active,Lock,tuple,32,200
1793323123,active,IO,WalSync,1,200
1793323123,active,LWLock,WALWrite,9,200
1793323123,active,Lock,transactionid,104,200
1793323123,active,Lock,tuple,14,200
1793323124,active,IO,WalSync,1,200
1793323124,active,LWLock,WALWrite,9,200
1793323124,active,Lock,transactionid,108,200
1793323124,active,Lock,tuple,7,200
1793323124,idle,,,1,200
1793323124,idle,Client,ClientRead,1,200
1793323124,idle,Lock,tuple,1,200
1793323125,active,LWLock,WALWrite,9,200
1793323125,active,Lock,transactionid,102,200
1793323125,active,Lock,tuple,13,200
1793323125,idle,Client,ClientRead,4,200
1793323126,active,Client,ClientRead,1,200
1793323126,active,IO,WalSync,1,200
1793323126,active,LWLock,WALWrite,7,200
1793323126,active,Lock,transactionid,86,200
1793323126,active,Lock,tuple,27,200
1793323126,idle,Client,ClientRead,6,200
1793323127,idle,Client,ClientRead,128,200
1 ts state wait_event_type wait_event backends max_connections
2 1793323086 idle Client ClientRead 9 200
3 1793323087 active Client ClientRead 14 200
4 1793323087 active IO WalSync 1 200
5 1793323087 active LWLock WALWrite 9 200
6 1793323087 active Lock transactionid 14 200
7 1793323087 active Lock tuple 24 200
8 1793323087 idle Client ClientRead 40 200
9 1793323088 active 2 200
10 1793323088 active IO WalSync 1 200
11 1793323088 active LWLock WALWrite 8 200
12 1793323088 active Lock transactionid 86 200
13 1793323088 active Lock tuple 22 200
14 1793323088 idle Client ClientRead 9 200
15 1793323089 active IO WalSync 1 200
16 1793323089 active LWLock WALWrite 9 200
17 1793323089 active Lock transactionid 109 200
18 1793323089 active Lock tuple 1 200
19 1793323089 idle 4 200
20 1793323089 idle Client ClientRead 4 200
21 1793323090 active Client ClientRead 4 200
22 1793323090 active IO WalSync 1 200
23 1793323090 active LWLock LockManager 1 200
24 1793323090 active LWLock WALWrite 6 200
25 1793323090 active Lock transactionid 97 200
26 1793323090 active Lock tuple 16 200
27 1793323090 idle Client ClientRead 3 200
28 1793323091 active 1 200
29 1793323091 active Client ClientRead 1 200
30 1793323091 active IO WalSync 1 200
31 1793323091 active LWLock WALWrite 8 200
32 1793323091 active Lock transactionid 78 200
33 1793323091 active Lock tuple 29 200
34 1793323091 idle Client ClientRead 10 200
35 1793323092 active 2 200
36 1793323092 active Client ClientRead 1 200
37 1793323092 active IO WalSync 1 200
38 1793323092 active LWLock LockManager 1 200
39 1793323092 active LWLock WALWrite 7 200
40 1793323092 active Lock transactionid 106 200
41 1793323092 active Lock tuple 9 200
42 1793323092 idle Client ClientRead 1 200
43 1793323094 active IO WalSync 1 200
44 1793323094 active LWLock WALWrite 9 200
45 1793323094 active Lock transactionid 95 200
46 1793323094 active Lock tuple 20 200
47 1793323094 idle 1 200
48 1793323094 idle Client ClientRead 2 200
49 1793323095 active IO WalSync 1 200
50 1793323095 active LWLock WALWrite 9 200
51 1793323095 active Lock transactionid 76 200
52 1793323095 active Lock tuple 40 200
53 1793323095 idle Client ClientRead 1 200
54 1793323095 idle Lock transactionid 1 200
55 1793323096 active Client ClientRead 1 200
56 1793323096 active IO WalSync 1 200
57 1793323096 active LWLock LockManager 51 200
58 1793323096 active LWLock WALWrite 8 200
59 1793323096 active Lock transactionid 49 200
60 1793323096 active Lock tuple 13 200
61 1793323096 idle Client ClientRead 4 200
62 1793323096 idle Lock tuple 1 200
63 1793323097 active 2 200
64 1793323097 active Client ClientRead 1 200
65 1793323097 active IO WalSync 1 200
66 1793323097 active LWLock LockManager 14 200
67 1793323097 active LWLock WALWrite 6 200
68 1793323097 active Lock transactionid 41 200
69 1793323097 active Lock tuple 60 200
70 1793323097 idle 1 200
71 1793323097 idle Client ClientRead 2 200
72 1793323099 active 2 200
73 1793323099 active IO WalSync 1 200
74 1793323099 active LWLock WALWrite 8 200
75 1793323099 active Lock transactionid 110 200
76 1793323099 active Lock tuple 5 200
77 1793323099 idle Client ClientRead 2 200
78 1793323100 active 1 200
79 1793323100 active Client ClientRead 2 200
80 1793323100 active IO WalSync 1 200
81 1793323100 active LWLock WALWrite 7 200
82 1793323100 active Lock transactionid 101 200
83 1793323100 active Lock tuple 11 200
84 1793323100 idle Client ClientRead 2 200
85 1793323100 idle Lock tuple 3 200
86 1793323101 active 2 200
87 1793323101 active IO WalSync 1 200
88 1793323101 active LWLock WALWrite 6 200
89 1793323101 active Lock transactionid 30 200
90 1793323101 active Lock tuple 80 200
91 1793323101 idle Client ClientRead 9 200
92 1793323102 active 2 200
93 1793323102 active Client ClientRead 1 200
94 1793323102 active IO WalSync 1 200
95 1793323102 active LWLock LockManager 39 200
96 1793323102 active LWLock WALWrite 8 200
97 1793323102 active Lock transactionid 67 200
98 1793323102 active Lock tuple 4 200
99 1793323102 idle Client ClientRead 5 200
100 1793323102 idle Lock tuple 1 200
101 1793323103 active 1 200
102 1793323103 active IO WalSync 1 200
103 1793323103 active LWLock WALWrite 8 200
104 1793323103 active Lock transactionid 106 200
105 1793323103 active Lock tuple 8 200
106 1793323103 idle Client ClientRead 4 200
107 1793323104 active 1 200
108 1793323104 active IO WalSync 1 200
109 1793323104 active LWLock LockManager 28 200
110 1793323104 active LWLock WALWrite 7 200
111 1793323104 active Lock transactionid 78 200
112 1793323104 active Lock tuple 6 200
113 1793323104 idle Client ClientRead 7 200
114 1793323105 active 1 200
115 1793323105 active Client ClientRead 2 200
116 1793323105 active IO WalSync 1 200
117 1793323105 active LWLock WALWrite 6 200
118 1793323105 active Lock transactionid 35 200
119 1793323105 active Lock tuple 81 200
120 1793323105 idle Client ClientRead 2 200
121 1793323107 active 1 200
122 1793323107 active Client ClientRead 2 200
123 1793323107 active IO WalSync 1 200
124 1793323107 active LWLock LockManager 5 200
125 1793323107 active LWLock WALWrite 5 200
126 1793323107 active Lock transactionid 92 200
127 1793323107 active Lock tuple 6 200
128 1793323107 idle 2 200
129 1793323107 idle Client ClientRead 10 200
130 1793323107 idle Lock transactionid 2 200
131 1793323107 idle Lock tuple 2 200
132 1793323108 active IO WalSync 1 200
133 1793323108 active LWLock LockManager 1 200
134 1793323108 active LWLock WALWrite 8 200
135 1793323108 active Lock transactionid 43 200
136 1793323108 active Lock tuple 62 200
137 1793323108 idle 1 200
138 1793323108 idle Client ClientRead 12 200
139 1793323109 active IO WalSync 1 200
140 1793323109 active LWLock WALWrite 8 200
141 1793323109 active Lock transactionid 110 200
142 1793323109 active Lock tuple 2 200
143 1793323109 idle 2 200
144 1793323109 idle Client ClientRead 5 200
145 1793323110 active LWLock WALWrite 9 200
146 1793323110 active Lock transactionid 86 200
147 1793323110 active Lock tuple 27 200
148 1793323110 idle 1 200
149 1793323110 idle Client ClientRead 5 200
150 1793323111 active 1 200
151 1793323111 active IO WalSync 1 200
152 1793323111 active LWLock WALWrite 7 200
153 1793323111 active Lock transactionid 109 200
154 1793323111 active Lock tuple 4 200
155 1793323111 idle 1 200
156 1793323111 idle Client ClientRead 5 200
157 1793323112 active IO WalSync 1 200
158 1793323112 active LWLock WALWrite 9 200
159 1793323112 active Lock transactionid 102 200
160 1793323112 active Lock tuple 13 200
161 1793323112 idle Client ClientRead 2 200
162 1793323112 idle Lock transactionid 1 200
163 1793323113 active 1 200
164 1793323113 active IO WalSync 1 200
165 1793323113 active LWLock WALWrite 8 200
166 1793323113 active Lock transactionid 105 200
167 1793323113 active Lock tuple 9 200
168 1793323113 idle Client ClientRead 3 200
169 1793323113 idle Lock tuple 1 200
170 1793323115 active 3 200
171 1793323115 active Client ClientRead 2 200
172 1793323115 active IO WalSync 1 200
173 1793323115 active LWLock LockManager 25 200
174 1793323115 active LWLock WALWrite 6 200
175 1793323115 active Lock transactionid 59 200
176 1793323115 active Lock tuple 26 200
177 1793323115 idle Client ClientRead 6 200
178 1793323116 active IO WalSync 1 200
179 1793323116 active LWLock LockManager 5 200
180 1793323116 active LWLock WALWrite 9 200
181 1793323116 active Lock transactionid 60 200
182 1793323116 active Lock tuple 50 200
183 1793323116 idle 1 200
184 1793323116 idle Client ClientRead 2 200
185 1793323116 idle Lock tuple 1 200
186 1793323117 active IO WalSync 1 200
187 1793323117 active LWLock WALWrite 9 200
188 1793323117 active Lock transactionid 105 200
189 1793323117 active Lock tuple 7 200
190 1793323117 idle Client ClientRead 6 200
191 1793323118 active 1 200
192 1793323118 active Client ClientRead 1 200
193 1793323118 active IO WalSync 1 200
194 1793323118 active LWLock LockManager 3 200
195 1793323118 active LWLock WALWrite 7 200
196 1793323118 active Lock transactionid 98 200
197 1793323118 active Lock tuple 14 200
198 1793323118 idle Client ClientRead 2 200
199 1793323118 idle Lock transactionid 1 200
200 1793323119 active 2 200
201 1793323119 active Client ClientRead 3 200
202 1793323119 active IO WalSync 2 200
203 1793323119 active LWLock BufferContent 24 200
204 1793323119 active LWLock LockManager 8 200
205 1793323119 active LWLock WALWrite 5 200
206 1793323119 active Lock transactionid 63 200
207 1793323119 active Lock tuple 17 200
208 1793323119 idle Client ClientRead 3 200
209 1793323119 idle LWLock LockManager 1 200
210 1793323120 active 2 200
211 1793323120 active IO WalSync 1 200
212 1793323120 active LWLock LockManager 23 200
213 1793323120 active LWLock WALWrite 6 200
214 1793323120 active Lock transactionid 48 200
215 1793323120 active Lock tuple 44 200
216 1793323120 idle Client ClientRead 4 200
217 1793323121 active 2 200
218 1793323121 active LWLock WALWrite 9 200
219 1793323121 active Lock transactionid 85 200
220 1793323121 active Lock tuple 32 200
221 1793323123 active IO WalSync 1 200
222 1793323123 active LWLock WALWrite 9 200
223 1793323123 active Lock transactionid 104 200
224 1793323123 active Lock tuple 14 200
225 1793323124 active IO WalSync 1 200
226 1793323124 active LWLock WALWrite 9 200
227 1793323124 active Lock transactionid 108 200
228 1793323124 active Lock tuple 7 200
229 1793323124 idle 1 200
230 1793323124 idle Client ClientRead 1 200
231 1793323124 idle Lock tuple 1 200
232 1793323125 active LWLock WALWrite 9 200
233 1793323125 active Lock transactionid 102 200
234 1793323125 active Lock tuple 13 200
235 1793323125 idle Client ClientRead 4 200
236 1793323126 active Client ClientRead 1 200
237 1793323126 active IO WalSync 1 200
238 1793323126 active LWLock WALWrite 7 200
239 1793323126 active Lock transactionid 86 200
240 1793323126 active Lock tuple 27 200
241 1793323126 idle Client ClientRead 6 200
242 1793323127 idle Client ClientRead 128 200