DDR4 512GB vs. switching to DDR5 for MoE offload on a multi-GPU rig?






Setup: (if finished - still under construction, partly watercooled)
- Threadripper PRO 5995WX, ASUS WRX80E-SAGE SE WIFI II
- 6× RTX PRO 6000
- 8× RTX 5090
- 4× RTX 3090
- 128 GB DDR4 (that’s the problem)
I want to run models bigger than VRAM (e.g. ~1T MoE at FP8/Q8) with the routed experts offloaded to RAM. Is it worth it?
Options:
- 8× 64GB DDR4-2933 RDIMM: ~€4k, ~188 GB/s theoretical
- Switch platform: 9985WX + WRX90 + 512GB DDR5-6400, ~410 GB/s. I already have some parts, but it would mean big changes, and my PCIe switches would stay PCIe 4.0 anyway.
Is ~2× the RAM bandwidth worth ~3× the price for offload decode, or is DDR4 good enough? Does anyone have real t/s numbers for offload on 8-channel DDR4 vs DDR5 Threadripper?
Some background: Pictures attached. It’s not pretty, but it works. It started as an AI rig and turned into a Pearl mining rig, because mining pearl and buying Claude and Codex subscriptions made way more sense than running everything locally. Sometimes it’s also a render farm for Gaussian splatting.
Right now the 8× 5090 make about €120/day mining, so subscriptions are still the better deal. But I want to be ready for when local LLMs get really good (or when cloud gets too expensive or too restrictive).
Plan for now: DeepSeek V4.1 Flash nvfp8 on 4× PRO 6000 + RAM offload, while the 5090s keep paying for my AI addiction. And it’s a great heater in the winter.....
With engramm tabels on the 8x5090 and 4× PRO 6000:
(all cards power limited to 420w- since i could have 6,6 kw power consuption if everthing is running)
single chat, 40.000 prompt cold
- Prefill: ~15,900 t/s
- Decode: ~294 t/s
- 5 sec TTFT
I want to move the engramm tabels to RAM and later be able to run larger models : le chonk, Kimmi for example.
What would you do? Go all the way and go for the DDR5? or is ddr4 good enough?
Sell it all and buy something diffrent?
thx!
About this post
- Posted
- Archived
- Score
- 487 · 96% up
- Kind
- Gallery · 6 files
- ID
- 1xph2dn
171 comments
tell me
TELL ME
HOW MANY KIDNEYS DID YOU SELL
I was very lucky, started buying up stuff before the big price hikes and also started pearl mining in June - so it payed itself. Reused old mining frames and my old threadripper pc. all in all it was less than 90k €.
Used old Pcie 4.0 switches that were cheaper.
And it was still cheaper than a sportscar I wanted to buy and much more fun.
(not even including the maintanance costs) - so here you have my boymath.
> I was very lucky, started buying up stuff before the big price hikes ... all in all it was less than 90k €
I know what you mean, but it still doesn't make the number any less astronomical.
If you bought the components early, I think 90k could have bought you an 8x H100 server. Not as quiet, but if you have 90K to burn on this, I'm sure you have a basement or shed where you could put that server.
Out of curiosity, you actually made 90k in Pearl mining???!!!
God damn with that boymath, you need a boyfriend? I'm sure my wife won't mind
What the fuck are you guys even doing with AI lol
Being able to do what you want without anyone censoring or modifying your models is something else. And it’s really fast, too.
I also see this build as an investment. I plan to use it for agentic workflows, Gaussian splatting, and rendering. Down the line, I want to offer gaussian splatting as a service and mine as much pearl as I can.
Its porn isn't it ?
What is your ROI for this?
Generally speaking, if you have a system where you are running active parameters/cache on VRAM and offloading the rest to RAM, the difference between DDR4 and DDR5 RAM is negligible. They are both slow (because you are comparing them to your VRAM).
DDR5 really only really matters if you have a system with NO VRAM, so your RAM is your fastest inference provider. THEN you want DDR5.
Would DDR5 make your rig faster? Of course. But since most of your "work" is being done on the VRAM, IMO it is not worth the money and you should keep the 512GB DDR4 you already have.
Congrats and F you.
Caveat: with this kind of setup maybe money doesn't matter to you. If that's the case, then sure... what the hell... go ahead and upgrade to DDR5. It'll be "better". If you are at all on a budget, though, don't bother.
Thank you.
I will go with the DDR4 - i only have 128 DDR4 right now.
Money still matters. There’s always a limit. I passed on the data center setups and tried to build something myself on the “cheap.”
I reused my old Threadripper PC and mining frames and stuck with PCIe 4.0 switches. I wanted to keep the whole setup under 100k, so I made it a challenge to see how much performance I could squeeze out of that budget.
this doesn't add up to me. with a hybrid MoE setup most of the bottlenecks come from the RAM speed in my experience and expirementation. I jumped through a lot of hoops tweaking memeory setup and it had a big impact on tok/s in the end. the GPU is never the bottleneck because it's always much faster than RAM.
There's a pretty simple explanation why it won't matter too much in this specific case. The CPU memory bandwidth would make a difference if you had a super high core count CPU (like the old xeon phi platform before GPU compute killed it) and were doing inference on that CPU, but doing GPU compute with expert offload, your bottleneck switches to the PCIe bandwidth. If using expert caching, those expert misses are going to hurt exactly the same regardless of memory bandwidth if you're locked to PCIe 4.0 either way. Once your host memory bandwidth exceeds PCIe bandwidth, you get minimal gain from going faster memory for expert caching, and GPU compute will always be significantly faster than CPU compute regardless of CPU memory bandwidth. If he got rid of the PCIe switches and made use of the platform's PCIe 5, then it could be a meaningful upgrade.
same, I've switched from 32gb 7000 mhz ddr5 (main pc) to 64gb 3600 mhz ddr4 (dedicated server), and same models I've used to offload to ram suffered -18 to -20 t/s. mind you, it was a lot smaller models: qwen 35b gemma4 26b. Even dense models where only a few layers were offloaded to ram were a lot slower.
It would be useful to track which MoE experts are selected in each layer, how often they’re used, and how that changes during inference. The runtime could use that data to keep frequently used experts in VRAM and load others from system RAM as needed.
I did some experiments with Ktransformers and SGLang. but did not have the RAM for it.
also my system: 512gb ddr4 7900xtx epyc 7532 CPU been running glm 5.3 flash @ 25 tok/s qwen 3.8 flash next @100 tok/s
ok thank you. Just orderd:
8x 64GB 512GB DDR4 2933MHz ECC REG
This
this dude’s rig is an entire data center
Not quite organized enough to fit that...maybe it qualifies as an AI strip mall?
/r/homedatacenter
Don't let Sam Altman find your whereabouts
Is this for an end of world bunker kind of shit?
You should see what’s powering it. :)
Yeah, I’m a little into that stuff. Self-sufficiency and a bit of "doomsday prepping" are hobbies of mine.
But I hope I’m wrong about the whole end-of-the-world thing and that this all turns out to have been just for fun.
Fair. Man, if you are decoding at 200+ tps you are fine…its so hard to predict how much more tps you’d get maybe just marginal…and it will cost you a lot, you could enhance your bunker with that money and still be grand on the ai part of post-apocalyptic days. My opinion 🤜🏼🤛🏼
What tf am I seeing here? Is this heaven?
on another note, could you write up the switches and PSUs used and how you wired it onto the main Mainboard? I only have 4 gpus but thinking of buying a switch to not upgrade my platform and am struggling how to power the cards correctly
Yes, that’s a good idea. The biggest thing to watch out for when using multiple PSUs is backfeeding.
A GPU can draw up to 75 W through the PCIe slot and also draws power through its auxiliary power connectors. My rule is simple: one GPU, one PSU. Power the GPU’s PCIe slot and its auxiliary connectors from the same PSU.
You can do this with mining risers that carry the PCIe signals from the motherboard and take slot power from a separate input. You can also use a PCIe switch with dedicated slot power inputs, as long as each GPU’s slot and auxiliary connectors are fed by the same PSU.
I use an Add2PSU adapter to start the power supplies together.
also it connects common ground.
This is the switch I used. C-Payne PCIe Gen4 switch
https://c-payne.com/products/pcie-gen4-switch-5x-x16-microchip-switchtec-pm40100
2,2 kw 230 V PSUs and one 3,2kw 230 PSUs.
It’s pretty straightforward. If you want a clean, professional-looking build, you can use data center PSUs with breakout boards. That can also give you power supply redundancy, depending on how you set it up.
C-Payne PSU breakout boards
https://c-payne.com/collections/psu-breakout-boards
thanks a lot, I'll look into that !
Yeah fr I'm gonna need a tutorial from my new prophet here.
I'm impressed. It's really beautiful. How do you power it?
It’s less of an issue here in the EU. Standard household outlets are 230 V, and homes with three-phase service have 400 V between phases.
My house sometimes draws around 19 kW when I’m charging the car, the heating kicks in, and my AI rig is running at the same time.
and a PV system with 100kwh battery storage/backup and 33kwp panels.
Helps to reduce the cost.
he also owns a nuclear reactor but forgot to mention
Fucking insane, congrats.
thank you wait until its finished, will repost it. :)
the craziest one I've ever seen by far. an unimaginable build.
wow .. so I have this frame as well full of cards .. and it never dawned on my to put the psus on the outside
You have to do everything you can to get the heat out. It’s crazy. The finished build could draw up to 10 kW with everything running at full power, so efficiency matters. Undervolt the graphics cards and use high-efficiency power supplies.
I put mine in a grow tent and pipe out the heat .. its in my office I'm about 7.2KW and I work next to it .. its a low roar but I don't feel the heat .. I'm not quite up to your level with water cooling but peak temp on my cards might hit 72C .. but I also have like 16 fans on the front and the heat extractor
I hate flex posts. 140k dollars.
I’ll flex it once it’s finished. Promise! :)
He’s asking for guidance. Just because it has 150k in it doesnt mean it’s a flex post, quit complaining and move on if you’re not going to help
At current prices?
I would sell it all and purchase an enterprise server with 4xb300, it seems your hardware is pretty close in today's prices.
where could i buy it?
I have been thinking about selling it all and going this way.
i'll hook you up with a server with 4 x AMD MI355 under $200k :)
I have a EPYC Milan setup currently with 3x RTX5080 and run QFN on this much smaller setup.
During PP the limit seems to be PCIe, as bandwidth used goes up to about 30 GB/s per GPU. I see a total of 90 GB/s when experts are streamed. But here it seems to be that PCIe Gen4 switches are used connecting multiple GPUs to one Gen4 slot. So during PP RAM is nowhere near its limit.
During TG the best engines like Strata, Basalt, Maya, ... rely on a high VRAM cache hit rate for good performance. IMHO, if hit-rate is well above 80 % RAM bandwidth is not that important anymore, as most calculations are done on the GPUs. But CPU speed may be an issue when no AVX512 Support is available.
I think in the short-term improvement of the engines will bring more additional performance than such a RAM upgrade. Especially TP in such a hybrid setup should push performance forward.
I personally also looked for an upgrade to a dual Turin CPU setup with 600 GB/s per CPU (12-channels). The mainboard and the CPUs wouldn't be an issue, but the memory is well out of my budget. I would convert the GPUs to single-slot water-cooling and plug them directly into the mainboard for full Gen5 speed. Putting the GPUs behind a switch will always limit prefill in a hybrid setup, as all experts must be pushed through one PCIe link.
Very interesting will be the new AMD Venice architecture with 1.6 TB/s memory bandwidth. But the price and availability will be totally out of reach for me.
Thank you for the answer.
could you try dynamic shifing of experts?
With KTransformers and SGLang, you can enable
--kt-enable-dynamic-expert-updateto adjust which MoE experts are kept in GPU memory while the server is running. The update is triggered during prefill when the prompt reaches a configurable token threshold.Something similar is a normal part of the engines Strata and Basalt. After a specific number of tokens the most recently used experts are moved to VRAM and replace the least recently used ones.
What kind of software do you plan to run for large moe offload? Strata is only fast cause its focused on few models. But other than that, large moe offload is super slow in more general engines. I've spent some time trying to find a general well optimized inference engine for moe offload but no luck so far.
I hope dynamic shiftig of the Experts would help:
With KTransformers and SGLang, you can enable
--kt-enable-dynamic-expert-updateto adjust which MoE experts are kept in GPU memory while the server is running. The update is triggered during prefill when the prompt reaches a configurable token threshold.What did you read to learn all of this and in what order? I remember reading your first post about adopting a second 3090 and the feasibility of nvlink 7 months ago. In that time I've bought my own dual 3090 setup and feel the need for more as I want to go down the path of parallel concurrent sessions. My issue is I feel like I keep hitting a wall in understanding how to best to manage the software side of my stack. I'm not quite breaking through with what is possible with my two gpu's.
Yeah, time flies. Hard to believe that was seven months ago! (used AI to generate parts of this post)
I used Claude Code and did a lot of reading and testing to get this setup working. The biggest piece was getting PCIe peer-to-peer (P2P) working between the GPUs. That took a patched NVIDIA driver for my GeForce setup, working Resizable BAR, and the right PCIe configuration.
On my ASUS Pro WS WRX80E-SAGE SE WIFI II, these were the BIOS settings that worked:
The easy one to miss was the MMIO limit. With several GPUs asking for large BAR windows, the BIOS needs enough PCIe address space to map them. Some older RTX 3090s also need a ReBAR-capable VBIOS update from the card manufacturer. Check the exact model and board revision. NVIDIA’s ReBAR guide
On the earlier 3090 build, I also disabled ACS on the AMD root ports. The PCIe switch had its own ACS settings, and changing those took bandwidth between two 3090s on the same switch from about 3 to 26 GB/s. On the current build, IOMMU and ACS are both set to Auto in the BIOS, and Linux boots with
iommu=pt.For the topology,
nvidia-smi topo -mshows how the cards are connected.PHBmeans the path crosses a PCIe host bridge. To see whether your GPU pairs can actually transfer data directly without staging it in system RAM, checknvidia-smi topo -p2p pand run a real P2P transfer test on the pairs you plan to use. NVIDIA’s P2P troubleshooting guideThen stack as many GPUs as you can power and cool!
https://i.redd.it/tx00pt6dt10i1.gif
is this trolling? like having a six digit number for gpus then asking about 128 gigs of ddr5?
No, it’s a genuine question. Rebuilding the system around DDR5 would cost me another $12,000. Adding more DDR4 would cost $4,000 at most, and it’s an easy upgrade.
That’s a $8,000 difference, so I’m genuinely wondering whether the performance gains from DDR5 would be worth it.
Honestly? I'm not sure that it is, really.
BUT that being said? I think what's worth the difference is capturing it now before prices spike (yet again) after yesterday's market correction. In my mind, with this much invested? I'd spend the $12K now and hedge against continued lack of supply and futureproofing, not because of the PCIe bandwidth. Don't DDR5 archs support higher voltages as well?
512 gb, not 128
And I think its more about having to rebuild. Oh and, after spending that much its normal that he tries to save some money
It was sir lol
what games can u play on that
He has built a money-printing game console.
Consuming*
Omg, I am afraid to think about your electric bill
Want to know the funny part? I actually got paid to use electricity.
Here in Europe, subsidies can push electricity prices below zero when there’s a surplus. When that happens, I can get paid to use power.
I built myself a 100 kWh battery setup with solar panels and used my dynamic electricity tariff to charge the battery and run the GPU server when prices were low or negative. I’ll pay more for electricity in winter, of course, but I still expect to come out about €200 ahead overall.
And in winter, I use the heat from the server to warm my house and swimming pool. So yeah, it works out pretty well.
Still kicking myself for not picking up RTX 6000 PROs when they were $8000 a pop.
I got a 5090 build with 64gb ram(6500) i regret not getting 128
What a monster, congrats! And that upside-down table fan on the side 😂
This is amazing! Serious leisure for sure! I built two Ai 9700 pro by accident and now tempted to get 2 more with a 10K budget…I’m not going Mac Studio route as I use it as an unraid server and it already has 40TB in it and 4TB for cache drives and LLMs…
crying in 2x3090 128gb ddr5
I envy you mate, thats a dream rig right there.
If you would sell it what do you think its worth right now?