如何防止 INFINIBAND CREDIT LOOPS

2024-09-12 10:49

InfiniBand InfiniBand

InfiniBand (IB) credit loopscredit loops

1credit loops

1.1 credit

HCA Switch credit (VL)

credit VL VL VL

VL

VL VL creditcredit VL creditcredit

HCA IB credit CPU HCA credit使

fabric S P X N VL X P S VL X VL X credit VL X fabricfabric HCA HCA

(HOQ) HCA fabric IB

1.2 credit loops

InfiniBand credit loops HOQ credit loops InfiniBand

credit loops

image.png


  • Switch ASIC

  • (HCA) 4 HCA

  • Minhop

  • A C

  • B D

  • C A

  • E B

IB

D B

  • HCA D 4

  • 4 3

  • 3 2 HCA C

  • 2 HCA B A->B->C 1

  • 1 4 HCA D E

HCA D 使

IB credit loops

  • VL

1.3 IB fabriccredit loops

IB fabricfabrictorus, mesh, and hypercube IB L2spine/core 2 Clos-3

Clos-3 fabric 4 credit loops

image.png

2credit loops

credit loops IB fabricfabriccredit loops

credit loops使


2.1

credit loops

image.png

a d

  1. S2 S3 credit

  2. S2 S4 3 IB 使fabric使 Switch VL credit

  3. S2 S1 S3 3 B S2 S33 S2 A <-> B C S4A <-> B C S1 S3 3 4

  4. 使Up/DownMinhop S1使Up/Down S2->S3->S4 S4->S3->S2 / InfiniBand


credit loops
  • 便

2 (Clos-3) fabric L2 credit loops Clos-3 X Y

image.png

Clos-3 fabric L2 IB L2 使 L1 VPI

2.2 使

使 IB

  • (minhop)

  • / (updn)

  • ftree


Minhop credit loops IB Minhop Clos-3 ASICcredit loopsMinhop Clos-3

Up/Down
  • credit loops

  • IB

  • 使IB


使Up/Down使 SM fabricping Up/Down

Up/Down Up/Down Fat Tree 线fabric up/Down Up/Down

Up/Down Fat Tree 使 UP/Down

2.3

DOR Torus2QoS 2d 3D credit loops