Access Official Technical PDF

Share Summary:LinkedInEmail

Low-latency datacenter networking is not simply a matter of installing faster switches. When short messages share a congested link with larger transfers, transport protocols can create queues that add delays far beyond the network’s basic transmission time. Homa, a message-oriented transport protocol designed for datacenters, takes a different approach: combine receiver-driven flow control with switch priority queues so short messages can move ahead of longer traffic without abandoning efficient use of bandwidth.

The design is relevant to industrial automation engineers and system integrators assessing the behavior of networked applications. It illustrates a central engineering tradeoff: congestion management must protect time-sensitive traffic while keeping links productively occupied. The results described for Homa come from simulations and a system implementation, rather than an industrial control deployment, but the underlying transport principles are useful when evaluating latency-sensitive network designs.

Why short messages are vulnerable to congestion

Many datacenter applications exchange small request-and-response messages, sometimes only a few hundred bytes. The message must arrive in full before the receiving application can act on it, so even a brief queue can be significant relative to the time needed to transmit the message itself.

Traditional TCP-style transport is primarily designed to deliver high throughput. Its sender-driven congestion control can allow queues to grow, and a short message may then wait behind packets from larger transfers. This is head-of-line blocking: traffic that could otherwise finish quickly is held up by data ahead of it. In networks with round-trip times measured in microseconds, queueing delays that might seem modest elsewhere can substantially affect short-message completion time.

Homa’s design starts with a workload assumption: message size is known to the sender, and the receiver cannot use the message until it has arrived completely. Knowing message boundaries and sizes makes it possible to schedule messages according to how much data remains, rather than treating all traffic as an undifferentiated byte stream.

How Homa combines priorities and receiver control

Homa uses priority queues available in network switches to let packets from shorter messages bypass queued packets from longer ones. Its scheduling approach approximates shortest remaining processing time (SRPT): when multiple packets are ready, traffic belonging to the message with fewer bytes left is favored. This helps reduce waiting for short messages while allowing longer messages to continue when they are selected.

The receiver manages priorities for traffic arriving at its network link. This matters because the design assumes congestion occurs primarily on the links from top-of-rack switches to servers, particularly when several senders transmit to one receiver. The receiver has direct knowledge of the messages competing for that link and can use that information to schedule incoming packets.

For messages that extend beyond an initial blind transmission, Homa uses receiver-issued grants to control which packets senders transmit next. The initial transmission is not delayed while waiting for a scheduling decision; the receiver can use that time to communicate control information for subsequent packets. In the implementation described, the amount sent blindly to cover the round-trip and software response time was about 10 KB on a 10 Gbps network.

Because commodity switches have a limited number of priority levels, assigning every message its own queue is not practical. Homa therefore allocates priorities dynamically. For scheduled packets, receivers can assign priorities based on the messages currently competing for bandwidth. For initial transmissions, senders lack current knowledge of other traffic headed to the receiver, so priority guidance is based on the receiver’s recent workload.

Balancing low latency with link utilization

Receiver scheduling can reduce unnecessary packet buildup, but strict scheduling also has a risk: a receiver may grant transmission time to a sender that cannot use it promptly. For example, that sender may have competing work for other destinations. If the receiver waits for a single granted sender, the downlink can sit idle even when other data is available.

Homa addresses this with controlled overcommitment. A receiver grants transmission opportunities to a small number of senders at once. This can create some packet queuing, but limits the risk of leaving bandwidth unused. Priority queues then help ensure that short messages can still pass larger queued traffic. The design treats a small, managed queue as a practical compromise between minimizing delay and maintaining utilization.

This illustrates why congestion control cannot be assessed by queue length alone. A system that suppresses queues aggressively may also restrict how much traffic it can carry. Conversely, allowing uncontrolled queues can undermine latency. Homa’s approach coordinates scheduling, priorities and overcommitment rather than relying on one mechanism in isolation.

What the reported results show

In the dissertation’s reported system implementation, Homa delivered 99th-percentile round-trip latencies below 15 microseconds for short messages on a 10 Gbps network operating at 80% load. The evaluation also reported that the implementation supported high network load while serving short messages alongside large transfers. These figures describe the tested system and workloads; they are not universal performance guarantees.

In simulations, Homa’s latency was roughly comparable to pFabric and better than pHost, PIAS and NDP across almost all tested message sizes and workloads. The work also reports that Homa sustained higher network loads than several of those alternatives. Its design was intended to use existing switch priority queues without requiring networking hardware modifications.

Practical lessons for network design

For technical teams evaluating transport behavior, Homa highlights several questions worth asking:

  • Are message boundaries visible? Message-aware scheduling depends on knowing the size and remaining work of individual messages.
  • Where does congestion form? A control mechanism is most effective when it manages the links where traffic actually converges.
  • How are priority levels allocated? A limited number of queues makes dynamic, workload-aware assignment important.
  • Does congestion control waste capacity? Tight control can reduce queues but may leave links idle if granted senders cannot transmit.
  • Can senders avoid their own bottlenecks? A short message can still be delayed before reaching the network if it waits behind a longer transfer in a sender’s queue or stream.

These considerations can inform evaluations of latency-sensitive communications, though the appropriate transport and configuration depend on the application and network environment.

Conclusion

Homa demonstrates that low latency and high bandwidth utilization need not be treated as mutually exclusive goals. Its combination of receiver-driven scheduling, dynamically assigned switch priorities and controlled overcommitment is designed to protect short messages while keeping network links busy. For engineers and decision-makers, the broader lesson is to evaluate transport behavior across the whole path—from sender queues to congested links and receiver scheduling—rather than assuming that faster hardware alone will resolve latency under load.

Access Official Technical PDF

About The Author