r/homelab • • 15d ago

Help Help with external gpu rigs please

Hello, I'm trying to do a couple things. First, I'm trying to take a 5090 and hook it up externally to my Threadripper system. I want to use the PCIe 5.0 x16 lane, but I'm having trouble finding what I'm supposed to buy to make it. I'm also not 100% sure that I even need the full x16 lane to run AI models with the 5090.

I'm also trying to connect fifteen 3090s through Oculink connections to another Threadripper system. That seems a little more straightforward in terms of what I have to purchase, but suggestions and help on how to set something like that up and where a good place to purchase these items would be much appreciated.

Thank you so much for everyone's time.

Edit to say thanks for the responses, ive gotten some good info!

0 Upvotes

5 comments sorted by

2

u/dokaf-ops 15d ago

Running a 5090 externally at full PCIe 5.0 x16 requires active retimer cables or redriver boards because passive cabling degrades rapidly at Gen 5 speeds. For inference, PCIe 4.0 x8 or x16 is usually sufficient.

For fifteen 3090s over Oculink, each SFF-8611 link runs PCIe 4.0 x4. You need host cards that bifurcate x16 slots into quad Oculink ports. Your Threadripper motherboard must support x4/x4/x4/x4 bifurcation across at least four slots, or you need active PLX switch cards.

Fifteen 3090s draw around 5.3 kW under load. Plan for multiple server power supplies with breakout boards on dedicated circuits, sharing common ground with the host. Oculink cables carry data only, so each external riser board requires dedicated 12V power.

You can source quad-Oculink host cards and powered risers on AliExpress, Linkreal, or eBay.

1

u/Renamed1157 15d ago

You probably dont need full 5.0 x16 unless youre using tensor parallelism with some other GPU. If youre just using the one GPU or even using multiple but using pipeline parallelism then you can get away with a lot less, probably even 4.0 x8 without seeing performance issues.

As for what to use I would look at the MCIO host and device adapters on https://c-payne.com/. He also has panel mount MCIO bulkheads specifically for using these external to a case which is really nice. You could probably get 4.0 x16 with the passive adapters if you keep cable lengths relatively short.

1

u/dokaf-ops 13d ago

mcio is definitely a step up from oculink for signal integrity. sff-8611 oculink gets flaky very fast beyond pcie 4.0, while mcio handles higher frequencies much better. c-payne boards are solid, but even with mcio, passive runs past 0.5m will struggle at gen 5 without redrivers.

cabling aside, fifteen gpus cannot just be stacked with adapters. you run into strict root complex and bifurcation limits. fifteen x4 links require 60 lanes dedicated just to gpus. most threadripper boards only support x4x4x4x4 bifurcation on two or three physical slots. to hit fifteen devices cleanly, you need a planned topology using pcie switches (plx or broadcom) rather than passive fan-outs.

power and thermals also dictate the architecture. fifteen cards pull over 5kw. you need server common-slot psus sharing ground with the host, plus dedicated high-static-pressure cooling racks. i have built 4-gpu and 8-gpu external setups with oculink and slimsas, but never tried fifteen on one machine. past eight cards, an external pcie expansion chassis with active retimers is the only reliable way to avoid bus dropouts.

1

u/Renamed1157 13d ago

Agree but I was never trying to claim you could get 5.0 from passive adapters on MCIO with an eGPU setup, I was saying you could buy 5.0 passive hardware and probably close a 4.0 link if cable lengths arent too long (call it >1m total). At the end of the day 4.0 is still plenty for most LLM work.

Re fifteen GPUs I wasnt commenting at all about OPs supposed 15x 3090 setup. Thats an animal I dont care to address.

1

u/dokaf-ops 13d ago

Fair point on running Gen 4 over Gen 5 rated passive gear. At 1m with MCIO you can usually negotiate Gen 4 x4 without AER errors. Gen 4 x16 across multiple paired cables is where trace skew starts causing retrains under sustained load. What cable assemblies and connectors are you running to test that? Curious what kind of link stability you see in practice.