|
|
Log in / Subscribe / Register

Why not UDP

Why not UDP

Posted Jan 3, 2025 19:55 UTC (Fri) by Wol (subscriber, #4433)
In reply to: Why not UDP by npws
Parent article: The Homa network protocol

> The benefits of using UDP are obvious, no need for a kernel implementation, at least initially, easier development, easier deployment.

Except that the costs (as I understand it) basically destroy all the benefits! It's called UDP/IP for a reason (although we normally drop the IP bit, same as TCP). The IP stands for Internet Protocol, which is designed to go through routers etc etc. Homa is designed for a LAN, where typically you're routing MAC addresses through a switch, not IP addresses through a router.

So yes, the fundamental idea behind Homa and UDP is very similar. But the *implementation* is very different, and that's the whole point. And the whole point of Homa is that - by deleting all that overhead of routing - it gets a massive speedup.

As the original article said, don't try to run Homa over a WAN. It's the (in)ability to be efficient over the WAN, that helps it be the Cheetah in the server room.

Cheers,
Wol


to post comments

Why not UDP

Posted Jan 3, 2025 20:17 UTC (Fri) by corbet (editor, #1) [Link]

I don't think that routing, in particular, is key to the design of Homa, with the possible exception of the assumption that round-trip times will be short and constant. Remember that Homa, too, is built on top of IP...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds