83 lines
3.7 KiB
Typst
83 lines
3.7 KiB
Typst
// Filled from suite summary + optional interpretation.
|
||
// Numbers: examples/ryzen9-3900x-rtx3080/summary.json (2026-08-02)
|
||
// Narrative: example write-up for that run — replace or clear for other machines.
|
||
|
||
#let meta = (
|
||
host: "example",
|
||
label: "ryzen9-3900x-rtx3080",
|
||
date: "2026-08-02",
|
||
timestamp: "2026-08-02",
|
||
os: "NixOS (kernel 6.18.40)",
|
||
suite: "scripts/suite.sh",
|
||
focus: "nixos-rebuild · rust/cargo · go",
|
||
// Stated preference for this write-up (not measured)
|
||
preference: "Wait for next AMD desktop gen + post–5070 Ti GPU",
|
||
)
|
||
|
||
#let hardware = (
|
||
cpu: "AMD Ryzen 9 3900X (12C/24T, Zen 2)",
|
||
motherboard: "MSI MPG X570 GAMING PLUS (MS-7C37)",
|
||
bios: "A.R1",
|
||
ram: "32 GiB",
|
||
gpu: "NVIDIA GeForce RTX 3080 10 GB",
|
||
gpu_driver: "595.71.05",
|
||
gpu_pcie: "PCIe 4.0 ×16",
|
||
storage_root: "Samsung 970 PRO 512GB (LUKS+ext4)",
|
||
storage_games: "WD Black SN850X 1TB",
|
||
)
|
||
|
||
#let suite = (
|
||
sysbench_cpu_multi_eps: "8766",
|
||
sysbench_cpu_single_eps: "747",
|
||
sevenzip_total_mips: "78607",
|
||
mem_read_st_mibs: "8024",
|
||
mem_write_st_mibs: "6724",
|
||
fio_seqread_mibs: "2207",
|
||
fio_seqwrite_mibs: "1934",
|
||
go_build_std_cold_s: "5.98",
|
||
go_build_std_warm_s: "0.18",
|
||
cargo_release_cold_s: "9.94",
|
||
cargo_release_recompile_s: "10.17",
|
||
cargo_release_incremental_s: "0.70",
|
||
gcc_96tu_serial_s: "4.53",
|
||
gcc_96tu_parallel_s: "0.29",
|
||
gcc_parallel_speedup: "15.7×",
|
||
nix_eval_foldl_500k_s: "0.115",
|
||
nix_eval_genlist_2000_s: "0.023",
|
||
)
|
||
|
||
// External reference scores (PassMark-style, as-of date). Optional context.
|
||
#let market = (
|
||
as_of: "2026-08-02",
|
||
cpu_mark_this: "31881",
|
||
cpu_mark_this_label: "3900X CPU Mark",
|
||
cpu_mark_ref: "65728",
|
||
cpu_mark_ref_label: "9950X",
|
||
cpu_multi_ratio: "~48%",
|
||
gpu_mark_this: "~25300",
|
||
gpu_mark_this_label: "3080 G3D (est.)",
|
||
gpu_mark_ref: "32354",
|
||
gpu_mark_ref_label: "5070 Ti G3D",
|
||
gpu_ratio: "~78%",
|
||
)
|
||
|
||
// Interpretation layer — opinion, not suite output. Empty strings hide sections.
|
||
// Regenerate with an LLM from summary.json (see COOKBOOK.md).
|
||
#let narrative = (
|
||
enabled: true,
|
||
headline: "Keep for nix / Rust / Go — waiting on platform still coherent",
|
||
summary: "The 3900X still scales on parallel builds (gcc 96 TU speedup vs serial). Go is already fast. Soft limits: 32 GiB RAM, nix eval IPC, and AM4 end-of-life — not the GPU. A midrange GPU buy does nothing for rebuild times. If rebuilds hurt daily, prefer more RAM and/or faster /nix storage before a full CPU platform jump.",
|
||
nix_eval: "Mostly single-thread. This class of Zen 2 is acceptable; newer Zen pulls ahead on IPC/clocks.",
|
||
nix_builds: "Many-TU C/C++/Rust scales well on 24 threads — core count still earns its keep.",
|
||
store_io: "Root LUKS fio is healthy for this run; not the first suspect for slow rebuilds.",
|
||
rust: "Parallel crate compiles use the thread pool. Remaining drag: rustc/LLVM single-thread slices, linking, and RAM under high -j + LTO. Large clean builds may see ~1.5–2× wall-time wins on a top current Zen — not 5× on medium projects.",
|
||
go: "Cold go build std is already comfortable. Upgrading for Go alone is a weak motive.",
|
||
market_note: "GPU ratios are irrelevant to nix/rust/go wall time.",
|
||
default_path: "Keep the current platform. Do not buy a GPU generation for compile speed. Waiting for a full board+RAM+CPU jump still matches a socket that cannot take another Zen generation.",
|
||
if_rebuilds_hurt: (
|
||
"More RAM (e.g. 64 GiB) — often best happiness-per-euro for nix + cargo + desktop.",
|
||
"Faster or separate /nix storage if store I/O shows up in real rebuilds.",
|
||
"Tooling: mold/lld, sensible max-jobs/cores, shared cargo target.",
|
||
"Then platform swap when the next desktop gen you care about is available.",
|
||
),
|
||
)
|