RAM overclocking with IOMMU

Hello folks :wave:

Glad to finally join here after being a YouTube fan for years

I was wondering: from a hardware level - why can’t I enable IOMMU + AMD EXPO (6000MHZ modules)?

The context:

I know I shouldn’t be trying to run an overclocking rig and a virtualisation rig at the same time, but needs must and I’d love to squeeze max perf and utilisation out of my rig.

I use it for many purposes; work, leisure (gaming with GPU passthrough) and recently I decided to look into RAM overclocking with IOMMU enabled.

I’ve been running the rig on its baseline frequency for a while now, and at first when I tried to combine the two, the it would reset the IOMMU to disabled everytime. Some months and BIOS updates later — its the same. Hence reaching out for guidance. :smile:

The mobo I have is a Asrock X870E w/ R9 9950X
g.skill DDR5 PC5-48000C30 6000MHz 32GB x4. So my modules are fully uniform: same model and vendor.

I’d like to avoid discussions about “its a bad idea” without clear evidence as to why IOMMU fails and it being a bad idea. If someone has some pointers of places to tweak/look into — I’d greatly appreciate it!

Thanks!

Welcome to the Forum!

There is no hardware reason for that, it’s just an ASRock BIOS bug.

ASRock regularly messes their BIOSes up, sometimes it’s the ECC functionality, sometimes something else.

Instead of focussing on increasing their BIOS and Firmware quality (and timely updates), ASRock prefers to launch yet another motherboard variant with 13 instead of 12 USB ports.

(Ramblings from a disappointed ASRock and ASRock Rack customer)

In your case you should just notify ASRock’s Tech Support about this bug.

Edit: Sorry about the ramblings: Last week I “had to” buy ASRock systems again and of course have to beg them to release updated BIOSes to address various issues.

4 Likes

Damn, thanks for your PoV aBav!… if anyone here has AMD EXPO + IOMMU enabled with another vendor board (or with Asrock) I’d love to know the vendor and steps they took to configure it!

Will definitely open a support case too.

1 Like

Have you tried entering the memory values the EXPO profile uses manually into the memory frequency and timings BIOS menus?

Would be my first step.

Be aware that using all 4 possible memory slots on AM5 (2 DIMMs per memory channel) is very difficult, that’s why the default DDR5 frequency then is DDR5-3600 (!). With recent AMD AGESA updates which are part of every motherboard’s BIOS the situation has significantly improved but it’s still no cake walk.

Unfortunately I can’t say anything about using predefined EXPO profiles; I’ve only been using JEDEC standard ECC memory sticks which don’t have any EXPO profiles so any overclocking is done in a strictly manual fashion.

(I’m an ECC fetishist)

PS: To make sure that your memory operates without any errors be sure to use a proper memory error testing program regularly and AFTER EVERY TIME you changed a memory setting no matter how small or insignificant it seems.

I prefer PassMark Memtest, there is a free version: MemTest86 - Download now!

4 Likes

You raised extremely good points.

I had a re-think: Let’s peel everything back. So I tried:

  • UEFI Factory Reset
  • Enable EXPO 6000MHZ profile (Failed) :stop_sign:
  • Enable 4800 MHZ profile :white_check_mark:

So I think I need to open a case with Asrock and potentially g.skill :upside_down_face: . The issue appears to be with overclocking the modules themselves…

Although, I’ve spotted Asrock released another update 3.30… so lets try that!

edit

I’m actually wondering if the Asrock Firmware is ‘holding’ other changes because they happen at the same time as EXPO. Scuppering my troubleshooting.

I’ve updated the Firmware, and now I’m disabling some training features (DDR5 Nitro (?)) at the same time as disabling EXPO, I think with this approach the Disable of DDR5 Nitro will actually be applied. I suspect it’s not being applied when batched.

I’m gonna call it here and open a support case with Asrock. For future travellers:

  • Updated to 3.30
  • Tried EXPO on its own :stop_sign: failed
  • Disable DDR5 Nitro, and then EXPO 6000MHZ profile :stop_sign: failed
  • Reverted to 4800MHZ profile, enabled SVM, SR-IOV and IOMMU :white_check_mark:

Time to write some emails… I’ll come back to this post when I have an update. Thanks @aBav.Normie-Pleb for the suggestinos! if I get this think working the first on the test list is memtest86+ :slight_smile:

Have a good one!

1 Like

My trip concludes. Got an email back from Asrock, to be fair they made me aware of something new today: Memory rank with DDR5. I knew this was a thing with Server Memory, I should have checked consumer RAM.

Annoyingly, g.skill do not clearly display the memory rank on their website: F5-6000J3036G32GX2-TZ5NRW - Specification - G.SKILL International Enterprise Co., Ltd.

Nor does the store where I got it.

TLDR; 32GB RAM is 4x2R which is capped at DDR5-3600, its the max my CPU can support: https://www.amd.com/en/products/processors/desktops/ryzen/9000-series/amd-ryzen-9-9950x.html. See connectivity.

Asrock are right, and I’m a little annoyed memory manufacturers don’t make this clearer!

If CPUs can’t run above 3600 with 2R or 1R RAM in a x4 configuration, that feels a little misleading.

Isn’t this AMD’s fault rather than the memory manufactures though? since any time 4 DIMMs are used the supported frequency reduces regardless of the memory rank or organization.

Had 4 memory slots populated on mine and it did run expo no problem. It’s probably silicon lotery but on that side it seems less frequent on Intel’s side.

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.