Launching Cloudflare's Gen 13 Servers: Trading Cache for Cores in Rust
- AMD EPYC Genoa-X
- AMD EPYC Turin
- NGINX
- LuaJIT
- Pingora
- Oxy
- Rust
AI Summary
Cloudflare details the architectural challenges and solutions in deploying its 13th Generation servers powered by AMD EPYC Turin processors. While the new hardware offers double the core count and improved power efficiency, its lower L3 cache per core initially caused severe latency penalties on the legacy NGINX and LuaJIT stack (FL1). To overcome this, Cloudflare leveraged its new Rust-based request handling layer, FL2, built on Pingora and Oxy. FL2 eliminates large cache dependencies through cleaner memory access patterns, achieving a 2x edge compute performance improvement and 50% better power efficiency while preserving strict latency SLAs.
Key Takeaways
- Details the migration from FL1 (NGINX/LuaJIT) to FL2 (Rust).
- Explores hardware performance counters and AMD PQOS tuning.
- Achieved 2x throughput gains on high-density AMD EPYC Turin 9965 processors.
Why it matters
This article provides a masterclass in hardware-software co-design, demonstrating how rewriting core infrastructure in Rust can overcome physical hardware tradeoffs like reduced per-core cache in favor of higher core density.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.