SV Advanced Computing, LLC

Performance Engineering
for GPU & AI Systems

Independent research and consulting in HPC performance optimization, GPU computing, and AI infrastructure. We profile, analyze, and optimize at the intersection of hardware and software.

Using AI · for everyone

Understand the tools you're using — and keep the human in the loop.

A growing, plain-language guide to what AI models actually are, how they work under the hood, and how to use them humanely — the judgment, verification, and care that stay yours. Visual explainers, honest tradeoffs, no hype.

Explore Using AI →

I. Case Studies

A V-Cycle of Models: Routing a Coding Agent Between a Local Smoother and a Frontier Corrector

Multigrid is fast because a cheap smoother handles the easy, high-frequency error and the expensive coarse-grid correction is spent only on the global part. Point that at LLM inference and you get a V-cycle of models: a small local model does the bulk, a frontier model is called only for the corrections it can't make. This campaign builds that on a scalable, objectively-graded coding problem and tests three ways to decide which tier handles each task. The honest arc: naive auto-routing pays a 74% classifier tax; a signal-based router kills it; but the clean answer is to route by the verifier — escalate only the files that still fail. And the punchline is stronger than the mechanism: a modern 7B coder leaves an empty residual, so routing-by-verification delivers frontier-verified correctness at local cost, with the expensive tier never called.

Read the case study →

A Portable GPU Performance Methodology: PENNANT Across Three Architectures, Built to Reach Pre-Silicon

A self-directed exploration to establish a reusable, platform-agnostic GPU performance methodology — not a vendor benchmark. PENNANT, the unstructured-mesh Lagrangian hydrodynamics code from the CORAL-2 suite that vetted El Capitan, is the hard target; the deliverable is the method: roofline-driven kernel selection, correctness gating against a reference, and measurement discipline, carried across NVIDIA T4/H100 and AMD MI300X from one clean-room codebase (CUDA · HIP · OpenMP-target). It includes an honest CPU/GPU crossover, a hybrid-dispatch flag that flips sign between vendors, two honest compiler-flag negatives, and a 6.9% 'win' that dissolved under round-robin re-measurement, and a cross-vendor stall measurement showing an MI300X and an H100 leave 97–99.7% of their compute idle on memory — identical signatures, because the under-use is the algorithm's and not the vendor's — plus a path to shim the same harness into pre-silicon architectural simulators. The point isn't a speedup headline; it's a method that travels across vendors and forward into simulation.

38.5× 2.7% → 89% ~2M zones
Read the case study →

Physics-Informed Neural Networks for Plasma: A Challenger to the Mesh

A systematic campaign benchmarking physics-informed neural networks against traditional mesh-based solvers for plasma problems — asking the honest question scientific-ML papers usually skip: at what point, if any, does a PINN actually beat a finite-difference solver in wall-clock time to a fixed accuracy? Across three matched-accuracy head-to-heads — 1-D diffusion (~40,500×), coupled tokamak transport (~49,800×), and Grad-Shafranov equilibrium (~37,400×) — the classical solver wins every one, and the parametric PINN never breaks even. Even the PINN's predicted niche, ill-posed inverse problems, dissolves under a fair test: once the classical inversion is given the same regularization it matches or beats the network (~11% vs 14.5% error) — the prior, not the PINN, is what tames the inverse problem.

40,500× ~11% vs 14.5% 6/6
Read the case study →

II. Recent Investigations

Training Is Not One Ax = b. It Is a Sequence of Them.

Training a neural network is not a single linear solve: the model is nonlinear, the system is underdetermined, and the goal is not a zero residual. Yet every optimizer in use is built on linearization. The two facts fit together: finding a nonlinear zero is done by solving one linear system after another, each with a different matrix, and each solved only roughly. This post draws that loop, shows which matrix each optimizer uses, and measures it on a small problem.

Does Last Season Still Predict This One? Men's College Basketball Under the Portal and NIL

