Skip to content

The cohwl build: flat32, Coherent and QEMU's census as patch series; new numbers - #5

Merged
0xdaniell merged 1 commit into
mainfrom
cohwl-build
Nov 6, 2026
Merged

0xdaniell merged 1 commit into
mainfrom
cohwl-build

Conversation

@0xdaniell

Copy link
Copy Markdown
Owner

What

macbox build now makes cohwl, the build that has run day to day on the reference host since 2026-11-05.

Series Before Now Rebuilds
patches/metal2vulkan on 0db5825a 5 34 m2v 1502180e, tree-identical
patches/reims-vgpu on 7198fe6 4 25 Reims 1f87b16, history made linear, without its local Cargo path wiring and the vendor/qemu pointer
patches/qemu on bd95509 (new) – 9 QEMU 82cef5aac4, tree-identical

Before export, core dumps that had been committed by accident (crates/reims-vgpu-core/core.*, about 150 MB) were removed from the Reims history.

Runtime

  • With the GPU tuning, macbox sets REIMS_VGPU_PRIVATE_SKIP_PAGE_UP=1.
  • MACBOX_COHERENT=on turns on the census, Coherent and the surface_* live switches. It is off by default and experimental. Its crash guard is handled with macbox coherent status|reset.
  • MACBOX_DISK_CACHE now defaults to none, because writeback panicked macOS's NVMe driver under heavy swap. macbox up writes the disk's options again, so a change to the setting applies.

Numbers (docs/performance.md)

iOS Simulator at 3x, GlassBench:

Build fps
upstream 17.2
macbox, Oct 28 39
cohwl 50.6
cohwl with Coherent 70.0

The last two rows come from one A/B in one window. With Coherent, the desktop goes from 105 to 130 presents/s when dragging a window and from 75–79 to 110 when scrolling in Safari. 1x and 2x weren't measured again on cohwl. Coherent stays off by default: it hung the GPU once on its first day, and the cause is still open.

Verified

  • Each series applies with git am to fresh clones of the public upstream repos at the pinned commits. The resulting trees are identical to the production sources: m2v and QEMU tree hashes match exactly, and Reims matches its flattened history.
  • bash -n passes on macbox and build-reims.sh, and python3 site/build.py builds with its link and anchor checks passing.
  • Not run: a full macbox build. The host's disk (40 GB free on /srv/work, with a guard that stops the running VM below 8 GB) and memory were too tight while production and another build were running. The same sources were already built and running in production as cohwl.

🤖 Generated with Claude Code

…new numbers

macbox build now makes the build that has run day to day since 2026-11-05 ("cohwl"):
- patches/metal2vulkan: 34 patches on 0db5825a (was 5), rebuilding m2v 1502180e exactly:
  surface_lazy, trap-coherent surfaces (Coherent), flat32 and the pass timer.
- patches/reims-vgpu: 25 patches on 7198fe6 (was 4), Reims 1f87b16's history made linear,
  without its local build wiring and without core dumps that had been committed by accident.
- patches/qemu: 9 new patches on bd95509, QEMU 82cef5aac4: the touch census and coherent
  pages, with a crash guard. build-reims.sh applies them in vendor/qemu.

macbox:
- REIMS_VGPU_PRIVATE_SKIP_PAGE_UP=1 with the GPU tuning.
- MACBOX_COHERENT=on (off by default, experimental) sets the census, Coherent and the
  surface_* live switches; macbox coherent status|reset for its crash guard.
- MACBOX_DISK_CACHE defaults to none: writeback panicked macOS's NVMe driver under heavy
  swap. macbox up now writes the disk's options again, so a change applies.

Docs, README and the website: 3x Simulator 17.2 (upstream) -> 39 (Oct 28) -> 50.6 (cohwl)
-> 70.0 (Coherent on), the desktop's numbers, what was tried without gain, and why Coherent
stays off by default (a GPU hang on its first day, cause open). The README's hero image is
the website's uncropped capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xdaniell
0xdaniell merged commit 866b1f0 into main Nov 6, 2026
1 check passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T15:51:46.008271Z 6d05d26 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@0xdaniell
0xdaniell deleted the cohwl-build branch November 6, 2026 15:48
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