Turning Off the IOMMU on Strix Halo Bought Me Almost Nothing
Several guides say one firmware switch makes Strix Halo boxes much faster at local AI. I tested it properly on one of mine. My main engine didn't move, one backend gained up to 6%, and the switch broke the cable between my two boxes.
A handful of guides for my kind of computer say that switching off one memory-protection feature makes local AI models noticeably faster, by as much as a third in one write-up. I run two of these machines as a test lab, so I measured it properly on one of them, the same afternoon, with the switch on and then off. My main model didn't change at all. One of the two other ways I run models got a few percent faster. And flipping the switch in the firmware silently broke the high-speed cable link between my two boxes until I flipped it back. It stays on.
The claim
The setting is the IOMMU, the part of the chip that translates and fences off memory addresses for devices. On a Linux box you can switch it off with one kernel parameter, amd_iommu=off, or with a switch in the firmware setup. Here is what I read before touching anything:
- The Frontier Lab ran a careful reboot A/B in July: dense prompt processing went from 255 to 351 tokens a second, plus 37.5%, on llama.cpp's Vulkan backend. Generation moved about 1%.
- The Strix Halo toolboxes site recommends
amd_iommu=offand cites 5 to 12%. I read the site's summary, not the benchmark it links to. - Donato Capitella's video, sponsored by AMD, shows 10 to 18% faster prefill. That figure comes from four changes made together, so the IOMMU's share isn't separated out.
- A setup guide on GitHub says leave it on unless you know you don't need the NPU, suspend or clustering, and records about 6% on memory reads in one desktop test.
The costs were listed too:
- the NPU stops working;
- USB and Thunderbolt devices lose their DMA protection, which the kernel's Thunderbolt documentation names as the thing standing between a plugged-in device and all of your memory;
- VMs lose their isolation.
My boxes are headless inference machines, and I'd already spent a week measuring what they can do. If the speed was real, I'd take that trade.
How I measured it
The box was strix2, one of the two Bosgame M5s that arrived the week before: a Ryzen AI Max+ 395, a Radeon 8060S and 128 GB of shared memory, running Omarchy with ROCm 10.2. Before the test it ran with the IOMMU on in passthrough mode, iommu=pt. In that mode the GPU's memory accesses already skip translation; only the SD card reader still gets translated.
I measured three engines:
- Halogen 0.21, the engine that serves my main model, Qwen3.8 Flash-Next. I used its own speed figures, with prompts of about 2,000, 9,000 and 37,000 tokens. Each prompt got a unique prefix so the prompt cache couldn't help.
- llama.cpp on ROCm and on Vulkan, build b12779. I ran a dense model (Qwen3.8 27B) and a mixture-of-experts model (Gemma 4 26B-A4B), with flash attention on.
- Three runs of everything, under the lab's GPU lock, with nothing else on the GPU. The GPU held about 2,900 MHz and 135 to 139 W on both sides.

strix2's firmware CPU Configuration page on 30 November 2026 at about 2:12 pm Central, with IOMMU (AMD-Vi) set to Disabled for the "off" half of the test. Photographed on the monitor I plugged in for the occasion.
The numbers

The comparison as a Terminal window printed it on 30 November 2026 at 3:31 pm Central, read straight from the saved benchmark files. Speeds are tokens a second; the last column is "off" against "on".
| engine | prefill, off vs on | generation, off vs on |
|---|---|---|
| Halogen | โ0.2% to +0.7% | +0.3% to +0.9% |
| llama.cpp, ROCm | โ1.1% to +0.7% | +0.1% |
| llama.cpp, Vulkan | +1.7% to +3.4% | +3.5% to +5.9% |
Published Strix Halo IOMMU claims plotted against the highest warm gain measured on strix2 on 30 November 2026.
Animated summary of the 30 November 2026 A/B sweeps across Halogen, llama.cpp ROCm, and Vulkan on strix2.
Halogen didn't move, and nor did llama.cpp on ROCm. Anything inside about 1% is noise on these boxes. Vulkan picked up a real but small 2 to 6%. Nothing came anywhere near plus 37%.
My guess at why, which I haven't proved: my dense model on Vulkan already prefills at 416 tokens a second with the IOMMU on, well past the 351 the Frontier Lab got with it off, on an older build and an older kernel. Whatever overhead they were measuring doesn't seem to exist on this build.
I nearly published the wrong answer. My first "off" run came out 3 to 5% slower across the board, which would have made a nice contrarian headline. It was just Halogen being freshly loaded after a reboot. One warm-up pass closed the gap. The lesson I keep relearning: compare warm runs taken close together, or don't compare.
What switching it off cost me, and what went wrong anyway
Switching it off costs what the guides say it does. The NPU disappeared, and both Thunderbolt ports reported no DMA protection. That's the whole price of the kernel parameter. The afternoon still had three surprises, and only one of them was the IOMMU's fault.
The disk wouldn't open itself on the first reboot. Omarchy encrypts the whole drive by default, and the Omarchy manual says so plainly. I'd forgotten. strix2 is supposed to open its disk with a key held in its security chip, but the chip refused: the key no longer matched the firmware state it had been bound to. That reboot changed only the kernel parameter, which the chip doesn't measure, so the key was most likely stale from an earlier setup. Either way, the box sat at a passphrase prompt with no monitor attached. I re-enrolled the key, and the next boots opened the disk on their own.