Two claims you hear every preseason: with the transfer portal and NIL, last season tells you less than it used to, and the teams are more equal. Nineteen seasons of Bart Torvik ratings say the first holds for Division I as a whole, modestly: the five seasons since 2022 are the least predictable five-season run in the series, the error has grown each season since 2024, and the growth tracks how few of last season's minutes teams keep. The second is not supported: the spread of team strength has not narrowed, 2025 and 2026 are the two widest seasons on record, and there is no sign of a more open top. A clustering probe found no tiers in any season and is reported, not used. A third question, asked once those answers were in, is whether parity is decreasing: in shape, yes, and recently. Since 2024 the top of the field has moved away from the middle, while the bottom half shows no trend and, once longer league schedules are taken out, standings inside conferences are no more lopsided than before. The post ends with a dated forecast of the 2027 top ten, as probabilities checked on held-out seasons, and a backtest of the same recipe on every season since 2010: with weights from its own era it beat carrying last season forward in all 17, and the weights have drifted enough that old ones go stale. The analysis was run as an agent workflow, with a reviewer agent that changed four of the conclusions' wordings before publication; the code and data manifest are public.

Do Plugins Cost Tokens? What an Installed Extension Puts in Every Request

Yes, and in two different ways. An AI coding agent's plugins bundle skills, subagents, MCP servers, commands and hooks, and each part has a standing cost (what it adds to every request just by being installed) and a use cost (what it adds when it runs). Using Claude Code's documentation, this post sorts each part by those two costs, explains why subagents spare your context window but not your bill, works the arithmetic of a fixed overhead re-sent on every request, and ends with a short checklist.

Same Weights, Different Stack: An Open-Model Bake-off on AMD and NVIDIA

Three open mixture-of-experts models with about 3B active parameters (AMD's Instella, NVIDIA's Nemotron 3 Nano, and Qwen3 as a neutral reference), served on one AMD MI350X and one NVIDIA B300 with vLLM and SGLang, measured with GenAI-Perf definitions at three repeats per point. With the same vLLM version on both cards the B300 is 1.9x the MI350X for Nemotron and 1.5x for Qwen, so the home-turf gap was not a version artefact. Swapping vLLM for SGLang moves throughput by -15% to +24% depending on model and workload, more than vLLM version drift (within 5%) and far more than run-to-run noise (median 0.3%). And whether a model runs at all depends on the engine build: on the versions we tested, Instella served on none of them, on either vendor.

What Happens When You Ask a Chatbot the Weather

One question, "What is today's weather in Destin, FL?", traced through an AI coding agent: three prefill-and-decode rounds on the large model, a tool lookup, a web search whose result arrived pre-digested by something on the server, and a permission classifier on every tool call. Then the small models around the big one: what Claude Code documents (a Haiku-class background model, a separate model call for WebFetch, a Sonnet classifier for auto mode) and what it doesn't (session titles), six jobs a small model does well with examples from this session, where small models sit in other systems, and the bandwidth arithmetic that makes them cheap.

Fixing A to Hit b: Backpropagation, One Matrix at a Time

Backpropagation for one linear layer, in matrix form. With a trusted input x, an approximate matrix A and a target b that A x misses, the gradient of the squared error is the outer product of the residual and the input, r xᵀ. Each step multiplies the residual by 1 − η‖x‖², which is why the safe learning rate scales with the input and why networks normalise activations; at η = 1/‖x‖² the fix is exact and it is the smallest change to A that hits b. Then many examples (least squares and the normal equations), two layers (transposes carry the error backward), and what it means in practice — with a live 2×2 playground.

View all 53 investigations →

III. Focus Areas

Pre-Silicon & Whole-System Co-Design

Exploring novel concepts pre-silicon — co-designing algorithm, runtime, and architecture before the hardware exists. A holistic, whole-system view, where the performance win comes from the full stack working together rather than any single layer.

AI Framework Performance

Profiling and optimization of PyTorch, NeMo, Megatron-Core, and inference runtimes (vLLM, TRT-LLM). End-to-end training and serving pipeline analysis.

GPU Architecture Analysis

Deep performance characterization on NVIDIA and AMD GPU architectures. Memory hierarchy analysis, occupancy tuning, kernel optimization using Nsight and ROCm profiling tools.

HPC & Distributed Systems

MPI, NCCL/RCCL communication optimization. Multi-node scaling analysis. Performance engineering for exascale-class systems.

Custom Instrumentation

Beyond vendor tools — custom profiling, roofline modeling, memory bandwidth characterization, and performance modeling for novel workloads.

Systems & Concurrency

OS and runtime effects that gate accelerators — memory allocation, NUMA placement, page faults — plus thread contention and data-race correctness across precisions and GPU architectures.