forked from mtusi2026/mtusi2026lab3
Record the fixed budget series of track 1
1x4, 2x2 and 4x1 at 4 CPU and 2 GiB of API, workers equal to CPUs, 32 pool connections and 128 balancer slots in every layout, three repeats from 600 to 6 830 rps. All three keep up with the offered load up to 4 560 rps; the peaks are 5 375 rps for 1x4 (5 332..5 384), 4 964 for 2x2 (4 894..5 104) and 4 724 for 4x1 (4 686..4 794). At the peak the API uses 95 % of its four CPUs in every layout, PostgreSQL 82..89 % of its two, the balancer 40 % of one, and about half of the 32 database connections wait for the lock on a chat row. Smaller replicas cost more: at 3 040 rps the API burns 215 % CPU as 1x4, 243 % as 2x2 and about 280 % as 4x1, and p95 at 4 560 rps grows from 9 to 69 and 150 ms. The first attempt was aborted when a neighbour's image build froze the Docker API; its summary is kept under aborted/. Twelve steps of the rerun were rejected as disturbed and repeated. A config's SLO capacity now needs a majority of saturated repeats, since a median is robust to one disturbed repeat and "any repeat" is not. Series B starts at 450 rps per CPU. 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:
co-authored by
Claude Opus 5.5
parent
67f6d6866e
commit
be19abf364
@@ -0,0 +1,234 @@
|
||||
ts,state,wait_event_type,wait_event,backends,max_connections
|
||||
1793216838,idle,Client,ClientRead,30,200
|
||||
1793216839,active,Client,ClientRead,5,200
|
||||
1793216839,active,IO,WalSync,1,200
|
||||
1793216839,active,LWLock,WALWrite,1,200
|
||||
1793216839,active,Lock,transactionid,4,200
|
||||
1793216839,active,Lock,tuple,3,200
|
||||
1793216839,idle,Client,ClientRead,4,200
|
||||
1793216839,idle,Lock,transactionid,2,200
|
||||
1793216839,idle,Lock,tuple,3,200
|
||||
1793216839,idle in transaction,Client,ClientRead,6,200
|
||||
1793216839,idle in transaction,LWLock,WALWrite,1,200
|
||||
1793216839,idle in transaction,Lock,transactionid,1,200
|
||||
1793216839,idle in transaction,Lock,tuple,1,200
|
||||
1793216840,active,,,1,200
|
||||
1793216840,active,IO,WalSync,1,200
|
||||
1793216840,active,LWLock,WALWrite,7,200
|
||||
1793216840,active,Lock,transactionid,9,200
|
||||
1793216840,active,Lock,tuple,12,200
|
||||
1793216840,idle,Client,ClientRead,1,200
|
||||
1793216840,idle in transaction,Client,ClientRead,1,200
|
||||
1793216841,active,,,3,200
|
||||
1793216841,active,IO,WalSync,1,200
|
||||
1793216841,active,LWLock,WALWrite,1,200
|
||||
1793216841,active,Lock,transactionid,11,200
|
||||
1793216841,active,Lock,tuple,1,200
|
||||
1793216841,idle,Client,ClientRead,8,200
|
||||
1793216841,idle in transaction,Client,ClientRead,7,200
|
||||
1793216842,active,,,1,200
|
||||
1793216842,active,Lock,transactionid,10,200
|
||||
1793216842,active,Lock,tuple,5,200
|
||||
1793216842,idle,Client,ClientRead,6,200
|
||||
1793216842,idle in transaction,Client,ClientRead,10,200
|
||||
1793216843,active,,,1,200
|
||||
1793216843,active,Client,ClientRead,5,200
|
||||
1793216843,active,LWLock,BufferContent,1,200
|
||||
1793216843,active,LWLock,WALWrite,1,200
|
||||
1793216843,active,Lock,transactionid,5,200
|
||||
1793216843,active,Lock,tuple,1,200
|
||||
1793216843,idle,Client,ClientRead,15,200
|
||||
1793216843,idle,Lock,transactionid,1,200
|
||||
1793216843,idle in transaction,Client,ClientRead,2,200
|
||||
1793216844,active,,,1,200
|
||||
1793216844,active,Client,ClientRead,1,200
|
||||
1793216844,active,IO,WalSync,1,200
|
||||
1793216844,active,LWLock,WALWrite,2,200
|
||||
1793216844,active,Lock,transactionid,4,200
|
||||
1793216844,idle,Client,ClientRead,20,200
|
||||
1793216844,idle in transaction,Client,ClientRead,3,200
|
||||
1793216846,active,Client,ClientRead,1,200
|
||||
1793216846,active,IO,WalSync,1,200
|
||||
1793216846,active,LWLock,WALWrite,2,200
|
||||
1793216846,active,Lock,transactionid,6,200
|
||||
1793216846,active,Lock,tuple,3,200
|
||||
1793216846,idle,,,1,200
|
||||
1793216846,idle,Client,ClientRead,11,200
|
||||
1793216846,idle in transaction,Client,ClientRead,7,200
|
||||
1793216847,active,,,2,200
|
||||
1793216847,active,Client,ClientRead,1,200
|
||||
1793216847,active,LWLock,WALWrite,1,200
|
||||
1793216847,active,Lock,transactionid,7,200
|
||||
1793216847,active,Lock,tuple,6,200
|
||||
1793216847,active,Timeout,SpinDelay,2,200
|
||||
1793216847,idle,Client,ClientRead,7,200
|
||||
1793216847,idle in transaction,Client,ClientRead,6,200
|
||||
1793216848,active,,,1,200
|
||||
1793216848,active,Client,ClientRead,1,200
|
||||
1793216848,active,LWLock,WALWrite,1,200
|
||||
1793216848,active,Lock,transactionid,10,200
|
||||
1793216848,active,Lock,tuple,9,200
|
||||
1793216848,idle,Client,ClientRead,2,200
|
||||
1793216848,idle in transaction,Client,ClientRead,7,200
|
||||
1793216848,idle in transaction,Lock,tuple,1,200
|
||||
1793216849,active,,,1,200
|
||||
1793216849,active,Client,ClientRead,1,200
|
||||
1793216849,active,IO,WalSync,1,200
|
||||
1793216849,active,LWLock,WALWrite,1,200
|
||||
1793216849,active,Lock,transactionid,9,200
|
||||
1793216849,active,Lock,tuple,6,200
|
||||
1793216849,idle,,,1,200
|
||||
1793216849,idle,Client,ClientRead,6,200
|
||||
1793216849,idle in transaction,,,1,200
|
||||
1793216849,idle in transaction,Client,ClientRead,5,200
|
||||
1793216850,active,Lock,transactionid,12,200
|
||||
1793216850,active,Lock,tuple,7,200
|
||||
1793216850,idle,,,1,200
|
||||
1793216850,idle in transaction,Client,ClientRead,10,200
|
||||
1793216850,idle in transaction,IO,WalSync,1,200
|
||||
1793216850,idle in transaction,LWLock,WALWrite,1,200
|
||||
1793216851,active,IO,WalSync,1,200
|
||||
1793216851,active,LWLock,WALWrite,7,200
|
||||
1793216851,active,Lock,transactionid,11,200
|
||||
1793216851,active,Lock,tuple,7,200
|
||||
1793216851,idle,Client,ClientRead,1,200
|
||||
1793216851,idle in transaction,Client,ClientRead,5,200
|
||||
1793216852,active,,,1,200
|
||||
1793216852,active,Client,ClientRead,1,200
|
||||
1793216852,active,IO,WalSync,1,200
|
||||
1793216852,active,Lock,transactionid,7,200
|
||||
1793216852,active,Lock,tuple,8,200
|
||||
1793216852,idle,Client,ClientRead,9,200
|
||||
1793216852,idle in transaction,,,1,200
|
||||
1793216852,idle in transaction,Client,ClientRead,4,200
|
||||
1793216853,active,,,1,200
|
||||
1793216853,active,Lock,transactionid,7,200
|
||||
1793216853,active,Lock,tuple,2,200
|
||||
1793216853,idle,,,1,200
|
||||
1793216853,idle,Client,ClientRead,15,200
|
||||
1793216853,idle in transaction,,,1,200
|
||||
1793216853,idle in transaction,Client,ClientRead,5,200
|
||||
1793216855,active,,,1,200
|
||||
1793216855,active,IO,WalSync,1,200
|
||||
1793216855,active,Lock,transactionid,7,200
|
||||
1793216855,active,Lock,tuple,2,200
|
||||
1793216855,idle,Client,ClientRead,11,200
|
||||
1793216855,idle in transaction,,,1,200
|
||||
1793216855,idle in transaction,Client,ClientRead,8,200
|
||||
1793216856,active,Client,ClientRead,1,200
|
||||
1793216856,idle,Client,ClientRead,23,200
|
||||
1793216856,idle in transaction,,,1,200
|
||||
1793216856,idle in transaction,Client,ClientRead,7,200
|
||||
1793216857,active,,,2,200
|
||||
1793216857,active,LWLock,WALWrite,5,200
|
||||
1793216857,active,Lock,transactionid,4,200
|
||||
1793216857,active,Lock,tuple,1,200
|
||||
1793216857,idle,Client,ClientRead,18,200
|
||||
1793216857,idle in transaction,Client,ClientRead,2,200
|
||||
1793216858,active,,,2,200
|
||||
1793216858,active,IO,WalSync,1,200
|
||||
1793216858,active,LWLock,WALWrite,1,200
|
||||
1793216858,active,Lock,transactionid,7,200
|
||||
1793216858,active,Lock,tuple,9,200
|
||||
1793216858,idle,Client,ClientRead,7,200
|
||||
1793216858,idle in transaction,Client,ClientRead,5,200
|
||||
1793216859,active,,,1,200
|
||||
1793216859,active,Client,ClientRead,1,200
|
||||
1793216859,active,Lock,transactionid,2,200
|
||||
1793216859,idle,,,1,200
|
||||
1793216859,idle,Client,ClientRead,22,200
|
||||
1793216859,idle in transaction,,,1,200
|
||||
1793216859,idle in transaction,Client,ClientRead,4,200
|
||||
1793216860,active,IO,WalSync,1,200
|
||||
1793216860,idle,,,2,200
|
||||
1793216860,idle,Client,ClientRead,25,200
|
||||
1793216860,idle in transaction,Client,ClientRead,4,200
|
||||
1793216861,active,,,1,200
|
||||
1793216861,active,IO,WalSync,1,200
|
||||
1793216861,active,Lock,transactionid,4,200
|
||||
1793216861,idle,Client,ClientRead,16,200
|
||||
1793216861,idle in transaction,Client,ClientRead,10,200
|
||||
1793216863,active,IO,WalInitSync,1,200
|
||||
1793216863,active,LWLock,WALWrite,9,200
|
||||
1793216863,active,Lock,transactionid,10,200
|
||||
1793216863,active,Lock,tuple,11,200
|
||||
1793216863,idle,Client,ClientRead,1,200
|
||||
1793216864,active,,,1,200
|
||||
1793216864,active,Lock,transactionid,1,200
|
||||
1793216864,idle,Client,ClientRead,21,200
|
||||
1793216864,idle in transaction,Client,ClientRead,8,200
|
||||
1793216865,active,,,1,200
|
||||
1793216865,active,IO,WalSync,1,200
|
||||
1793216865,idle,Client,ClientRead,25,200
|
||||
1793216865,idle in transaction,,,2,200
|
||||
1793216865,idle in transaction,Client,ClientRead,3,200
|
||||
1793216866,active,,,2,200
|
||||
1793216866,active,Client,ClientRead,1,200
|
||||
1793216866,active,LWLock,WALWrite,1,200
|
||||
1793216866,active,Lock,transactionid,6,200
|
||||
1793216866,active,Lock,tuple,4,200
|
||||
1793216866,idle,,,1,200
|
||||
1793216866,idle,Client,ClientRead,12,200
|
||||
1793216866,idle in transaction,,,1,200
|
||||
1793216866,idle in transaction,Client,ClientRead,4,200
|
||||
1793216867,active,IO,WalSync,1,200
|
||||
1793216867,active,LWLock,WALWrite,2,200
|
||||
1793216867,active,Lock,transactionid,5,200
|
||||
1793216867,active,Lock,tuple,7,200
|
||||
1793216867,idle,Client,ClientRead,7,200
|
||||
1793216867,idle in transaction,,,1,200
|
||||
1793216867,idle in transaction,Client,ClientRead,9,200
|
||||
1793216868,active,,,1,200
|
||||
1793216868,active,IO,WalSync,1,200
|
||||
1793216868,active,LWLock,WALWrite,1,200
|
||||
1793216868,active,Lock,transactionid,7,200
|
||||
1793216868,active,Lock,tuple,6,200
|
||||
1793216868,idle,,,1,200
|
||||
1793216868,idle,Client,ClientRead,7,200
|
||||
1793216868,idle in transaction,Client,ClientRead,7,200
|
||||
1793216868,idle in transaction,LWLock,WALWrite,1,200
|
||||
1793216869,active,,,1,200
|
||||
1793216869,idle,Client,ClientRead,27,200
|
||||
1793216869,idle in transaction,Client,ClientRead,3,200
|
||||
1793216869,idle in transaction,IO,DataFileExtend,1,200
|
||||
1793216871,active,,,3,200
|
||||
1793216871,active,Client,ClientRead,1,200
|
||||
1793216871,active,Lock,transactionid,5,200
|
||||
1793216871,idle,Client,ClientRead,15,200
|
||||
1793216871,idle in transaction,,,1,200
|
||||
1793216871,idle in transaction,Client,ClientRead,7,200
|
||||
1793216872,active,,,1,200
|
||||
1793216872,active,IO,WalSync,1,200
|
||||
1793216872,active,LWLock,WALWrite,3,200
|
||||
1793216872,active,Lock,transactionid,3,200
|
||||
1793216872,idle,Client,ClientRead,20,200
|
||||
1793216872,idle in transaction,Client,ClientRead,4,200
|
||||
1793216873,active,,,2,200
|
||||
1793216873,idle,Client,ClientRead,20,200
|
||||
1793216873,idle,Lock,transactionid,3,200
|
||||
1793216873,idle in transaction,Client,ClientRead,4,200
|
||||
1793216873,idle in transaction,IO,WalSync,2,200
|
||||
1793216873,idle in transaction,LWLock,WALWrite,1,200
|
||||
1793216874,active,,,1,200
|
||||
1793216874,active,Lock,transactionid,7,200
|
||||
1793216874,active,Lock,tuple,7,200
|
||||
1793216874,idle,,,1,200
|
||||
1793216874,idle,Client,ClientRead,8,200
|
||||
1793216874,idle in transaction,Client,ClientRead,8,200
|
||||
1793216875,active,,,2,200
|
||||
1793216875,active,IO,WalSync,1,200
|
||||
1793216875,active,Lock,transactionid,9,200
|
||||
1793216875,active,Lock,tuple,10,200
|
||||
1793216875,idle,Client,ClientRead,4,200
|
||||
1793216875,idle in transaction,Client,ClientRead,6,200
|
||||
1793216876,active,,,1,200
|
||||
1793216876,active,Client,ClientRead,1,200
|
||||
1793216876,active,IO,WalSync,1,200
|
||||
1793216876,active,Lock,transactionid,1,200
|
||||
1793216876,idle,,,1,200
|
||||
1793216876,idle,Client,ClientRead,22,200
|
||||
1793216876,idle in transaction,Client,ClientRead,5,200
|
||||
1793216877,active,,,3,200
|
||||
1793216877,idle,Client,ClientRead,24,200
|
||||
1793216877,idle in transaction,Client,ClientRead,5,200
|
||||
1793216878,idle,Client,ClientRead,31,200
|
||||
|
Reference in New Issue
Block a user