Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This kind of computing must be a different kind of world than the one I work in. 80 microseconds of latency seems high to me when infiniband can do single digit latency with unreliable datagrams, which turn out to be mostly reliable due to the credit system.


AFAIKS the protocol can tolerate up to about 80 microseconds of latency.

The graph at the end shows they measured (one way) latency at 1.3 microseconds (compared with 2.0 for IB).


Also PCIe is worth mentioning for it's credit-based full reliability (in the absence of hardware failures, which are still signaled).


Well, whether it matters depends on the workload: IB is basically remote DMA so if you need to pick and poke remote data I guess it'll work as another NUMA tier.

But for AI training, where you're simply shuffling around large stacks of matrices, my guess is latency constraints weaken.


Not really familiar with this space but I think the entire Dojo/DIY strategy was kicked off because Elon wanted to not get cornered on supply or cost by nvidia. And infiniband is an nvidia technology, so they wouldn’t use that simply from strategic POV.

Are there other technologies they could have used?

Also, the 80us is supposed to be the worst case, where typical is supposed to be <10us. Again not knowing anything about infiniband, what’s the typical perf? I tried to google but the people who are talking about it are in the know in ways I’m not.

Thanks!


Indeed, it seems that 80usec is just given as an upper bound based on the 1MB buffer at 100Gbps.

It is definitely possible to go much lower than 80usec on Ethernet. But obviously it depends on the scale, utilisation etc.

At the sizes of GPU clusters we're talking about these days - 32K and up - things get tricky.

The main alternative to Infiniband used in the industry is RoCE - Meta has written a lot about it [0].

There's several reasons to avoid Infiniband, such as cost, availability, vendor lock in, lack of experience etc.

Those are some of the reasons why many players are trying hard to make Ethernet work, see Ultra Ethernet [1].

[0] https://engineering.fb.com/2024/08/05/data-center-engineerin...

[1] https://ultraethernet.org/


It’s not even rare for Ethernet to be 1.5usec or less latency per switch. 80usec would be impossible to sell in any compute cluster.


> It’s not even rare for Ethernet to be 1.5usec or less latency per switch.

IIRC, Arista started off focusing on the financial market with low latency.

There's fairly well regarded in a general sense nowadays (at least /r/networking often has folks recommending them as a vendor).

"Measuring the latency of a 4ns switch":

* https://www.arista.com/assets/data/pdf/Latency-4ns-Switch-So...


RoCE is close enough, I think is how meta justifies it.


Is RoCE no good?


The problem is that it kind of relies on a lossless layer 2 (flow control) which has its own set of problems in large scale networks. This is what things like this try to solve: https://cloud.google.com/blog/topics/systems/introducing-fal...


whats the credit system?


OP is referring to "Credit based flow control", which is a way to ensure a sender does not overwhelm a receiver with more data than it can handle.

Usually, this is line-rate, but if the other side is slow for whatever reason (say the consumer is not draining data), you wouldn't want the sender to continue sending data.

If you also have N hosts sending data to 1 host, you would need some way of distributing the bandwidth among the N hosts. That's another scenario where the credit system comes. Think of it as an admission control for packets so as to guarantee that no packets are lost. Congestion control is a looser form of admission control that tolerates lossy networks, by retransmitting packets should they be lost.


Those token ring folks were on to something.


They'd respond to your kind words, but there are two faulty cables in their token ring network, and as such, no redundant paths for the beacon frame to get through.


I assume infiniband is much more expensive, but then again you have to offset all the development cost first.


It's not, really. It's been a while since I've checked pricing so my data might be old, but an IB switch is in the same ballpark as an ethernet switch with the same port speed. Same for HCA's.

There's no analogue in the Infiniband world to dirt cheap 1GbE RJ-45 switches though.


> an IB switch is in the same ballpark as an ethernet switch with the same port speed

And both price tags will make Elon's "someone's scamming me with a 'you're an enterprise customer' surcharge" sense tingle. The price tags for anything enterprise networking related are seriously inflated, and I would not be surprised if just making your own NICs and switches is cheaper once you hit a certain deployment size.


Networking has never been so cheap at the highest end. Look at the road we've been through in the last 8 in years, rapidly going from 40 to 100 to 400 (200 was somewhat of a dud, 400 came too early) to 800 to 1600Gbps. It's amazing.

I'm having trouble feeding things at 400GB/s (not a typo, it's gigabyte/s) per H100 box.

For 10 boxes ideally you want 4TB/s...


