Skip to content

exp: base image on virtio-pmem with DAX (do not merge) - #65

Closed
aledbf wants to merge 9 commits into
mainfrom
exp/pmem-base
Closed

aledbf wants to merge 9 commits into
mainfrom
exp/pmem-base

Conversation

@aledbf

@aledbf aledbf commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Not to merge: the sandbox survey's fifth experiment, run from this ref on the lab with this PR's QEMU and #63's kernel.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

aledbf and others added 9 commits October 1, 2026 06:29
Stock qboot leaves the MTRRs disabled, and Linux maps every range it
memremaps write-back but does not know as RAM uncached-minus: a
virtio-pmem region read at 8.3 MB/s where SeaBIOS, which programs them,
gives 1.1 GB/s (lab runs 36818224412, 36818721809). mtrr.patch does
what SeaBIOS does on the boot CPU: enabled, write-back by default, the
32-bit PCI hole from the top of low RAM to 4 GiB uncacheable.

A firmware change, so a new machine fingerprint.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A QEMU with virtio-pmem-pci, a --pmem flag that maps a raw image as
/dev/pmem0, and TestPageCache's pmem subtest: /usr read twice on the
qcow2 chain against the base on pmem with DAX under an overlayfs on
vda, QEMU's anonymous and file-backed memory at each step.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…data

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@aledbf

aledbf commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Closing: the base on virtio-pmem with DAX is not going ahead - its pages would be shared between the VMs of a host (Flush+Reload side channel), which the user ruled out. What it found stays: qboot left the MTRRs disabled (fixed in #75), and the reclaimers were compared (memory.reclaim kept, shipped in spin #214).

🤖 Generated with Claude Code

@aledbf aledbf closed this Oct 1, 2026
@aledbf
aledbf deleted the exp/pmem-base branch October 1, 2026 15:00
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