Version: TrueNAS 26.0.0-MASTER-20260902-020152, kernel 6.18.48-production+truenas
Hardware: 2x AMD Radeon AI PRO R9700 (gfx1201) on one host bridge, ASRock Rack GENOAD8X-2T/BCM (EPYC Genoa)
Problem: ROCm multi-GPU workloads cannot use peer-to-peer between the two cards.
Evidence:
dmesg on every ROCm process start:
amdgpu 0000:83:00.0: Failed to map peer:0000:86:00.0 mem_domain:4 (and the reverse)
amd-smi topology: peer ACCESS DISABLED between the GPUs, link type PCIE, 2 hops
Both cards: 32G large BAR, 44-bit dma_mask_bits, same PCI root bus (pci0000:80),
no ACS request-redirect set anywhere on the paths
Kernel config: CONFIG_HSA_AMD=y, CONFIG_PCI_P2PDMA=y,
“# CONFIG_DMABUF_MOVE_NOTIFY is not set”, CONFIG_HSA_AMD_P2P absent
(the amdgpu.pcie_p2p module parameter does not exist either)
Impact/User Story
Any truenas users that want to use multiple AMD GPUs for LLM server hosting. Who wants to pay Anthropic/OpenAI when they can self host, which is the spirit of TrueNAS.
I’m in the same boat with almost the same hardware. It would be nice to at least get some acknowledgement about this but I’m not holding my breath, lately the iX people have been less than forthcoming with a lot of stuff.
To be honest, I am ready to dump Truenas, I don’t think the current direction spells anything good for people like us. I’ll just roll my own.
@etorix - Yes and no. If the kernel was built with it, but does not load it, then yes, you can load it. Or blacklist it.
However, my NAS, (running 25.10.7), says:
root@my_nas:/boot# grep CONFIG_DMABUF_MOVE_NOTIFY config-6.12.105-production+truenas
# CONFIG_DMABUF_MOVE_NOTIFY is not set
root@my_nas:/boot# grep CONFIG_HSA_AMD_P2P config-6.12.105-production+truenas
root@my_nas:/boot#
So, 25.10.7, (Kernel 6.12.105), was not built with CONFIG_DMABUF_MOVE_NOTIFY. Even on Kernel 6.18.57, (used on my desktop), it is clearly:
(EXPERIMENTAL)
│ This is marked experimental because we don't yet have a consistent
│ execution context and memory management between driver
And the second one, CONFIG_HSA_AMD_P2P does not exist in the kernel used on TrueNAS 25.10.7. (At least as far as I can tell…)
When iX decided to use Linux, I said that maintaining the Linux Kernel as home & free users wanted, was going to be time consuming. Even with the prior twice a year major releases, it still did not meet some user's wants / needs. Now with yearly major releases, it might even be worse.
Enterprise users only care if TrueNAS works on their iX supplied hardware.
Back to my saying:
There is no one True NAS to rule them all.
(Pun intended.)
My comment about Linux kernel 6.18 is for my personal desktop.
This is what I said about TrueNAS 25.10.7:
So an even older kernel.
And in someways you are right about having something enabled, but unused. On the other hand, their are times when just enabling a kernel feature is useless, unless there is userland programs or libraries specifically able to use that specific kernel feature.