Performance Analysis for Proposed High-End AI Hardware Configuration
Your proposed system is quite impressive, featuring dual AMD EPYC 9755 processors (256 cores total), 2.3TB of DDR5 RAM, and plans for high-end GPUs including 3x RTX 4090D and an RTX Pro 6000 Blackwell. Let me analyze the expected performance for each model and quantization level.
System Overview Assessment
The dual EPYC 9755 configuration provides exceptional multi-threaded performance, with each CPU offering 128 cores/256 threads and boost clocks up to 4.1 GHz[13]. This CPU has demonstrated remarkable benchmark scores, including 108,093 points in CPU-Z multi-threaded tests - making it the fastest multi-threaded processor available[13]. The 24x 96GB DDR5 modules provide massive memory bandwidth crucial for LLM inference.
However, for LLM inference at scale, GPU performance typically dominates CPU performance. Your planned GPU setup (3x RTX 4090D + RTX Pro 6000 Blackwell) will provide approximately 240GB of VRAM (3x 48GB + 96GB), which is substantial for model offloading.
Performance Estimates by Model
Llama 4 Scout (109B parameters, 17B active)
This model uses MoE architecture with 16 experts where each token activates only a fraction of total parameters[3]. Based on available benchmarks:
-
Q8 Quantization: ~35-40 tokens/second
The Q8_0 quantization has been tested on 5-12 GPUs with consistent performance[6]. With your 4 high-end GPUs, you should achieve excellent throughput around 35-40 tokens/second.
-
Q6_K Quantization: ~50-55 tokens/second
Q6_K offers a good balance between model quality and speed, with your configuration likely achieving around 50-55 tokens/second.
-
Q4 Quantization: ~65-75 tokens/second
Q4 quantization significantly improves throughput at some quality cost. On M1 Ultra, Scout Q4_K_M achieved 120 teraflops with parallel processing (pp512)[6], suggesting your much more powerful setup could reach 65-75 tokens/second.
Llama 4 Maverick (400B parameters, 17B active)
This model uses 128 experts instead of Scout's 16, with the same 17B active parameters per token[3].
-
Q8 Quantization: ~20-25 tokens/second
The larger model size will reduce throughput compared to Scout.
-
Q6_K Quantization: ~30-35 tokens/second
The higher parameter count impacts performance, even with the same active parameters.
-
Q4 Quantization: ~45-50 tokens/second
The Q4 quantization will help, but the model complexity will still limit throughput.
Llama 3.1 405B
This appears to be a dense model (not MoE), meaning all parameters are active during inference:
-
Q8 Quantization: ~8-12 tokens/second
The full parameter activation will significantly reduce throughput.
-
Q6_K Quantization: ~12-18 tokens/second
Moderate improvement with Q6_K quantization.
-
Q4 Quantization: ~20-25 tokens/second
Even with aggressive Q4 quantization, this model will be slower than the MoE models due to its dense architecture.
Llama 4 Behemoth (2 trillion parameters, 288B active)
This model is massive with 288B active parameters and nearly 2 trillion total parameters[3][7].
-
Q8 Quantization: ~3-5 tokens/second
Due to its enormous size, even your powerful setup will struggle with Q8 quantization.
-
Q6_K Quantization: ~5-7 tokens/second
Moderate improvement but still very demanding.
-
Q4 Quantization: ~8-10 tokens/second
Even with Q4 quantization, this model is so large that performance will be limited. The 1 million token context window in Q4 will help slightly but won't dramatically improve throughput.
Technical Factors Affecting Performance
-
Mixture-of-Experts Architecture: The MoE architecture of Llama 4 models significantly improves inference efficiency by activating only a subset of parameters per token[3]. This gives Scout and Maverick an advantage over dense models like Llama 3.1 405B.
-
Memory Bandwidth: Your 5600MHz DDR5 memory provides excellent bandwidth, but GPU VRAM bandwidth will be the primary bottleneck. The RTX 4090D offers 1,008GB/s memory bandwidth[16], while the RTX Pro 6000 Blackwell should provide even higher bandwidth with GDDR7[17].
-
Quantization Impact: Each step down in quantization precision (Q8→Q6→Q4) typically increases throughput by ~40-60% but with some quality degradation. The PPL benchmarks show Q4_K_M achieving about 9.044 perplexity compared to better scores at higher precision[6].
-
CPU-GPU Balance: While your CPUs are extremely powerful (as shown by the EPYC 9755 achieving 443 GIPS in compression benchmarks[18]), LLM inference is primarily GPU-bound. The CPUs will help with pre/post-processing and memory handling.
-
Chunked Attention: Upcoming implementations of chunked attention in llama.cpp will likely improve throughput for long contexts[6], potentially boosting your real-world performance beyond these estimates.
When your system is fully built with all GPUs, consider implementing specialized cache configurations (as mentioned in the search results, using Qs cache - K at Q8, V at Q4) to further optimize performance[1].
These estimates represent theoretical expectations based on available benchmark data, but actual performance may vary based on implementation details, optimization levels, and future software improvements.