Older AI workloads moved large transfers such as weight gradients, where throughput mattered most. Ousterhout says inference and agentic workloads increasingly exchange small messages for tasks like checking distributed KV caches and synchronizing nodes. When computation takes milliseconds, a slow synchronization can leave GPUs waiting.
Homa: The End of TCP for AI Clusters
Speaker
John Ousterhout, Professor Emeritus at Stanford, explains at an AI Engineer event how Homa could reduce network latency for AI clusters.
Incast occurs when several nodes send to one receiver at once, filling the queue on the final network link. Short messages can get stuck behind long transfers, and buffer overflow can trigger packet drops, timeouts, and retransmissions. TCP and RDMA rely on senders to react to congestion signals, which Ousterhout says can arrive too late and cause rates to oscillate.
Homa is a transport protocol developed at Stanford, first as a PhD project by Ben Moazeni and later implemented by Ousterhout as a Linux kernel module. It handles request and response messages with known lengths, prioritizes shorter messages using shortest remaining processing time, and lets receivers schedule incoming data with paced grants. It also uses switch priority queues so short messages can pass queued long ones.
In Ousterhout's benchmark, messages range from about 50 bytes to one megabyte. For short messages, Homa's 99th-percentile latency is under 100 microseconds, compared with more than a millisecond for TCP, which he describes as about 13 times faster. He says Homa is also nearly twice as fast as TCP for the longest messages, and invites teams affected by short-message latency to try it.
Takeaways
- Measure 99th-percentile latency for small messages; averages can hide synchronization stalls.
- Check whether GPU workers wait on network exchanges between compute phases.
- If incast is a bottleneck, evaluate message-aware scheduling and receiver-led congestion control.
- Benchmark Homa against your current transport across both short and long messages before adopting it.
Mentioned in this talk
Search inside this talk
What was claimed 7
- works atJohn Ousterhout works at
Stanford UniversityProfessor of Computer Science (retired)“Professor Emeritus at Stanford University, John Ousterhout.”
YouTube Unverified2 sources· Talk, Web· archived
- built
Stanford University built Homa“a new protocol we've developed at Stanford”
YouTube Unverified1 source· Talk
- featureHoma: Message-based transport that prioritizes shorter messages and lets them bypass longer ones.
“it's message-based, not stream-based”
YouTube Unverified1 source· Talk
- uses
“It uses SRPT, shortest remaining processing time first”
YouTube Unverified1 source· Talk
- featureHoma: Receiver-controlled congestion management using paced grants for scheduled packets.
“it controls congestion from the receiver”
YouTube Unverified1 source· Talk
- metricHoma: Short-message P99 latency is less than 100 microseconds, compared with more than 1 millisecond for TCP, about 13 times faster.
“With TCP, tail latency is more than a millisecond; with Homa, it's less than 100 microseconds, about 13 times faster.”
YouTube Unverified1 source· Talk
- metricHoma: On the longest messages, performance is almost a factor of two better than TCP in the benchmark shown.
“Even on the longest messages, Homa is almost a factor of two better than TCP.”
YouTube Unverified1 source· Talk











