Repository navigation
Description
Retroactive record. This initiative was designed and delivered before this tracking issue existed. Created closed for project-board completeness.
Summary
Automate on-demand, ephemeral AWS bare-metal benchmark runs of AntHill.Harness. An operator launches a single SkyPilot command; SkyPilot provisions a bare-metal EC2 instance, formats and mounts its instance-store NVMe, builds the harness, runs the declarative benchmark scenario, copies the resulting .typhon-trace files to S3, and terminates the instance — billed per-second, no idle cost.
This is the infrastructure counterpart of #353 (the scriptable AntHill.Harness): #353 makes the run declarative and assertable; this initiative makes the environment it runs in reproducible, disposable, and a single command away.
Motivation
- Local dev machines can't represent a 64/128-core server — the worker-count scaling curve is only meaningful on real bare-metal hardware.
- Bare-metal instances bill ~$10/hr (
m6idn.metal); a permanent box is wasteful for an intermittent benchmark. Ephemeral provisioning +--downteardown is the right cost model. - The benchmark must run whatever is checked out — SkyPilot's
workdirrsyncs the working tree, so no separate publish/deploy step.
What was delivered
Design doc — claude/design/Infrastructure/skypilot-aws-automation.md:
- Full Operator Setup Guide (one-time): WSL + Python + AWS CLI + SkyPilot install; AWS-side config — least-privilege
skypilot-botIAM user, theskypilot-minpolicy,typhon-tracesS3 bucket ineu-west-1, default VPC, 128-vCPU service-quota increase, budget alarm. - Instance-type rationale (
m6idn.metalproduction,c5d.metaldry run,c6gd.metalARM). - "First Launch — Create the Task File & Dry-Run" procedure; S3 trace retrieval via
aws s3 sync.
Task files — bench/aws/:
| File | Purpose |
|---|---|
anthill-bench.sky.yaml |
Production — m6idn.metal, the 500K-ant scenario |
anthill-dryrun.sky.yaml |
Dry run — c5d.metal, small trace-on scenario |
run.sh |
Wrapper — launches the production task with --down |
README.md |
Operator runbook |
Harness scenarios — demo/AntHill/AntHill.Harness/scenarios/anthill-dryrun.yaml (the cheap pipeline-validation scenario).
Validation
- ✅ Dry run on
c5d.metal— provisioning, NVMe mount, build, harness run, trace→S3, teardown all green. - ✅ Production run on
m6idn.metal— 500K-antuniform-t0scenario across the 16/32/64/128 worker sweep; all four runs passed, traces landed ins3://typhon-traces/.
Out of scope / open tail
c6gd.metalARM run — untested matrix cell; also a weak-memory-model correctness probe for the hand-rolled concurrency primitives. Optional, tracked separately if pursued.- Trace analysis of the production sweep is benchmarking work, not infrastructure.
Related
- Depends on: AntHill.Harness: general scriptable sim + engine validation harness #353 (scriptable
AntHill.Harness) - Design:
claude/design/Infrastructure/skypilot-aws-automation.md
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
SkyPilot AWS benchmark automation #362 (#363)