Skip to content

qe-wharton2 2026-11-06: the problem-type suite on an M5 Pro - #48

Merged
mmcky merged 2 commits into
mainfrom
qe-wharton2-2026-11-06-problems
Nov 7, 2026
Merged

mmcky merged 2 commits into
mainfrom
qe-wharton2-2026-11-06-problems

Conversation

@mmcky

@mmcky mmcky commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

The M5 Pro step that #5 planned: the problem-type suite's four CPU backends on qe-wharton2's Apple M5 Pro, every size in both precisions, beside the M6's run of 2026-11-02 (#25).

What's in it:

  • problems/results/qe-wharton2/2026-11-06.jsonl: the full run's 200 rows, all ok. The --quick check's 36 rows are left out, since the full run repeats their cells.
  • problems/results/qe-wharton2/2026-11-06/: the run notes, the summariser's tables, the machine record, the state before and after the full run, the run's log, and the chain's scripts.
  • problems/README.md: a paragraph pointing at the notes.

What ran: from main at 4ed7c58, on 2026-11-06 from 13:34 to 14:49 UTC, in screen under caffeinate, on AC power with Low Power Mode off. Every step exited 0.

What it shows:

  • Every cell ran, and every answer agreed with NumPy's float64 answer. The only flags are P3's float32 iteration counts, as on the M6 and the Threadripper.
  • At each sweep's largest size in float64, the M5 Pro is 1.45× to 1.90× as fast as the M6 on P1, P4 and P7's batch, warm, where the work spreads across its 18 cores.
  • It's about as fast on P3, and a little slower on one small filter, where most of the work falls on one core. There the M6's core is 11% to 12% faster.

On the redactions: qe-wharton2 is a guest machine, so nothing on it was paused, and its managed endpoint agents ran throughout, at most about 15% of one core. In its process listings their names are redacted, as in the machine's earlier runs.

After the suite, the same session ran QuantEcon/project-benchmarks-jax#48's probe. Its results follow in a PR of their own.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un

#5's planned M5 Pro step: the four CPU backends, every
size in both precisions, 200 cells, all ok, from main at 4ed7c58. The
--quick check's 36 rows are left out. The run notes are in
problems/results/qe-wharton2/2026-11-06/, with the managed software's names
redacted from the machine's process listings, as in its earlier runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change primarily adds benchmark run artifacts and documentation, and the reviewed files largely had no substantive concerns raised beyond minor cleanup notes, indicating no outstanding blockers.

No open issues 🎉

What changed in this PR

This pull request adds and documents a complete problems “problem-type suite” benchmark run on host qe-wharton2 (Apple M5 Pro) dated 2026-11-06, including the captured run artifacts and a small documentation pointer from problems/README.md.

Changes:

  • Add run artifacts under problems/results/qe-wharton2/2026-11-06/ (summary tables, machine/state snapshots, run log, and session scripts).
  • Document the run context and headline comparisons in the run README.
  • Link to the new run notes from problems/README.md.

This pull request requires changes.

File Review notes
problems/​results/​qe-wharton2/​2026-11-06/​summary.md Reviewed; no specific comments raised.
problems/​results/​qe-wharton2/​2026-11-06/​state-before.txt Moderate: marked “redacted for publication” but still contains local username in an absolute path (/Users/matt)—please redact.
problems/​results/​qe-wharton2/​2026-11-06/​state-after.txt Moderate: marked “redacted for publication” but still contains local username in an absolute path (/Users/matt)—please redact.
problems/​results/​qe-wharton2/​2026-11-06/​session/​step.sh Nit: quote path variables to avoid word-splitting/globbing issues. Moderate: handle failed cd safely to avoid running steps from an unexpected directory.
problems/​results/​qe-wharton2/​2026-11-06/​session/​state.sh Reviewed; no specific comments raised.
problems/​results/​qe-wharton2/​2026-11-06/​session/​setup.sh Moderate: uv pip install ... -c ... may not upgrade existing packages without --upgrade, risking a non-pinned environment vs the stated intent.
problems/​results/​qe-wharton2/​2026-11-06/​session/​machine.sh Reviewed; no specific comments raised.
problems/​results/​qe-wharton2/​2026-11-06/​session/​chain.sh Nit: quote path variables; make ok() checks clearer/safer when .done files are missing.
problems/​results/​qe-wharton2/​2026-11-06/​run.log Moderate: contains an absolute output path including local username (/Users/matt)—redact if intended for publication.
problems/​results/​qe-wharton2/​2026-11-06/​README.md Nit: core-type wording (“6 Super and 12 Performance”) should match standard terminology (performance vs efficiency cores) consistent with recorded details.
problems/​results/​qe-wharton2/​2026-11-06/​machine.txt Moderate: despite being marked redacted, still includes local username in a command path (/Users/matt) and in the process list (sshd-session: matt [priv])—please redact.
problems/​README.md Reviewed; no specific comments raised.