The disk passphrase prompt on strix2 on 30 November 2026 at 2:07 pm Central. With no monitor attached, this looks exactly like a box that never came back.
My keyboard couldn't type at the next prompt. It was in its Mac mode. Switching it to Windows mode fixed it, which is the kind of thing you only learn standing in front of a headless box.
With the firmware switch off, both Thunderbolt links between my boxes stopped passing traffic. The two machines are joined by two USB4 cables. With the IOMMU disabled in firmware, strix2's two Thunderbolt controllers came up driving each other's ports. Each cable's network settings then faced the wrong peer, and nothing crossed either link. The packet counters gave it away: one box's first cable was sending straight into the other box's second. Turning the firmware switch back on put everything back. I didn't test the links on the boot that had only the kernel parameter changed, so I can't tell you whether that one is safe for them.
What I'd tell you
If you mostly run llama.cpp on Vulkan, amd_iommu=off might buy you a few percent. If you try it, use the kernel parameter, leave the firmware switch alone, and check your Thunderbolt links afterwards. If you run ROCm, or an engine like Halogen that allocates its memory up front, I measured nothing worth the NPU and the DMA protection.
Measure your own box before you copy a tuning tip: warm, on the same day, a few runs each. Mine stays on. The full method, all 16 llama.cpp runs and the Halogen result files are in the tuning record in the lab's public repository.
Sources
The claims I tested (all read 30 November 2026):
- The Frontier Lab, "Turning Off the IOMMU Made My Dense Model 37% Faster", the controlled Vulkan A/B and its caveats.
- Strix Halo AI Toolboxes, the kernel parameter table and its 5 to 12% note. I didn't open the GitHub issue it cites.
- Donato Capitella, "How I Configure the Ryzen AI Halo (Strix Halo) for 10-15% Faster Local Inference". I read the description and transcript; the video is AMD-sponsored.
- hogeheer499, AMD Strix Halo setup guide, for the case for leaving it on.
Costs and background:
- Linux kernel documentation, USB4 and Thunderbolt, on the IOMMU as DMA protection.
- Omarchy manual, Getting Started, on full-disk encryption being the default.
My own data: the tuning record and its files, measured on strix2 on 30 November 2026. Not verified: any engine other than these three, strix1, and anything run with the IOMMU off for longer than an afternoon.
Follow-ups & mentions
Eternal Darkness Hits 60 on Steam Deck, IOMMU Tip Fails
My Eternal Darkness port ran at 60 frames a second on a real Steam Deck, and a popular speed tip for local AI boxes measured as almost nothing.
Bosgame M5 Gets Real Speeds, Butcher Bay Gets Game Mode
My Bosgame M5 completed 32 local AI speed benchmarks with ROCm and Vulkan, while Butcher Bay gained Apple Game Mode and crisp scaling.
Keep reading
BenchmaXXer Gets a Write Code Page and Phone Controls
My AI lab dashboard now lets me write and preview code with any of 23 models, run terminals side by side, and use both from a phone.
DeepSeek Harness Shows Which Strix Box Is Working
The model picker in DeepSeek Harness now names which of my two lab computers is serving each loaded model, and refreshes without restarting running work.
AI Lab Finds Vulkan Writes Faster, ROCm Reads Faster
I measured three local AI models on one lab computer with two graphics drivers, and the winner depends on whether the job is reading or writing.




