Skip to content

eval: §6.3 rerun with one-scrape instant RQEs - #220

Merged
milindsrivastava1997 merged 1 commit into
mainfrom
eval/s63-rerun-instant-scrape
Oct 26, 2026
Merged

milindsrivastava1997 merged 1 commit into
mainfrom
eval/s63-rerun-instant-scrape

Conversation

@milindsrivastava1997

Copy link
Copy Markdown
Contributor

Summary

Reruns §6.3 (autosketch-vs-asap-hydra) and the accuracy-target sweep (autosketch-vs-asap-targets) with #215's one-scrape instant RQEs. sum by (job) and quantile by (job) now look back 5 ms at 200/s, one sample per series (N = 1e3 per job), instead of 1 s (N = 2e5). The inputs are main's committed ones: #213's curves, cost table and Hydra study.

  • Tables: re-exported with --keep-duplicate-queries. Only the 8 classic and all tables change, and only their 6 instant RQEs per metric (ids, e2e blocks and every other RQE are identical). The 4 multi-grouping tables are byte-identical, so their results stand.
  • Reruns, for the 8 changed tables: --runs 3 --no-chosen results at 95%, plans (--runs 1, extracted), and the 90%/99% runs.
  • AutoSketch benchmark times: reused. autosketch_benchmark_time.py found no new probes.
  • Figures, summary_*.md and both READMEs regenerated.

Results (cheapest plan, CPU weights, vCPU)

Workload ASAP ASAP (no roll-ups) PerQuery AutoSketch ASAP deployments
mixed 2.35 → 2.71 2.35 → 2.71 7.67 2,701 6 → 7
mixed, m = 16 37.6 → 43.4 37.6 → 43.4 123 43,221 96 → 112
mixed + multi-grouping 2.57 → 2.93 2.90 → 3.26 8.74 2,711 11 → 12
mixed + multi-grouping, m = 16 41.1 → 46.9 46.4 → 52.2 140 43,375 176 → 192
multi-grouping unchanged
  • ASAP rises ~15% on CPU and ~9% on Fargate, with +1 deployment per metric. sum by (job) (sum_over_time) used to share the instant 1 s exact-sum deployment. With the instant window at 5 ms it gets its own, which ingests the stream again (~0.36 vCPU per metric).
  • PerQuery and AutoSketch are unchanged, since they never shared that deployment. So are the latency bounds, AutoSketch's probes, and the roll-up counts.
  • No conclusion changes. ASAP stays 2.8–3.0× below PerQuery on mixed (1.7–3.0× at every SLA) and ~1,000× below AutoSketch. Roll-ups save 10% on mixed + multi-grouping (was 11%).
  • Targets: 90% still equals 95%. At 99%, mixed is 2.90 and mixed + multi-grouping 3.53 vCPU. Every run has 0 RQEs dropped and 0 sanity violations; study: denser KLL/DDSketch grid and Hydra W 65536; §6.3 rerun #213's solver-tolerance violation on all-shared8 at 99% is gone.

Design decisions (please approve)

  1. The multi-grouping results aren't rerun. Their tables are byte-identical, the same approach as the 2026-10-13 rerun.
  2. AutoSketch benchmark times are reused. No new (sketch, config, shape) probe appeared, so the script measured nothing.
  3. The reruns ran serially on a 16-core desktop, not idle cluster nodes. Costs are deterministic, so they're unaffected. Planning times of the mixed rows now come from a different machine than the multi-grouping rows; the README says to compare them only to about 2×. If the planning-time figure needs one machine, the 8 tables (~45 min serially here) should be rerun on a cluster node.

Testing

  • The export reproduces the committed multi-grouping tables byte for byte. For classic and all it changes only the instant RQEs.
  • All 8 changed tables: 0 RQEs dropped, every chosen accuracy measured.

🤖 Generated with Claude Code

Re-exports the 8 classic and all tables of autosketch-vs-asap-hydra
(--keep-duplicate-queries; only the instant RQEs change, now 5 ms) and
reruns them: --runs 3 results, --runs 1 plans, and the 90%/99% runs of
autosketch-vs-asap-targets. The multi-grouping tables are unchanged, so
their results stand. AutoSketch's probes are unchanged, so benchmark times
are reused. Figures, summaries and READMEs regenerated.

ASAP's cheapest CPU rises ~15% on mixed and mixed + multi-grouping (one more
exact-sum deployment per metric); PerQuery, AutoSketch and latency bounds
are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@milindsrivastava1997
milindsrivastava1997 merged commit bd054ea into main Oct 26, 2026
2 checks passed
milindsrivastava1997 pushed a commit that referenced this pull request Oct 26, 2026
The 8 classic and all tables' 95% runs, rerun on clnode109/155/167/178 (the
multi-grouping runs' nodes, each running its share serially), so every
planning time comes from one node type. Every cost, latency, frontier point
and SLA result matches #220's desktop run exactly; only planning times
change (CloudLab is 2-2.7x slower). Planning-time figure and table updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
milindsrivastava1997 pushed a commit that referenced this pull request Oct 26, 2026
…e type) (#221)

* eval: §6.3 95% results of the 8 changed tables rerun on CloudLab

The 8 classic and all tables' 95% runs, rerun on clnode109/155/167/178 (the
multi-grouping runs' nodes, each running its share serially), so every
planning time comes from one node type. Every cost, latency, frontier point
and SLA result matches #220's desktop run exactly; only planning times
change (CloudLab is 2-2.7x slower). Planning-time figure and table updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* eval: §6.3 paper figures and the §6.3.1 case studies

- scripts/plot_sec63_paper.py: the paper's cost bars (replacing Table 5),
  frontier (without the no-roll-up line) and roll-up ablation, from the
  committed results, into autosketch-vs-asap-hydra/paper/.
- scripts/export_case_studies.py and results/case-studies-6.3.1/: the
  performance-monitoring and anomaly-detection workloads, every method's
  plan (chosen kept), and a README of what each method deploys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* plot_sec63_paper: cost bars drawn at print size (figure* 7 in, and a stacked 3.4 in column version), larger fonts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* plot_sec63_paper: larger fonts in the figure* cost bars; one label per bar (ASAP's cost, each baseline's multiple), no overlaps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* plot_sec63_paper: figure* cost bars trimmed to the drawing; larger axis titles; ASAP's cost on its bar, baseline multiples inside theirs, darker bar colors

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* plot_sec63_paper: cost bars on one set of axes at one column's width; LiteOlly, LiteOllyPerQuery, AutoSketch baseline; W-RangeHeavy/W-RollupHeavy/W-Mixed (the three-panel version kept as sec63_cost_bars_wide)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* plot_sec63_paper: the single-axes cost bars under Fargate prices too (sec63_cost_bars_fargate)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@milindsrivastava1997
milindsrivastava1997 deleted the eval/s63-rerun-instant-scrape branch October 26, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant