So something wild has happened at work. The short version is I think I’ve proven the value and power of a pair of 2x DGX’s clustered. Now I’m getting asked for advice for switches, with the assumption we will be doing a cluster anywhere from 4-16 DGX Sparks!
My leadership asked me about a few switches and if they would work. To which I answered honestly, I have no idea, all I have in terms of knowledge in that area is seeing what gets posted here, which is mostly Micotik switches, which I told him I assumed it was because they were lower cost. But I dont know. I told him I would drop the Makes/models of the switches he found here to get feedback. This is going to be an enterprise datacenter environment not a home lab (Oh how I wish it was!), so this is a company capex spend. I am terrible in the networking space so I couldn’t give a proper answer, my direct boss is more savvy so he’s helping too.
Here are the makes/models if you know about this stuff I would appreciate pros/con’s and which switch you would get (from the list I provide only unless none of them work) with the mindset the cash is not coming out of your pockets.
Need some real pros/cons as to which of the three would be best and why, not just the fanciest because it’s not coming out of our pockets. Budget will still be a factor. So if one has some sort of technology that is better or whatever, that would work best, thats the kinda details I’m looking for. Also then comes the more simple question of what cables would be best for this. Is it the same exactly make/model that is recommended when doing a 2x direct connect cluster but just longer in length?
The GB10 is great to show the capabilities, but for datacentre stuff you need to be looking at the datacentre products (e.g. GB300, NVL72). GB10 is very much aimed at the home lab, small dev team lab. In the datacentre you would expect redundant PSUs, proper 19" rack mountable equipment etc…
Yes - you have discovered the technology that they want to move with, no the form-factor of the DGX Spark is not right for the datacenter.
@Anglerfish, first off, Sparks are making a tradeoff in terms of lower memory bandwidth in favor of lower power requirements, so they’re good for single user or small group usage scenarios, but obviously wouldn’t work for 100 people. Something more like 10 to 20 people is still questionable because of the lower memory bandwidth, and thus lower tokens per second, but maybe it could be made to work by having multiple clusters. You likely wouldn’t be able to get beyond a few or maybe a handful of users with a single Spark cluster.
As for networking, it’s pretty straightforward. You ideally want 200 gig networking, but could make do with 100 gig. In your case you probably want each Spark to be getting 200 gig. A common option are switches that have 400 gig ports and then using cables that split those into two 200 gig cables, but you could also use switches with 200 gig ports or split a 400 gig port into four 100 gig cables. As far as switches, at a cluster size of 4 to 16 the MikroTiks are perfectly great, but you can use any switch that offers the 200 gig (or 100 gig) that you want. You can even use two switches separately since each Spark has two ports.
Out of the switches you listed, I’d probably avoid the 200 gig NVIDIA switch, but it’d work. If you went with a 200 gig switch you’d need the same 200 gig cables. If you go with a 400 gig switch you’d need cables that split to two 200 gig ends. All of the switches you mentioned could support up to a cluster of 64 Sparks at full networking speed. No one has publicly reported on more than 16 other than the thread about 24, but it’s not clear the poster ever moved forward with it fully.
I have a cluster of 8 Sparks with a MikroTik CRS804, and am working on upgrading that to 16 Sparks. Keep in mind that the switches are not as plug-and-play as normal home switches for regular ethernet. They need to be configured and the specifics depends on the specific switch. A 200 gig switch might be the most plug-and-play / require the least configuration. I’m not sure about the exact details there.
Thanks gents, I probably should have have clarified a bit. This all in flux.
We are likely going to do a 3x or 4x set of 4 DGXs clustered. This will support only a vert small team >5. Not one giant 16x cluster. Thanks on the SN4700 recommendation. What about the other models. Microtik is out of the question, just because of office politics.
Honestly if you’re only going to be doing clusters of 4 Sparks it would be insane overkill to buy any 32 or 64 port enterprise switch specifically for the Sparks. There’s a lot of cargo cult thinking in this space regarding switches and GPUs that demands options for huge scale be used for everything. What you’re talking about doing is not close to enterprise or data center usage. Even assuming the possibility of a 16 Spark cluster it wasn’t and the enterprise switches were still overkill for it, but at least not by too much and they provide the possibility of a 32 Spark cluster should that become desirable. With what you’re saying, the answer is dead simple, go with a CRS804 or one of the other MikroTik switches that can only do 4 or 6 Sparks but are more easily available right now. If you do that you’ll benefit from the community here and be able to more easily get it all up and running. I’m just not hearing that you have any need at all for anything enterprise level, or necessarily even the expertise to for sure be able to pull that set up off.
Yes, you need to take into account that the ConnectX-7 will not be joining your corporate or DC network, they are just the memory interconnect fabric between your Sparks, if will not be used in a network sense. You will not run BGP, OSPF, DHCP, etc… on these, or connect them to the Internet. Your network team need not get involved in the policies about what to purchase.
Yeah, for a cluster of 4 Sparks it’s really just a fancy cable. It’s of course possible to hang a flash NAS on it as well, but it doesn’t sound like the OP is talking about that. It wouldn’t even be particularly useful for a 4 node cluster anyway assuming the 4 TB version of the Sparks is used.
If the intention is to build 3 or 4 clusters, each a 4-node, then a single enterprise switch would make more sense. Four CSR804 will cost more than 5K, then it will take 3 - 4 management links, 3 -4 power cables, etc. Personally I’d go with one switch instead of many.
Then it’s a single point of failure for what could otherwise be independent clusters. Other than the cool factor one might apply to it, what would the benefits be to offset the introduction of a failure point that would bring the entire set up down at once? I can’t think of any.
Breaking out to 100 gig is a viable option, but I’m planning on using two CRS804 switches, one for each of the two ports on the Spark. See the thread I linked for details. The OP there is supposed to be trying out that configuration soon and will report back on their findings.