Linux IPv6 improvement: Routing cache on demand
Jul 27, 2015Martin KaFai Lau

Summary
This post details the implementation and upstream contribution of an on-demand routing cache creation mechanism for Linux IPv6. This solution addresses scalability issues in large IPv6 deployments by significantly reducing the size of the IPv6 routing tree. Key technical contributions include sharing gateway routes for peers with default PMTU, implementing per-CPU entries for gateway routes to mitigate cache bouncing, and ensuring compatibility with subsystems that expect '/128' routes. The post also highlights bug fixes related to '/128' routing entries and optimizations for `fib6_lookup()`.
More from the Internet Latency and Network Performance Analysis trail
- OCP Summit 2026: Powering AI with Open Innovations in Scale-Up, Scale-Out, and Scale-Across Networks
- Shipping Media Over QUIC at Meta Scale for Instagram Live Ingest
- NTS: Authenticated Time at Meta
- Inside Petal: Building the World’s First Petabit-Class Transoceanic Subsea Cable
- ZGateway: Learnings from Putting a Proxy in Front of ZippyDB