LLMs Think TCP Is Too Slow And Want To Give Homa A Try

Source: The Register LLMs Think TCP Is Too Slow And Want To Give Homa A Try

Homa Will Work In Tandem With TCP … Maybe

It’s fair to say that TCP is getting long in the tooth; Vint Cerf and Robert Kahn’s protocol is now in it’s 50s and that is an exceptionally long run for any computer protocol.  Then again it works and those magicians known as network engineers are familiar with all it’s tricks and foibles.  If you adopt a new protocol, even one that doesn’t replace TCP but adds another layer to the traffic flowing on your network you can expect problems.  However, as with all things computer these days, people are begging you to think of the LLMs and data centres.

The supposed problem is that TCP is made of byte streams that give a receiving computer no idea how large the incoming data stream is and it depends on the sender to control the amount of traffic being sent.  Homa is a bit different, the first packet it sends contains information on how large the entire data stream will be and lets the receiver prioritize the traffic.  That means a server can prioritize the shorter messages and also schedule the larger ones by telling the sender to hold off until they are ready.

Homa is mostly a solution for for LLMs but it could benefit other applications.  NVMe over Fabrics is something that wasn’t even a consideration when TCP was designed.  Google designed QUIC to bypass TCP’s head-of-line blocking and is a basic component in HTTP/3 so there are other reasons to consider TCP outdated for some modern applications.

The Register also points out that the idea Homa was not well received by some modern network gurus and include a link to a paper written by Ivan Pepelnjak who sees Homa as a solution in search of a problem; very apropos for something designed mostly to make LLMs happy.  Take a peek and see what you think.

To be fair, the AI community is not the only ecosystem frustrated by the dowdy TCP.

Video News

About The Author

Jeremy Hellstrom

Call it K7M.com, AMDMB.com, or PC Perspective, Jeremy has been hanging out and then working with the gang here for years. Apart from the front page you might find him on the BOINC Forums or possibly the Fraggin' Frogs if he has the time.

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Podcasts

Archive & Timeline

Previous 12 months
Explore: All The Years!