On the other hand, silicon has never been so cheap.

The hardest things would've been the DDR4 and PCIE interface. But as they're using standard interfaces, and last generation. I'm sure they got a good discount on all that IP and it didn't cost them hardly any man hours to integrate. And Tesla might've even already had the licenses and IP setup as they make other ASICs.

I didn't do a budget or anything, but at even 10Ks of units, I could see how this could save money. Or at least not loose money. Assuming a comparable IB network card is ~$1000, which I also didn't price.

And there could be other potential cost offsetting features, like power savings.


No, but this isn't high end (in 2024), or "enterprise". It's their own designed 100Gb dumb NIC.


I've replied in a thread, and what I've replied to above was about the enterprise tax and that it's surely cheaper to do your own, not if the original article is about enterprise or not.


I read the thread. What you replied to was this,

> > an IB switch is in the same ballpark as an ethernet switch with the same port speed

> And both price tags will make Elon's "someone's scamming me with a 'you're an enterprise customer' surcharge" sense tingle.

In the context of Tesla doing their own protocol and not-high-end NICs.


If you were starting a team from scratch this is surely true. But, if you can leverage existing teams and infrastructure, it’s very possible.


> The price tags for anything enterprise networking related are seriously inflated

I mean yeah, but thats why you have negotiators. List price is what suckers pay.

As soon as you start to buy in job lots, or the total price comes to >$500k then stuff becomes a lot cheaper all of a sudden (within reason)

Having said that Infiniband is an arse to deploy, but not as much as custom networking protocol on custom silicon.


Ideas you’ll never hear at Google or meta


> > I would not be surprised if just making your own NICs and switches is cheaper once you hit a certain deployment size.

> Ideas you’ll never hear at Google or meta

You'd be surprised. Google has a very strong tradition of "not-invented here" which extends to some of our production networking gear as well.

To be fair, at the time, some of this was justified because the available devices on the market couldn't support our use cases back then.

Per section 3.2 of the 2013 B4 paper [0]:

  Even so, the main reason we chose to build our own hardware
  was that no existing platform could support an SDN deployment,
  i.e., one that could export low-level control over switch forwarding
  behavior. Any extra costs from using custom switch hardware are
  more than repaid by the e›fficiency gains available from supporting
  novel services such as centralized TE.
https://cseweb.ucsd.edu/~vahdat/papers/b4-sigcomm13.pdf


You couldn't have picked a better/worse duo in tech to be wrong on such an assertion.

Adding to sibling comment about Google, Meta[1] built 2 large-scale production training clusters for science: one with Infiniband, the other one with a custom RDMA over RoCE fabric.

> Custom designing much of our own hardware, software, and network fabrics allows us to optimize the end-to-end experience for our AI researchers while ensuring our data centers operate efficiently.

> With this in mind, we built one cluster with a remote direct memory access (RDMA) over converged Ethernet (RoCE) network fabric solution based on the Arista 7800 with Wedge400 and Minipack2 OCP rack switches.

Google, Meta and Netflix are among the most obsessive on optimizing their infrastructure - it's bold to assume they haven't looked at their COTS network gear and thought "hmmm..."

1. https://engineering.fb.com/2024/03/12/data-center-engineerin...


I mean the exact opposite, those were common what ifs


I don't believe the pricing is in the same ballpark.

There's also other differences, such as port counts. AFAICT Spectrum switches at 400Gbps have up to 128 ports whereas equivalent Infiniband NDR Quantum only have 64 [0].

When building clusters of 32K+ GPUs the network cost, power, transceivers etc start to add up.

[0] https://www.semianalysis.com/p/100000-h100-clusters-power-ne...


With IB (Quantum X800) you have 72x physical OSFP ports that can do 144 ports. Each electrical lane runs at 200G-PAM4, so it's 144x(4x200G-PAM4).

With the SN5600 for Ethernet (Spectrum-X), which is 64 physical ports, you're running each port at 8x100G-PAM4).


Is the Quantum X800 generally available now? Looks like it was announced in March. The SN5600 was released last year on the other end.


your data is likely old. IB demand has gone pretty wild since the AI boom.


At least when I looked into it last, it was less about price and more about availability. NIC's are easy to get, but the switches were a 50+ week lead time. I'm sure it has come down now though at least for my business, we are just focused on ethernet now. We can do 128 NIC's @ 400G into a single Dell Z9864F using ethernet. Few will need proprietary solutions for this as there are lower hanging fruit.


> infiniband

Or I guess even RoCE




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: