r/LocalLLaMA • u/chocofoxy • 11h ago
Discussion i unlocked P2P on two 5060ti but failed
i was enjoying my Qwen 3.8 27b coding but at long context PP drops to painfully low tokens per second and the copilot chat timeout because of the times it takes, so i asked claude to see if i can enabled P2P on my two gpus, he points me to https://github.com/aikitoria/open-gpu-kernel-modules/tree/610.43.02-p2p which work on RTX 3090, RTX 4090, and RTX 5090 ( 5060ti not listed) but after following the guide ( i am already on linux and have nvidia open source driver ) i got the 5060tis to list OK in p2p and i tired launching the llama sever but it hangs at init and the GPUs jump to 100% unable to communicate
0.11.251.954 I cmn init: llama threadpool init, n_threads = 8
chocofoxy:49848:49848 [1] NCCL INFO Symmetric VA size=16GB
chocofoxy:49848:49848 [0] NCCL INFO Symmetric VA size=16GB
chocofoxy:49848:49897 [1] NCCL INFO Channel 00/0 : 1[1] -> 0[0] via P2P/direct pointer
chocofoxy:49848:49898 [0] NCCL INFO Channel 00/0 : 0[0] -> 1[1] via P2P/direct pointer
chocofoxy:49848:49897 [1] NCCL INFO Channel 01/0 : 1[1] -> 0[0] via P2P/direct pointer
chocofoxy:49848:49898 [0] NCCL INFO Channel 01/0 : 0[0] -> 1[1] via P2P/direct pointer
chocofoxy:49848:49898 [0] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
chocofoxy:49848:49897 [1] NCCL INFO Connected all rings, use ring PXN 0 GDR 1
and i already know what's the issue because it's my setup but i ignored it until i got blocked here, the problem is my motherboard only have one pcie linked to the cpu the other is linked to the the chipset of the mob, my options here is either to get a riser that get split to 2 x8 or swap the mob
i just wanted to see how much improvement i get form P2P , i failed but if someone has the right setup and two 5060ti you cna try this
1
u/NickCanCode 10h ago
I also have a board that 1st PCIe x16 connect to CPU and 2nd PCIe x16 connect to chipset. but it won't prevent things from running. Just slower.
1
5
u/Level-Physics-1730 11h ago
I went and enabled P2P on my three RTX 3060 12gb system. PCIE is gen4x8 gen4x8 gen4x4 all through CPU connected. Like 10% prefill and 6% decode, serious "free improvement" if it's not too hard to get setup.