Repository navigation
Research Report #001 — Apple Silicon Unified Memory: Findings, Evidence & Architectural Implications #493
Replies: 2 comments 1 reply
|
Thanks for the thorough report and for the evidence audit. I went through the publication and recomputed the headline numbers from the raw result files. The numbers hold up. I found no invented results. My verdict is ready with fixes. None of the fixes needs a new experiment. Top issues to fix before the announcement:
Smaller items are in my full notes. They cover the missing public Apple and Microsoft citations, M4-only and single-session labels on the footprint result, the Warning memory pressure on the M5 sweeps, and a chart 05 alias session count. AI disclosure: this review was AI-assisted and checked by devil8blade. |
|
This is mad good! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Contents: TL;DR · Overview · Unified memory · Findings · Architecture · Charts · Integrity audit · BetterXen · Other porters · Limitations · Questions · Credits · Evidence
TL;DR
Potential, not measured: less duplicated memory, fewer transfers, less allocation churn, better behavior on 16 GB Macs, better performance and stability. Not shown: physical zero-copy, memory savings, any FPS change, or that a game runs.
Research overview
Unified memory explained
Major findings
E_NOTIMPL13 of 29 register entries have independent acceptance within narrow scopes; 11 are unknown, 3 failed, 2 unsupported.
Architecture today and candidate
Key experimental charts
A 12-byte copy from a 64 MiB buffer completed in a fraction of the time of copying all of it. This bounds one window; it does not prove there is no copy.
One defect to settle first
This is in unmerged PR #486 at
c13f9c7(checked 2026-11-26: open, changes requested for other issues).maindoes not have it. It is derived from source, not observed in a run.GPU intervals, shader timings and the rest are in the technical findings.
Did the AI agents hallucinate?
No evidence was found that any experiment or number was invented. The published figures that were recomputed from raw logs matched, including 5,040 copy comparisons, 576 compute comparisons (all 720 samples re-derived from source) and 6,012 fragmentation snapshots.
It did find real problems:
Limits of this answer: a retrospective audit cannot authenticate historical GPU runs. Nothing was rerun on a GPU. The same agent integrated the research, so this is not independent review. Reviews on both sides were done by AI agents.
Full table of claims, checks and verdicts: evidence audit.
Implications for BetterXen
If a later implementation is correct and measured, eligible-buffer ownership might reduce duplicate memory and transfers, pooling might reduce churn, and one atomic budget with fenced lifetimes would make behavior more reliable, which matters most on 16 GB Macs. None of this has been measured in BetterXen.
It does not solve shader translation, CPU instruction compatibility, missing graphics API coverage, DirectStorage, other runtime services, failure recovery, game compatibility or frame rate. It is likely a coordinated change across several components, not one pull request.
Relevance to other porters
General: unified memory does not remove copies by itself; a usable pointer does not prove shared pages; flat latency does not prove no copy; fence the last use before reuse; footprint is not residency. Specific to CrossOver 26.3, D3DMetal 3.0, M4 and M5: the
E_NOTIMPLimports, the alignment values, the accepted invalid placements and the retention behavior. A separate announcement draft exists for porters outside this repository. It is not published; that needs the maintainers' and contributors' agreement.Outstanding limitations
wineserver -wis still ignored by the harness.No newer evidence resolving these was found on #473 as of publication.
Questions for our next architecture discussion
For @Arths17, @atesahmet0, @CarReal8917, @devil8blade and anyone else. Nothing is decided or assigned.
Proposed correctness order from the reviewed roadmap, for discussion only: combined budget → lifetime and failure handling → placement validation → receipt finalization, then allocator, storage and write-watch work. #473 is not a new blocker for #464.
Contributors
2elliti: early M5 baseline reproduction, a separately written probe report and review notes that sharpened what the baseline could show, with Claude Code.devil8bladeowns [M2-C1] d3d12_xs: D3D12ConfigureVirtualMemoryX and xmem-backed placed resources #464 and PR [M2-C1] Back configured D3D12 regions with one WRITE_BACK heap (#464) #486, which this research informs.Report, evidence and reproduction
f8810a48: record · joint report · register · roadmap · #464 handoff · raw resultsdocs/473-unified-memory-research-publicationat0aaa81ab. No pull request.Nothing here is verified on Xbox hardware. Corrections and contradicting results are welcome as replies.
All reactions