Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

benchmarks: fit LadybugDB's graph arm to the cell; stage qOA5 re-runs its OLTP rows (#19) - #20

Merged
tae898 merged 1 commit into
mainfrom
l2/ladybug-fit
Sep 29, 2026
Merged

tae898 merged 1 commit into
mainfrom
l2/ladybug-fit

Conversation

@tae898

@tae898 tae898 commented Sep 29, 2026

Copy link
Copy Markdown

Closes #19.

What changed

  • l2_graph.py: _ladybug_fit() returns the thread count from sched_getaffinity and a buffer pool of 0.8 of the cgroup's memory.max (None without a cgroup limit, leaving the engine's default). LadybugGraph._open_fitted() opens the database with both in connect() and reopen(), reads the thread count back through current_setting, and puts ladybug_threads and ladybug_buffer_pool_mib on the row.
  • page_check.py: the two fields registered as not printed (FAIRNESS F6).
  • FAIRNESS.md: LadybugDB's row in the F6 audit table.
  • make_october_stages.py: an optional spec[10] naming the stage to wait on, and qOA5 (LadybugDB alone, l2 OLTP at sf1 and sf10, both durability classes), waiting on qOM, the chain's hand-written last stage, so it cannot run beside qOL.
  • CAMPAIGN.md: the chain drawing gains qOA5, and section 7 gains row 23.

How it was verified

  • In a 4-CPU, 4 GB container (python:3.12-slim, ladybug 0.20.4), the lane's adapter at the micro scale completes and the row carries ladybug_threads 4 (read back from the engine) and ladybug_buffer_pool_mib 3276.
  • The generated qOA5.sh waits on qOM ALL-DONE, aborts unless _ladybug_fit is in the tree it pulls, and runs only ladybug_graph; queue_lint.py reports 0 problems. structure_check: gates ok, stage chain ok.
  • In LadybugGraph, row_extra, _open_fitted, and ladybug.Database( are each bound once.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr

@tae898
tae898 merged commit f820ce6 into main Sep 29, 2026
2 checks passed
@tae898
tae898 deleted the l2/ladybug-fit branch September 29, 2026 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LadybugDB's graph arm runs with host-sized threads and buffer pool while the other graph engines are fitted (FAIRNESS F6)

1 participant