Review effort: Balanced

As in the machine's earlier runs, only the console user's and the managed
software's names are. From Copilot's review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMbJUx63ms5Evcjx1Un
@mmcky

mmcky commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Copilot's review notes, from its overview, which has no threads to answer on:

  • /Users/matt in machine.txt, state-before.txt, state-after.txt and run.log: that's the run's own account, which this machine's earlier published records show too, for example lectures/results/qe-wharton2/2026-10-25/whole/state.txt. Only the console user's name and the managed software's names are redacted. In 391dc98 the notes now say so.
  • Quoting, and a failed cd, in session/step.sh and session/chain.sh: these are copies of the scripts as they ran, kept unchanged so that the record matches the run. Every step exited 0, and step.sh logged each step's command.
  • uv pip install ... -c without --upgrade in session/setup.sh: each row's env records the packages the run used: JAX 0.12.0.1, NumPy 2.5.4, SciPy 1.18.1, Numba 0.68.1 and llvmlite 0.50.0. Those are the suite's pins, so nothing drifted. No change.
  • "6 Super and 12 Performance": those are macOS's own names for the M5 Pro's two core types, which each row's cpu_core_types records. The M6's notes use the same names. No change.

@mmcky
mmcky merged commit 133da9b into main Nov 7, 2026
@mmcky
mmcky deleted the qe-wharton2-2026-11-06-problems branch November 7, 2026 09:49
mmcky added a commit that referenced this pull request Nov 9, 2026
…ore's bandwidth on two Macs (#52)

* 2026-11-09: the M6 on macOS 27.2, the Threadripper's cliff, and one core's bandwidth on two Macs

Four runs, for QuantEcon/project-benchmarks-jax#4, #7, #47 and #48's
follow-up:

- precision/runs/2026-11-09/qe-mini1/mac-float64/: #48's probe on the M6
  after its upgrade to macOS 27.2, three runs. Accelerate is level with
  2026-11-06's; JAX's large float64 products are about 6% slower.
- precision/runs/2026-11-09/qe-mini1/checks/: #4's checks again on 27.2,
  unchanged.
- precision/runs/2026-11-09/qe-wharton1-gpu/cliff/: the probe's cliff step
  on the Threadripper. The drop past 2 GiB is YNNPACK's fused reduce on x86
  too.
- problems/checks/bw_probe.py and its runs on the M6 and the M5 Pro, under
  problems/results/<host>/2026-11-09/: P1's serial Numba step runs at a
  quarter of one core's read rate on both.

Two earlier M6 attempts that day, which met macOS background load, are
named in the notes and left out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMYd92TBVnU47VfKZse

* Notes: what the probe's byte counts include, and link the M5 Pro's cliff run

The M6's bandwidth notes now say the counts are of the 1.8 GB arrays only, the
1.2 MB ones staying in cache. Two places that named the M5 Pro's cliff run
linked only the M6's; each now links both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMYd92TBVnU47VfKZse

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
mmcky added a commit that referenced this pull request Nov 10, 2026
…nalysisd (#59)

* qe-mini1 2026-11-10: a .noindex folder stops XLA's dump waking mediaanalysisd

#48's probe's cliff step, three ways in three rounds on the M6 (macOS
27.2.1): the dump in an ordinary folder, in a .noindex folder, and no
dump. In an ordinary folder mediaanalysisd used 37-39 CPU-seconds a
pass and Spotlight indexed the files; in a .noindex folder, 1.6-2.6,
as with no dump (1.0-1.9). The probe's run.sh now writes its dump to
xla-dump.noindex/.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj

* noindex run notes: name the probe's issue with its repository

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants