The title leaves room for interpretation. The main goal is to steer clear of server grade hardware (like for the main motherboard), while still aiming at the bigger models (north of 70B). Given current macro economic conditions, we’ll even opt for AM4 (with DDR4) for our first test rig. If this hasn’t fired up the better half of you, let’s dig in.
TL;DR
First and foremost, props to the mad scientists over at The Neverending Story:
At first I had a wiki in mind. A full blown step by step while also gathering thoughts and insights in one place. It quickly became clear though that that would get us into book size of reading material. And I’m no expert in any of this, so instead I plan to get just enough information out there to spark your interest and get you going, without wasting too much time (and money) on dead ends. To dig deeper, The Neverending Story is a good place to start.
I’ll put as much of my ramblings in collapsed detail regions as possible, so the main flow can keep focus on the gradual evolution of our test rig:
- April Fools Edition (dual GPU)
- Easter Egg edition (quad GPU)
- Independence Day edition (benchmarks; AM4, AM5 and P2P)
Future edition teaser - Switch board
@Panchovix already did a great job raising awareness around switch boards over at reddit:
Which serves as a good introduction for later.
What the Quant
I realize for some I’m getting into religious territory with what I’m about to say, so I want to emphasize this is just my opinion. If you have a different approach that works for you, more power to you (and do share).
I prefer to use FP8 (or even FP16) over any kind of quant for coding.
At this point in time, none of (local) models are perfect and need to have their work reviewed. That’s why I aim for the highest quality responses I can get out of them. If you add it all up, the rework, the things missed that pop up later, the maintenance cost, it might otherwise have been cheaper to just write it all yourself.
Just wanted to get this out there seeing sales people and influencers alike pitching local AI in demos with 4-bit quants. In the end, I guess it all depends on your priorities.
Of course, for experimentation or if you’re just starting out and want to get your feet wet, sort of speak, then you don’t need vLLM with FP16, but that’s not what this thread is about.
If you’re eager to see the first build, you can skip right ahead to the April Fools edition.
Hardware ramble
Motherboard
The ASUS ROG STRIX B550-F Gaming motherboard was the cheapest one I could find with (some) online confirmation it would support bifurcation.
When it comes to the adapters we’ll be using, there are two main kinds:
- Host adapters
- PCIe adapters
The host adapter (on the left) connects to the motherboard and in turn uses cables to connect to one or more PCIe adapters. You’ll typically need bifurcation support from the motherboard to (be able to) attach two or more devices to a host adapter. This also means the total bandwidth of the x16 slot will need to be hard partitioned over multiple devices. On top of that, consumer boards have only so many lanes to begin with. For example, on higher end consumer boards you could get two slots for GPUs. However, these go into x8 mode when both are populated. This makes further bifurcation even more troublesome, quad GPUs running at x4?
This is the main attraction of the switch board, each slot gets full x16 bandwidth with the board doing the “switching”. With a switch board you can think of it as going from 16 PCIe lanes on the main board to 16 lanes on the switch board, using two cables. Depending on the host adapter, you might still need bifurcation support from the motherboard though. When I set the BIOS setting on the B550 to Auto (x16), the PCIe switch didn’t show up (in lspci) and neither did the GPUs.
CPU
For use with a switch board it’s best to steer clear of Intel chips, so for our budget build I went for the 8 core Ryzen 7 5700X. I also considered the 6 core version of the last AM4 refresh, the 5600T. From earlier vLLM testing I noticed the CPU wasn’t taxed that much, though it all depends on your specific setup and use case. thr3e sums it up nicely here.
Last but not least, with AM4 you need to choose your Ryzen suffix carefully. When looking at the 6 core models, I looked at, and rejected, the 5500, 5600 and all the ones with integrated graphics (G suffix) cause these all only support up to PCIe Gen 3. Be sure to consult the AMD specs for your CPU of choice to guarantee PCIe Gen 4 is actually supported.
Future me chiming in; there are cases where the integrated graphics might still make sense. If, for some reason, you don’t want to steal precious VRAM from your inferencing GPUs and you would need to install a dedicated GPU for video out on the main motherboard anyway. With consumer motherboards, once you install an adapter card next to a dedicated GPU, you’ll go from PCIe gen4 x16 to x8x8. Leaving your passive adapter with x8 gen4 lanes to work with. This means you’d only be able to service one cable. With the integrated GPU, you’d end up with x16 gen3 lanes, so providing the same bandwidth, but perhaps easier to bifurcate further. To be sure, this seems like something only suitable to some, but it’s something I didn’t think of before so I thought I’d just mention it.
PSU
If the CPU would be considered the brains of the system, then we can think of the PSU as the hearth. Pumping the juice around. Providing all that juice consistently becomes paramount when you hook up more and more GPUs. From what I understand, signal integrity and reliable power delivery are two key components to having a good time. Long story short, it’s worth doing your research and investing in a decent PSU. Check number of PCIe connections and cable lengths. If you already have your chassis (in mind), you can use any cord to validate your cable lengths (goes for data cables as well, with the addition that these typically don’t like tight bends).
GPU
This guide will focus mainly on NVIDIA GPUs, RTX 3090’s in particular. I get these aren’t exactly cheap, but those on the lookout were able to make some good deals on the second hand market. Also, with recent developments, the models that fit into 96 GB of VRAM have become quite powerful. If you can wield their power to conduct your business, I believe this setup can be a good stepping stone. On top of that, it allows for gradual expansion without breaking the bank (looking at you RTX 6000).
For me, it all kinda came together. I’ve been dabling with Qwen3 30B Coder FP8 for a while now (on 2 3090’s). With the release of Qwen3 Coder Next, and the promise of software enabled P2P, I was anxious to see how it all stacks up together.
Worth pointing out that there is another tradeoff to be made here. The 3090’s are from the Ampere generation, which doesn’t have the hardware plumbing to handle FP8 directly. Per vLLM FP8 docs:
vLLM supports FP8 (8-bit floating point) weight and activation quantization using hardware acceleration on GPUs such as Nvidia H100 and AMD MI300x. Currently, only Hopper and Ada Lovelace GPUs are officially supported for W8A8. Ampere GPUs are supported for W8A16 (weight-only FP8) utilizing Marlin kernels. Quantization of models with FP8 allows for a 2x reduction in model memory requirements and up to a 1.6x improvement in throughput with minimal impact on accuracy.
With these Marlin kernels, even though it’s not emulation (sorta kinda), there’s a similar performance hit.
RAM
The configuration for the test rigs:
- AM4: 4x16GB (2R DDR4-2667)
- AM5: 2x16GB (2R DDR5-5600)
Word to the wise, most MoE models provide their safetensors in sizes well below 8 GB, in which case your RAM capacity doesn’t really matter if you plan to load everything into VRAM. However, each file needs to be loaded into RAM first, so on AM5 I wasn’t able to load the latest Gemma models, cause one of the safetensor files was huge (for example: google/gemma-4-26B-A4B-it at main ).
If you don’t already own the RAM sticks you intend to use, be sure to check the supported configs on the CPUs specs.
On AM4 the max memory speeds would resemble:
| Config | |
|---|---|
| 2x1R | DDR4-3200 |
| 2x2R | DDR4-3200 |
| 4x1R | DDR4-2933 |
| 4x2R | DDR4-2667 |
What elephant?
I briefly touched upon signal integrity. Given it’s a huge topic, and I’m no expert, I’ll keep it short (for more be sure to head on over to the Neverending Story).
The motherboard plays a big role. The upper slot, closest to the CPU, should be your primary pick for a host adapter card.
There’s also the generational difference between AM4 and AM5. The B550 motherboard did fine until I tried enabling P2P through the driver mod. Decided to take one more stab at it using a higher end X570 motherboard, still no cigar. If P2P matters to you, you’ll want to move up to AM5.
Another rabbit hole to fall into is that of redrivers and retimers. These typically come as host adapters and aim to improve signal integrity. I managed to steer clear of those by carefully weighing my options when it comes to choosing the components, their layout, cable management and such.
The true elephant in the room is probably the type of data cable. Lots of talk of SlimSAS, even some recent success stories. My two cents, don’t go there. Instead, MCIO is the new(er) kid on the block:
- feels much more reliable
- more future proof
- just easy mode
That’s easy mode in an already convoluted domain, right?
Advanced Error Reporting
That brings us to the question, how do you measure signal integrity, or the lack of? Meet Advanced Error Reporting.
Just as with unit testing in software development, it pays to start out with a faulty case (red). And then try to make it right (make the test turn green). Especially with AER it is paramount you can establish the error reporting works, given it is not possible to inject these errors through software (according to linux kernel docs).
It may seem trivial, but at least with AER enabled in BIOS (not through kernel compile args), all the proposed methods in the recent success story thread didn’t register anything (counters remained 0), even though errors were definitely being generated.
The perfect kit to start generating errors can be found on AliExpress (https://aliexpress.com/item/1005010313245878.html):
Bought one for around 60 bucks and, sure enough, it started spitting out bit rot like a race horse on amphetamine. To be clear, if you just want to hook up 2 GPUs for the least amount of money, then don’t buy this kit. This is me addressing the tinkerers and those wanting to experiment for themselves.
One easy way to retrieve an indicative error count, after having enabled AER in BIOS, is by simply querying the journal:
$ sudo journalctl -b | grep "PCIe Bus Error" | wc -l
The -b arg will query the journal logs since last boot. There are other args that will let you, say, query the logs for the last 15min.
April Fools edition - Dual GPU setup
Obviously, we’re not aiming for models north of 70B (yet). For the dual GPU setup we’re looking at 30B parameter models at FP8.
AM4 test rigs:
-
Do: use with passive adapters
-
Don’t: expect P2P support (more on that later)
-
CPU: AMD Ryzen 5700X
-
RAM: 4x 16GB Crucial DDR4 2666MHz CL19
-
Motherboard:
- Go cheap or go home
- ASUS ROG STRIX B550-F Gaming
- 100-ish bucks new
- Lots of BIOS options for tinkerers
- Glorious, once upon a time
- MSI MEG X570 ACE
- 200-ish bucks on second hand market
- Definitely feels like a higher end board
- Go cheap or go home
Pick it apart
When it comes to MCIO adapters, this passive Shinreal host adapter in combination with these PCIe adapters maintains excellent signal integrity.
Props to @thr3e for bringing these to our attention (in the Neverending Story).
With 1 host adapter, you can hook up 1 PCIe adapter at full 16 lanes using 2 cables. Or you can hook up each PCIe adapter with 1 cable for 8 lanes of bandwidth.
Of course, you don’t really need PCIe adapters if you’re going to use a swith board that provides PCIe connections by itself. It all depends on how you hook everything up.
These days you can easily find MCIO to MCIO cables. 10Gtek provides quality ones.
In combination with the switch board I used (shown in future edition teaser), you will need two MCIO to SlimSAS cables.
There are good ones from Shinreal that are 1m long. 10Gtek also sells these, in varying lengths. I bought a set of 0.8m from them.
Choose your frame
One of the more versatile frames I encountered were those constructed out of aluminium profiles. These can easily accommodate different styles and shapes of PCIe adapters. The ability to control the spacing between the vertical profiles also helps with the overall versatility.
The proposed MCIO adapters from above range quite far and require placing the bottom support on the horizontal profile.
The SlimSAS adapters below (I use C-Payne btw) are oriented differently, so I was able to place all supports on the vertical profiles.
Apart from not having anything to mount fans on, these work really well for a dual GPU setup. It gets out of your way. Takes up minimum space, while still providing ample spacing between both GPUs.
MCIO Adapters (x8x8)
My test lab (not the showroom used for the pics) is quite space constrained, so I chose to stack vertically. Eventually, everything will end up on shelves in the basement.
With signal integrity in mind, it pays to keep data cables separate from power cables. For that reason I turned the base frame 180 degrees compared to the frames that will stack on top of it. This way we can have the data cables to the left and the power cables to the right.
The gray cables coming from the host adapter are the Shinreal MCIO to SlimSAS cables of 1m. As mentioned, data cables don’t play well with tight bends. This is the curvature I settled with.
Moving along clockwise.
Motherboard slots (x8x8)
So you might think: “Why would I need to invest in additional boards for a dual GPU setup?”.
Well, apart from the highest end consumer boards, you usually get only 3 slot spacing for a dual GPU setup. You can make it work, I too resorted to, what I coined, cooking with Eagle eyes (pun on Gigabyte Eagles).
Motherboard slots (x8x4)
An already better implementation is to mount the GPUs next to each other. This way the chimney effect is less prevalent.
Still, the temperatures are way better with the first setup (with PCIe adapters). For my remaining builds, I will strive to put the GPUs further apart. Even if it requires additional riser cables (I saw a couple of interesting ones on AliExpress, more on that next).
Easter Egg edition - Quad GPU setup (switch board time)
After my adventures on AM4, I decided to get off the less travelled path and bought the same motherboard Panchovix already got P2P working on.
AM5 test rig:
- CPU: AMD Ryzen 9600X
- RAM: 2x 16GB Crucial Pro DDR5 5600MHz
- Motherboard:
- Gigabyte Aorus Master X670E
- 250-ish bucks on second hand market
- Enables P2P
Pick it apart
These risers from AliExpress were advertised as a server cables. They’re the less common 0.6m variant. Note they don’t just vary in length. There are left and right angled slots. The cable can also go either way, meaning to the front or back of the frame.
This is what I had in mind.
Choose your frame
Found these stackable frames on AliExpress.
They come in two variants:
- One for mounting motherboards
- One for mounting up to 6 GPUs, which we can use for our switch board.
They both have the same width, but the 6 GPU version is just a bit longer. The good news is you can still stack the one type on the other and fixate them with screws on one side.
For the bad news, the devil is in the details and after installing the switch board.
The cutouts didn’t align with the GPUs.
With my first attempt with a chisel, the thin sheet metal didn’t take the shock therapy all too well. The flat surface got all wobbly.
For my second attempt, I took a gentler approach with a small iron saw. Had to file the top of the blade to get it through the cutouts though.
At this point, I wanted to get back to testing the switch board, so instead of screwing with the holes on top, I just clamped the GPUs in place.
Make sure the GPUs are perpendicular to the board when you fixate them.
At the time, these frames seemed like a better idea than those mining frames. Bit of a hassle with the misalignment, but all in all, I’m happy with how it turned out.
We could definitely use some more good budget options in this space.
Independence Day edition (benchmarks)
The 3 setups for which I benched all models:
- AM4
- AM5
- AM5 with P2P
For each combination of setup and model, I ran a script with two coding assignments, fired one after the other. The first is more of a warm up, applying the Command pattern to a code base of a single source file. The second assignment is to implement a new feature in the OpenRA git repo. For comparison, I’ve hooked up vLLM telemetry to a Grafana dashboard. Combined with NVITOP screenshots, this should give us some insights in the characteristics of each build.
Software ramble
What framework?
To each its own. Given the lower specs of the targeted CPUs and RAM, I’d like to move as much of the load onto the GPUs as possible. My gut feel tells me this will be the trade off we’ll need to make to maintain decent inference speeds. My framework of choice will be vLLM. It’s production grade and plays well with the FP8 format.
OS
Again a bit of a personal matter. For me the choice is between Debian and Arch. I’ve probably been on Debian the longest and as we’re looking to set up a server (in the way we use it, not referring to hardware), I’m leaning towards Debian on this one.
NVIDIA driver
The end goal is to enable P2P communication between GPUs by modding the driver provided by NVIDIA. With consumer motherboards though, we can only truly reap the benefits of P2P once we have a switch board set up between the root complex (CPU) and the GPUs.
The promised land of P2P
Panchovix did a good job explaining the benefit of P2P in his first reddit thread.
The switch presents multiple independent downstream ports (say, 4× x16 slots), each appearing as a separate PCIe link to the devices attached.
When GPU-A sends a TLP to system memory, the switch routes it through the crossbar to the upstream port. When GPU-B does the same, traffic is interleaved/arbitrated. The switch handles flow control, credit management, and QoS.
So then, traffic between downstream ports (GPU-to-GPU P2P) can traverse the switch fabric without going through the upstream port at all. This is why switches are valuable for multi-GPU —you could get full local bandwidth for P2P transfers.
In short, without P2P all traffic needs to go through the root complex (CPU + RAM). With P2P, and in combination with a switch board, the GPUs that are sitting next to each other can now talk to each other directly.
It’s not just a bandwidth thing either, it’s also a resource thing. CPU and RAM are very much shared resources, depending on them can lead to unpredictable performance because of the queue effect.
For completeness, on threadripper or server grade motherboards you could do the same without a switch board, at full bandwidth, but that’s out of scope for this thread.
Some complementary reading about the NVIDIA mod, if you want to know more about how it works.
Gotcha
Took me until I got P2P working to find out the setups I was benchmarking were flawed. I read somewhere it was a good idea to add the --enforce-eager flag in vLLM serve to save precious VRAM, what they didn’t mention is how this would tank token throughput. For MoE models setting --enforce-eager would take generation token throughput from about 100t/s to 30t/s on all the setups I tested.
Long story short, to be able to compare apples to apples I had to do all the benchmarks over again.
By the time, I already retired my AM4 components into a low power workstation. The use cases I had in mind for the MSI Ace board were development, all round number crunching and doing write ups, such as this one.
Instead of messing with both builds, I opted to switch data cables. You’ll see the workstation’s Geforce GTX 1660 Super pop up in the AM4 NVITOP screenshots.
Say hello to my little Qwen
Who da thunk that all these goodies would be coming from the East? Big thanks to all those enabling us, the plebs.
Qwen 3 Coder Next FP8
context length: 262144 natively
As mentioned, Coder Next is what motivated me to get started on this path. I’m still glad that it did, but I do want to share that there’s an element of luck involved in these kinds of learning opportunities.
For example, with Coder Next at FP8 on vLLM and CUDA graph enabled (read: without --enforce-eager), I only had enough VRAM left for half the native context length: 131072.
Luckily, vLLM also supports FP8 for the KV cache, which can be enabled with the arg --kv-cache-dtype fp8. In combination with --gpu-memory-utilization 0.94 you can still get full native context length out of it. To be sure, you could definitely do this, there’s nothing wrong with aligning the types between model weights and KV cache.
UPDATE: In his first comment below thr3e pointed out it’s best to keep KV cache at FP16 unless you really know what you’re doing. See also the vLLM docs - point 3 [Recommended] Calibration with a dataset (via llm-compressor).
However, since it’s sufficient for testing and doing these kinds of benchmarks, I left it at FP16 for consistency. It also delivered some interesting graphs.
Qwen 3.6 35B-3AB FP16
context length: 262144 natively
A model with less than half the parameters, but with full native context at FP16.
Qwen 3.6 27B FP16
context length: 262144 natively
An absolute beast of a 27B parameter model. However, not only did it tax the GPUs harder leading to increased temps, I wasn’t able to get the token throughput up to anywhere near the MoE models’. This is why, at least for the first couple of months, I’m sticking with the other models for further testing.
A sneak preview for comparison, on AM5 with P2P enabled:
Qwen 3.6 27B FP16
Qwen 3.6 35B-3AB FP16
An interesting tidbit about the Grafana dashboard’s Cache Utilization graph is that it shows the percentage of the model’s native cache size, not the actual size after vLLM serve. For Coder Next the output logs generated by the script show:
This model’s maximum context length is 131072 tokens. However, you requested 32000 output tokens and your prompt contains at least 99073 input tokens, for a total of at least 131073 tokens. Please reduce the length of the input prompt or the number of requested output tokens. (parameter=input_tokens, value=99073)
In the dashboard we can see the corresponding compactation at 12:31:00.
Qwen 3 Coder Next FP8
Can you dig it? On a 65 Watt Ryzen with only 6 cores and 32GB of RAM, we’re getting over 100 t/s for our 80B model at FP8 and even more for our 35B model at FP16.
As always, the provided stats and screenshots don’t tell the whole story. Different (generation) models feel and behave differently. If you’re just starting out, it’s a good idea to spend some time (and online tokens) with them before committing to anything.
Just to be clear, this is not intended to be a limited list. We could definitely use a couple more FP8 (MoE) models in the sub 80B range. Taking the context length considerations from the Qwen Next block into account, closer to 70B would probably be even better on a quad 3090 setup.
How about some context
I may have gone a little off script. You know the defining moment when you look into the abyss to find out how deep it really goes?
Just when I was about to move everything into the basement, I learned Jensen’s cake had 5 layers, so I had to up my game once more. Our switch board exposes 2 downstream ports (that even allow you to daisy chain multiple switch boards). I used those to level up to 6 3090’s, still without having to go through the root complex when P2P is enabled.
The idea was to increase the KV cache for Qwen3 Coder Next. Unfortunately TP6 is not a thing, Tensor Parallelism works with powers of two, so 2, 4, 8 GPUs.
You could technically use the extra GPUs to launch multiple vLLM instances on the same root complex, but that’s something I didn’t investigate further.
Full benchmarks
The indicated types are for the model weights only, the KV cache is kept at FP16 throughout all benchmarks.
AM4
AM5
AM5 with P2P
Closing thoughts
Everything in this domain is moving fast, so don’t pin yourself too much on the physical manifestation of these switch boards. The ones with dedicated PCIe slots are becoming a thing of the past, reserved for PCIe gen 4. Newer models use MCIO exclusively. As mentioned before, the SlimSAS counterparts (like shown below) may not be easy mode and come with trial and error.
The difference with the switch board I’ve shown, cause that one uses up- and downstream SlimSAS connections as well, is both the connection with and distance to the GPUs:
- The connections between the switch board and the GPUs are the physical PCIe slots on the switch board and do not use SlimSAS themselves.
- Depending on how you hook everything up, you can eliminate the distance all together. The distance can often also be made shorter than when you’re still in proximity to the main motherboard.
Last but not least, it also got plenty of juice, as mentioned here.
Is it for you?
It depends, on your use case (and your expectations). Staying in the NVIDIA eco system, just to drive my point home. You can go for the cheaper 3090’s from a couple of generations ago and I’m really hoping we can get at least a couple more of these high quality models out of them, but that’s not guaranteed.
If you’re thinking about using these in business, then there’s a lot of tinkering involved with little (promised) path forward. This is why it’s called Poor(er) man’s local AI. Still, in the end it’s not quite cheap either, so it’s good to be aware.
For an example of a (further from cheap) current gen build, have a look at The rig 3.0 ![]()
I hope you have a better idea of how these PLX switches, or switch boards in general, enable bigger models on consumer hardware.
What’s next?
Looking forward to seeing your budget builds ![]()











































































