Implement linux-actiond - #16
Merged
Merged
Conversation
dzbarsky
force-pushed
the
zbarsky/linux-qemu
branch
3 times, most recently
from
June 13, 2026 17:50
dd9fa48 to
0d64321
Compare
Member
Author
|
x86_64 QEMU microvm/TCG LLVM smoke from GitHub Actions run 27474402783:
The actiond / Linux host Bazel elapsed ratio is 11.327x. QEMU startup to gRPC readiness is 2.044s. Both measurements use the same Linux x86_64 musl target and host platform, the same warmup target, Bazel's default job count, and matching process counts. The earlier q35/TCG result was 2,986.573s actiond / 244.129s host (12.234x), so -zbarskybot |
dzbarsky
force-pushed
the
zbarsky/linux-qemu
branch
3 times, most recently
from
June 13, 2026 23:20
3b8436d to
1202bd5
Compare
dzbarsky
marked this pull request as ready for review
June 13, 2026 23:20
dzbarsky
force-pushed
the
zbarsky/linux-qemu
branch
from
June 13, 2026 23:54
1202bd5 to
0edb7cb
Compare
dzbarsky
force-pushed
the
zbarsky/linux-qemu
branch
from
June 14, 2026 00:25
0edb7cb to
ba79fc7
Compare
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.
Author: zbarsky-bot
Adds ARM64 and x86_64
linux-actiond serve-vmbinaries.linux-actiondembeds QEMU from therules_qemutarget toolchain and executes QEMU, the Linux kernel, the initramfs, the runtime SquashFS, and x86_64qboot.romfrom sealed memfds. Only the persistent guest-ownedcas.ext4file remains under--root.The QEMU configuration requires KVM and host CPU passthrough. x86_64 uses
microvm,acpi=off,pcie=off,x-option-roms=off,rtc=offwith the KVM irqchip. The persistent CAS file usescache=none,aio=io_uring, one IOThread, and four virtio-blk queues. The runtime SquashFS uses a buffered read-only memfd. Both architectures use virtio-mmio block devices andvhost-vsock-device.LLVM smoke timing
GitHub Actions run 27484009487 measured revision
d37b232f53981aab042bc594a6479d434bf1e1f3on x86_64. QEMU/actiond and the Linux host used the same Linux musl target and host platform,//e2e:llvm_exec_warmup, Bazel's default job count, fresh output bases, and matching process counts.QEMU/actiond was 0.985x the Linux host Bazel elapsed time. VM startup to gRPC readiness was 0.615s. The previous QEMU/TCG actiond measurement was 3,117.899s, so KVM reduced actiond elapsed time by 11.58x.
The hosted ARM64 runner does not expose KVM, so CI builds the ARM64 release binary and runs the LLVM comparison on x86_64.