Skip to content

Is the data disk fast enough, and which disk settings does it use?

Answered 2026-10-05: no. Decided 2026-10-06: D, NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. becomes a goal outside the release gate. Option D isn’t one this brief offered. It came up in discussion, and is added below. The decision and its reasons are in the I19I19 (closed): X05-fs-benchmark: Filesystem benchmarkHow does the data disk perform with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads? comment that starts Decision (2026-10-06):. Source: X05-fs-benchmarkX05-fs-benchmark: Filesystem benchmarkData disk with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads. (I19I19 (closed): X05-fs-benchmark: Filesystem benchmarkHow does the data disk perform with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads?). Changes NFR00-indexNFR00-index: Non-functional requirementsHow fast, how small, on which platforms, and how maintainable Wraith Box must be., V1-initialV1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there., S06-vm-lifecycleS06-vm-lifecycle: VM Lifecycle, Images and the Guest AgentHow guest images are built, how VMs are kept warm, how projects and sessions map onto guests, and what wb-guestd does. and S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq…. Feeds I44I44 (closed): S06-vm-lifecycle: data disk durability, and never mount a guest-written diskS06-vm-lifecycle says the data disk "can be rebuilt from host state plus git, so it may use relaxed write-through settings for speed".. Follow-up: I97I97 (open): npm ci in a macOS guest runs at 71% of host speed with every disk settingX05-fs-benchmark (#19) found that npm ci in a macOS guest reaches only 71% of host throughput with the chosen data disk setting (raw image, automatic caching, full sync), below the 80% of NFR02-fs-speed..

share of host throughput, warm, 4 vCPU0%100%80% target717577npm ci137129123git status817278Go incrementalfull sync (chosen)no sync, host cacheguest RAM disk

Figure 1. Guest speed as a share of host speed (medians of five warm runs, raw data image). The relaxed setting (no sync, host cache) is not faster on these workloads than full sync, and npm ci stays under the target even on a RAM disk in the guest, where no virtual disk is involved. The time goes elsewhere in the guest. Details in X05-fs-benchmarkX05-fs-benchmark: Filesystem benchmarkData disk with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads..

When this brief was written, NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. was a V1-M6-release-gateV1-M6-release-gate: Release gateThe Seatbelt profiles of wb-hostd and the sessions, confinement self-checks, warm start and suspend, the full conformance suite and benchmarks, packaging and upgrades. requirement. npm ci misses it by about 9 points, and no disk setting brings it to 80%. The spec stays on full sync under every option.

Keep NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. as written. I97I97 (open): npm ci in a macOS guest runs at 71% of host speed with every disk settingX05-fs-benchmark (#19) found that npm ci in a macOS guest reaches only 71% of host throughput with the chosen data disk setting (raw image, automatic caching, full sync), below the 80% of NFR02-fs-speed. looks for where the guest loses the time (vCPU scheduling, system call cost, APFS work for 17,000 new files) and for a setting Wraith Box controls that gets it to 80%.

Restate NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. as the data disk against a RAM disk in the same guest, and report the host comparison without a target. With full sync the data disk reaches 93% of the guest’s RAM disk on npm ci.

Set 70% for npm ci and keep 80% for the other two workloads.

D. A goal outside the release gate (decided)

Section titled “D. A goal outside the release gate (decided)”

Not in the brief as written. It came up in discussion with the maintainer. NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. stays at about 80% of host throughput, as a goal that V1-M6-release-gateV1-M6-release-gate: Release gateThe Seatbelt profiles of wb-hostd and the sessions, confinement self-checks, warm start and suspend, the full conformance suite and benchmarks, packaging and upgrades. doesn’t pass or fail on. Results vary more between hosts (FileVault, Endpoint Security agents, load, chip generation) than the gap in question. The docs state the overhead as measured: npm ci at 71% of the host on the data disk and 77% on a guest RAM disk, on a loaded host. CPU-bound and memory-bound overhead hasn’t been measured. The docs don’t state a figure for it. I97I97 (open): npm ci in a macOS guest runs at 71% of host speed with every disk settingX05-fs-benchmark (#19) found that npm ci in a macOS guest reaches only 71% of host throughput with the chosen data disk setting (raw image, automatic caching, full sync), below the 80% of NFR02-fs-speed. is unchanged.

RequirementA. Find the causeB. Measure the diskC. Lower targetD. Goal outside the gate
NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. at least 80% of host throughputnot yet metmet, narrowermet, at 70%a goal, not yet met
FR13-claude-stateFR13-claude-state: Claude Code state per projectClaude Code's conversation history, and the state it keeps only in the guest, persist per project, so --resume/--continue work within a project. Claude Code state persists per projectfull syncfull syncfull syncfull sync
NFR03-footprintNFR03-footprint: FootprintIdle VMs suspend after a configurable period. disk use grows only with divergenceraw imageraw imageraw imageraw image
Spec workI97I97 (open): npm ci in a macOS guest runs at 71% of host speed with every disk settingX05-fs-benchmark (#19) found that npm ci in a macOS guest reaches only 71% of host throughput with the chosen data disk setting (raw image, automatic caching, full sync), below the 80% of NFR02-fs-speed., then maybe NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage.NFR00-indexNFR00-index: Non-functional requirementsHow fast, how small, on which platforms, and how maintainable Wraith Box must be., S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq…NFR00-indexNFR00-index: Non-functional requirementsHow fast, how small, on which platforms, and how maintainable Wraith Box must be.NFR00-indexNFR00-index: Non-functional requirementsHow fast, how small, on which platforms, and how maintainable Wraith Box must be., V1-initialV1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there., S06-vm-lifecycleS06-vm-lifecycle: VM Lifecycle, Images and the Guest AgentHow guest images are built, how VMs are kept warm, how projects and sessions map onto guests, and what wb-guestd does., S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq…

No SEC* control changes under any option.

I44I44 (closed): S06-vm-lifecycle: data disk durability, and never mount a guest-written diskS06-vm-lifecycle says the data disk "can be rebuilt from host state plus git, so it may use relaxed write-through settings for speed". (data disk durability) gets its disk settings from this spike: one fully synced data disk. X08-data-diskX08-data-disk: Data disk for homesGuest user homes on a second disk, surviving a system-disk replacement. (I22I22 (closed): X08-data-disk: Data disk for homesCan guest user homes live on a second disk and survive a replacement of the system disk?) is still open for homes on a second disk. wb-vmd disk setup in V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi… can use the S06-vm-lifecycleS06-vm-lifecycle: VM Lifecycle, Images and the Guest AgentHow guest images are built, how VMs are kept warm, how projects and sessions map onto guests, and what wb-guestd does. settings.

Details and glossary

Why the relaxed modes don’t help. npm ci, git status and a Go build write and read a lot of files, but they rarely ask the disk to make writes permanent. The sync mode only changes what happens at that request, so it only shows on programs that make it after each write, like a database or a log that has to be kept through a crash.

Why a process kill isn’t a host crash. When the VM’s process is killed, its writes are already in the host kernel’s memory, and the host writes them out later. Every mode passed that test. A host crash or power loss loses whatever the host hadn’t written out yet, and only full sync makes the host write out each flushed write before telling the guest it’s done.

ASIF. Apple’s newer disk image format, sparse by design. The SDK header says the attachment takes raw images only, but ASIF worked. It never gave space back. The data disk uses raw images.