Repository navigation
qe-mini1 2026-11-10: a .noindex folder stops XLA's dump waking mediaanalysisd - #59
Merged
Merged
Conversation
…nalysisd #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
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟢 Approval recommended
The review evidence shows a straightforward redirect of macOS XLA dump output into a .noindex directory with corresponding documentation updates and comprehensive validation artifacts (script, logs, samples, and outputs) added, and no unresolved issues are indicated.
No open issues 🎉
What changed in this PR
Redirects macOS mac_float64 probe XLA dumps into a .noindex directory to avoid triggering Spotlight/mediaanalysisd, and adds a dated qe-mini1 run folder documenting an A/B comparison confirming the reduction in background CPU activity.
Changes:
- Write XLA dumps to
xla-dump.noindex/and prune from the new location. - Update probe documentation to reflect the new dump directory and link supporting run notes.
- Add run notes, logs, samples, and probe outputs for the
.noindexvalidation run.
| File | Description |
|---|---|
| precision/runs/2026-11-10/qe-mini1/noindex/state.txt | Records the machine/session state captured for the .noindex validation run window on qe-mini1. |
| precision/runs/2026-11-10/qe-mini1/noindex/session/noindex_check.sh | Adds the script used to alternate plain vs .noindex vs no-dump runs while sampling relevant macOS processes. |
| precision/runs/2026-11-10/qe-mini1/noindex/samples.txt | Provides the per-second CPU/process samples collected during and after each pass for the experiment. |
| precision/runs/2026-11-10/qe-mini1/noindex/run.log | Captures the timestamped execution log for rounds/ways run in the .noindex experiment. |
| precision/runs/2026-11-10/qe-mini1/noindex/README.md | Documents the experiment setup and summarizes observed mediaanalysisd/Spotlight behavior across conditions. |
| precision/runs/2026-11-10/qe-mini1/noindex/cliff-plain.jsonl | Stores the probe output rows for the condition writing the XLA dump to a normal (indexed) folder. |
| precision/runs/2026-11-10/qe-mini1/noindex/cliff-noindex.jsonl | Stores the probe output rows for the condition writing the XLA dump to a .noindex folder. |
| precision/runs/2026-11-10/qe-mini1/noindex/cliff-nodump.jsonl | Stores the probe output rows for the control condition with XLA dumping disabled. |
| precision/probes/mac_float64/run.sh | Changes the dump destination to xla-dump.noindex/ and updates the pruning step to operate on that directory. |
| precision/probes/mac_float64/README.md | Updates probe documentation to name the new .noindex dump directory, note the legacy name, and link the validating run notes. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On 2026-11-06 and 2026-11-09, macOS's
mediaanalysisdwoke within seconds of the cliff step of QuantEcon/project-benchmarks-jax#48's probe, which writes an XLA dump. This is a short check onqe-mini1's M6 (macOS 27.2.1, 26B131, 2026-11-10, 04:06 to 04:14 UTC, logged in at the screen, in a quiet window agreed with the Mac's sessions) of whether a.noindexfolder stops that. It does, so the probe'srun.shnow writes its dump to one.What ran: the probe's cliff step (
probe.pybyte-identical to main's, its four variants at 16,000 and 18,000, about 4 s), three ways, in three rounds, alternating, each pass after a 45 s rest.pssampled the media and Spotlight processes every second.CPU-seconds over each pass and the 45 s after it, one figure a round:
mediaanalysisd.noindexfolder (346 files a pass)mediaanalysisdran at up to 123% of a core for about 33 s after each pass. In a.noindexfolder it did what it did with no dump: a blip of 2 s to 4 s, which also came at the script's own start.ps's CPU is a decaying average. The gap is 15× to 39× round by round, though.addat 16,000 ran 9% slower than in the other two ways (median of three rounds), and two other passes dipped. The other medians agree within 3%.precision/runs/2026-11-10/qe-mini1/noindex/samples.txt, the probe's rows for each way,state.txt,run.log, and the script insession/. The dumps aren't kept.precision/probes/mac_float64/run.shxla-dump.noindex/rather thanxla-dump/, and the pruning step after it follows.precision/probes/mac_float64/README.mdEarlier runs' folders, which hold
xla-dump/, are unchanged. Sincerun.shprunes the dump to the optimised modules, those folders hold 32 files a run; XLA writes about 346.run.shpassesbash -n, and hasn't run since the change.For QuantEcon/project-benchmarks-jax#48's and QuantEcon/project-benchmarks-jax#7's runs on a Mac.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WT8bMZXaSPhPfoP4ShvCrj