Unified Memory Architecture for Local LLM Inference: Capacity Is Not Bandwidth

    This article explains how unified memory architecture changes local large language model inference on x86 platforms. It separates two questions that are often confused—whether a model fits in memory and how fast it runs once loaded—and shows why memory capacity and memory bandwidth set different limits. It also covers configuration pitfalls around entry-level versus demo machines, CPU and integrated GPU performance, and why Mixture-of-Experts models reach roughly 50 token/s while dense models drop to 5–6 token/s on the same 128GB system. A practical checklist for sizing, quantization, context length, and hybrid cloud-local deployment is included.

    1. Why Unified Memory Is Back in Focus

    In traditional PC and workstation designs, the CPU and the discrete GPU each have their own memory space, and data has to be copied between the two over a high-speed bus. That works well for graphics rendering, but it creates a structural bottleneck for local LLM inference. Model parameter counts routinely reach tens of billions, while the memory soldered onto a discrete GPU is limited. Once a model no longer fits entirely on the card, constant swapping in and out kicks in and performance drops sharply.

    The core idea of unified memory architecture is to let the CPU and the graphics compute units share a single physical memory pool, removing the separate VRAM path. For developers, this means usable memory capacity is no longer capped by how many memory chips are onboard: as long as the machine has enough total memory, a larger model can in principle be loaded. This is an important recent step for the x86 platform, and it genuinely solves the “will it fit” problem.

    One point needs to be stated clearly: unified memory addresses a capacity constraint, not a bandwidth constraint. The throughput of onboard high-bandwidth memory is still typically well above that of general-purpose system memory. After the architecture is unified, the capacity ceiling rises, but the bandwidth ceiling does not rise with it.

    2. Capacity Does Not Equal Performance

    The most common misreading in marketing for the new generation of platforms is treating “leads in scale” as “leads in speed.” Real tests often produce this impression in a specific way: a very large model cannot be loaded in full on a discrete GPU at all, so it spills over into system memory and is transferred in batches over the bus. That path is an order of magnitude slower than onboard VRAM, which is how a “several times faster” conclusion gets formed.

    A more accurate statement would be: the platform can run some models that the other side physically cannot load, but it does not run them fast. That is a difference in capability boundaries, not a speed advantage. Two questions should be evaluated separately:

    • Runnability: whether the model fits entirely in memory, or whether it has to spill over;
    • Runtime efficiency: whether decode throughput after loading meets interactive needs.

    Conflating the two is the source of most selection mistakes.

    3. The Configuration Trap: Entry Price and Demo Unit Are Not the Same Machine

    Another frequent misunderstanding comes from the price anchor. The widely circulated lowest price usually corresponds to the small-memory version: 64GB of memory plus a 1TB SSD. That configuration can neither hold a very large parameter model nor run a mid-sized dense model at a normal quantization level. The machine shown running smoothly at the launch event, on the other hand, is typically the 128GB memory version, roughly seven hundred dollars more expensive, with the difference coming mainly from overall product positioning, the developer kit, and bundled services.

    The right approach is therefore to first determine the target model and its actual footprint after quantization, then work backward to the memory capacity required, and only then look at price. Reverse that order and you end up with a machine that looks good on paper but cannot run the workload.

    4. Compute Performance: CPU and Integrated Graphics in Practice

    On the CPU side, chips in this class already beat the previous generation’s high-end desktop models in multi-core scores on mainstream cross-platform benchmarks. The thermal design power ceiling is around 125W and can be sustained inside a 14-inch chassis, which is workstation-class power delivery.

    The graphics side is more interesting. An integrated graphics core with 40 compute units runs mainstream AAA games at a stable 70–85 fps at 1080p with high settings, which is already a usable gaming experience. This shows that a unified memory platform is not limited to inference—graphics workloads benefit as well.

    5. Why Inference Performance Splits: Sparse vs. Dense Activation

    On a 128GB unified memory configuration, measured results show a clear split:

    • Mixture-of-Experts models: around 50 token/s, faster than human reading speed;
    • Dense models: around 5–6 token/s, with noticeable stutter during interaction.

    The reason lies in different compute and memory-access patterns. A Mixture-of-Experts model activates only part of the expert weights per token, so cache hit rates are higher and the amount of data actually moved is small. A dense model reads all weights in full for every token, so bandwidth pressure scales linearly and the model becomes bound by memory throughput.

    The estimation logic can be written schematically as:

    1. def estimate_token_per_sec(model_bytes, mem_bandwidth, active_ratio=1.0):
    2. # Effective weight bytes that must be read per token
    3. effective = model_bytes * active_ratio
    4. # Theoretical ceiling: bandwidth / bytes per token
    5. return mem_bandwidth / effective

    For dense models, active_ratio is 1; for sparse-activation models it is far below 1. The gap between the two can reach several times, which matches the measured ranges.

    6. Practical Checklist for Selection and Tuning

    1. Size capacity first: multiply parameter count by bytes per parameter (roughly 2 bytes for FP16, 1 byte for 8-bit, 0.5 byte for 4-bit), then leave headroom for the context cache and system overhead.
    2. Prefer sparse architectures: for interactive scenarios, favor Mixture-of-Experts models, where the throughput advantage is clear.
    3. Match quantization to bandwidth: too few bits costs accuracy, too many amplify memory-access pressure, so balance quality against latency.
    4. Keep context length restrained: cache growth from long contexts eats into memory headroom quickly.
    5. Stress test with real business samples: measure time to first token and sustained throughput using inputs in the target language and at the target length, rather than relying on benchmark scores alone.
    6. Combine cloud and local: keep low-latency and data-sensitive work local, and hand elastic batch jobs to container platforms, object storage, and monitoring and alerting in the cloud, forming a layered architecture.

    7. Conclusion

    Unified memory arriving on x86 is a key step in taking local LLM inference from “not usable” to “usable.” It shifts the central selection tradeoff from capacity to bandwidth and architecture fit. The rational conclusion: this class of platform suits scenarios with requirements around data sovereignty, offline availability, and low latency, and it suits sparse-activation models. High-throughput demands from large dense models still need to be met through sensible quantization strategies together with elastic cloud resources. Look at capacity and at bandwidth; look at price and at configuration; look at peak and at sustained throughput—these three comparisons are the most practical framework for evaluating such platforms.