Section 01 · GGF-37
Why Offloading Engram Costs Microseconds While Offloading Experts Costs Milliseconds
O(1) embedding table lookups transfer 100,000x fewer bytes across PCIe than FFN matrix multiplications.
Engineers frequently conflate "Host-RAM Engram offloading" with classic "CPU layer offloading" (-ngl 20). Classic offloading moves entire transformer attention or FFN matrices into system RAM, forcing the host CPU to stream gigabytes of weights across slow dual-channel DDR5 (~75–96 GB/s effective) for every single token—immediately throttling an RTX 4090 down to CPU speed.
Qwen 4 35B-A3B’s 20.5B Engram table is fundamentally different: it performs O(1) sparse row indexing, fetching ~10–64 KB per generated token across PCIe 4.0/5.0 x16 (~25–55 GB/s sustained DMA). Transferring 32 KB takes roughly ~1.3 microseconds—meaning Host-RAM Engram offloading keeps 100% of active GPU bandwidth working unthrottled on the MoE backbone.
Always monitor PCIe DMA throughput and CPU memory bandwidth utilization independently during hybrid tuning (using tools like nvidia-smi dmon and perf/likwid on Linux) so you verify whether CPU GEMV or PCIe link width is limiting your hybrid split.
Hybrid_Step_Time = max(GPU_Bytes / GPU_BW) + (CPU_MoE_Bytes / Host_DDR5_BW) + (PCIe_Transfer_Bytes / PCIe_BW)