Files
mtusi2026lab2/evidence/track1/control-cpus/pinned-8x0.5_rate6830_rep3/pg_statements.csv
T
ArtyomandClaude Opus 5.5 f4833c40c0 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
2026-10-30 04:45:55 +03:00

2.6 KiB

1callstotal_msmean_msrowsshared_blks_hitshared_blks_readquery
2175753217456.0651.23717575381198140WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last_message_at + interval '1 microsecond') AS stamp FROM chats c JOIN chat_members m ON m.chat_id = c.id AND m.user_id = $3 WHERE c.id = $2 FOR
3442592439.2140.055225458424138960SELECT id, chat_id, sender_id, text, created_at FROM messages WHERE chat_id = $1 ORDER BY created_at, id LIMIT $2
4442591572.8650.036442593794030SELECT c.id, c.title, c.created_at, ARRAY(SELECT user_id FROM chat_members WHERE chat_id = c.id ORDER BY position) AS member_ids FROM chat_members m JOIN chats c ON c.id = m.chat_id WHERE m.chat_id =
52649421127.8020.004000RESET ALL
6264942432.1830.00226494200SELECT pg_advisory_unlock_all()
7195399.1702.04719592201WITH chat AS ( SELECT c.id, GREATEST($5::timestamptz, c.last_message_at + interval $9) AS stamp FROM chats c JOIN chat_members m ON m.chat_id = c.id AND m.user_id = $3 WHERE c.id = $2 FOR UPDATE OF c
826494258.0520.000000CLOSE ALL
926494240.9280.000000UNLISTEN *
1011.6041.60422511WITH RECURSIVE typeinfo_tree( oid, ns, name, kind, basetype, elemtype, elemdelim, range_subtype, attrtypoids, attrnames, depth) AS ( SELECT ti.oid, ti.ns, ti.name, ti.kind, ti.basetype, ti.elemtype, t
11201.4260.071201281INSERT INTO users (id, username, display_name, password_hash, created_at) VALUES ($1, $2, $3, $4, $5) ON CONFLICT (username) DO NOTHING RETURNING $6
12201.1570.058202540WITH expired AS (DELETE FROM sessions WHERE user_id = $2 AND expires_at <= $3) INSERT INTO sessions (token_hash, user_id, created_at, expires_at) VALUES ($1, $2, $3, $4)
1350.7520.150101610INSERT INTO chat_members (chat_id, user_id, position, chat_created_at) SELECT $1, member.user_id, member.position, $3 FROM unnest($2::uuid[]) WITH ORDINALITY AS member (user_id, position)
1450.6100.122101200INSERT INTO chat_members (chat_id, user_id, position, chat_created_at) SELECT $1, member.user_id, member.position, $3 FROM unnest($2::uuid[]) WITH ORDINALITY AS member (user_id, position)
153840.4790.00138400SELECT 1
16200.2610.01320850SELECT id, username, display_name, password_hash, created_at FROM users WHERE username = $1
17230.2060.00923690SELECT token_hash, user_id, created_at, expires_at FROM sessions WHERE token_hash = $1 AND expires_at > $2
18100.1410.01410260INSERT INTO chats (id, title, created_at) VALUES ($1, $2, $3)
19500.0120.000000BEGIN
20500.0090.000000COMMIT
2110.0040.004100SELECT current_setting($1) AS cur, set_config($2, $3, $4) AS new