feat(linux): add gapbs NEMU checkpoint workload family#26
Merged
Conversation
Generate SimPoint checkpoint images for the 18 combinations of
{road,twitter,web} x {bfs,sssp,pr,cc,bc,tc}. Kernels build static and
single-threaded; each pre-serialized graph is bundled in the initramfs.
The newc cpio format caps each file at 4 GiB, so graphs at or above that
(all twitter/web cases, 9.5-30 GB) are split into sub-4-GiB parts at build
time and rejoined in the guest through a suffix-carrying named FIFO that
feeds an unmodified GAPBS -- its serialized reader is strictly sequential,
so a pipe suffices. Small graphs are bundled whole. No GAPBS source change,
no guest driver. A README documents the mechanism.
Assisted-by: Claude Opus 4.8
(cherry picked from commit b76c3723d9c28c2b9fafab55cae0fd65c660987a)
poemonsense
approved these changes
Jul 10, 2026
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.
Adds a
gapbsworkload family that produces NEMU SimPoint checkpoint imagesfor the 18
kernel × graphcombinations of {bfs, sssp, pr, cc, bc, tc} ×{road, twitter, web}. See
workloads/linux/gapbs/README.mdfor the fullmechanism.
Large-graph delivery (no GAPBS change)
Serialized graphs are bundled in the initramfs, but the
newccpio formatcaps each file at 4 GiB. Graphs at or above that (all twitter/web, 9.5–30 GB)
are
splitinto sub-4-GiB parts at build time and rejoined in the guest via asuffix-carrying named FIFO (
mkfifo+ streamedcat), feeding an unmodifiedGAPBS — its serialized reader is strictly sequential, so a forward-only pipe
suffices. Small graphs (road) are bundled whole.
Contents
gapbs-package.py— lists cases; cross-compiles the kernel (static,SERIAL=1); stages or splits the graph; writesrun.sh+inittab.rules.mk— 18 per-case build and image targets.build.sh— thin per-case wrapper.source— GAPBS submodule (asrvv-bench/kvmtoolvendor upstream).README.md— case matrix, build commands, the split+FIFO mechanism, memory/DTB notes.